From 2bb325e8a8156ed73b020b811e45f439e5a0a380 Mon Sep 17 00:00:00 2001 From: "gioacchino.vino" <gioacchino.vino@infn.it> Date: Wed, 13 Dec 2023 09:23:25 +0100 Subject: [PATCH] Added new service tests --- tests/test-elasticsearch.yml | 17 +++++++++++++++++ tests/test-jupyter-cygno.yml | 19 +++++++++++++++++++ tests/test-jupyter-matlab.yml | 19 +++++++++++++++++++ tests/test-jupyter-ml-infn.yml | 19 +++++++++++++++++++ tests/test-synch-and-share.yml | 17 +++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 tests/test-elasticsearch.yml create mode 100644 tests/test-jupyter-cygno.yml create mode 100644 tests/test-jupyter-matlab.yml create mode 100644 tests/test-jupyter-ml-infn.yml create mode 100644 tests/test-synch-and-share.yml diff --git a/tests/test-elasticsearch.yml b/tests/test-elasticsearch.yml new file mode 100644 index 0000000..df17b96 --- /dev/null +++ b/tests/test-elasticsearch.yml @@ -0,0 +1,17 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install --force git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/single-vm/elasticsearch_kibana.yaml + n_timeout_ticks: 90 + inputs: | + '{ "os_distribution":"almalinux", "os_version": "9", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' \ No newline at end of file diff --git a/tests/test-jupyter-cygno.yml b/tests/test-jupyter-cygno.yml new file mode 100644 index 0000000..792003a --- /dev/null +++ b/tests/test-jupyter-cygno.yml @@ -0,0 +1,19 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install --force git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/jupyter/cygno_experiment.yaml + n_timeout_ticks: 90 + inputs: | + '{ "enable_monitoring": "true", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' + endpoints_to_scan: | + jupyter_endpoint,grafana_endpoint \ No newline at end of file diff --git a/tests/test-jupyter-matlab.yml b/tests/test-jupyter-matlab.yml new file mode 100644 index 0000000..c58289f --- /dev/null +++ b/tests/test-jupyter-matlab.yml @@ -0,0 +1,19 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install --force git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/jupyter/jupyter_matlab.yaml + n_timeout_ticks: 90 + inputs: | + '{ "enable_monitoring": "true", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' + endpoints_to_scan: | + jupyter_endpoint,grafana_endpoint \ No newline at end of file diff --git a/tests/test-jupyter-ml-infn.yml b/tests/test-jupyter-ml-infn.yml new file mode 100644 index 0000000..186a382 --- /dev/null +++ b/tests/test-jupyter-ml-infn.yml @@ -0,0 +1,19 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install --force git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/jupyter/ml_infn.yaml + n_timeout_ticks: 90 + inputs: | + '{ "enable_monitoring": "true", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' + endpoints_to_scan: | + jupyter_endpoint,grafana_endpoint \ No newline at end of file diff --git a/tests/test-synch-and-share.yml b/tests/test-synch-and-share.yml new file mode 100644 index 0000000..162d70d --- /dev/null +++ b/tests/test-synch-and-share.yml @@ -0,0 +1,17 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install --force git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/single-vm/cloud_storage_service.yaml + n_timeout_ticks: 90 + inputs: | + '{ "os_distribution":"almalinux", "os_version": "9", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' \ No newline at end of file -- GitLab