diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb8e224766094d33ede5b810c2200cbf67756a7b..a1715c6e25f980fe104c7a5fa94cd4466144faa8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,8 +51,6 @@ test_backend: upload_installer: stage: deploy - tags: - - shell tags: - shell only: @@ -60,3 +58,13 @@ upload_installer: script: - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file install.sh "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/TASMAN/latest/install.sh"' - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file install-jdk8.sh "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/TASMAN/latest/install-jdk8.sh"' + +upload_tagged_installer: + stage: deploy + tags: + - shell + rules: + - if: '$CI_COMMIT_TAG != null' + script: + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file install.sh "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/TASMAN/${CI_COMMIT_TAG}/install-${CI_COMMIT_TAG}.sh"' + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file install-jdk8.sh "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/TASMAN/${CI_COMMIT_TAG}/install-${CI_COMMIT_TAG}-jdk8.sh"' diff --git a/config.properties.example b/config.properties.example index 1d37d00f1a1ad183f363a7add1f5f58e7c7452cd..15f0db4623a62c50831e33f97d36a6198ff3baa2 100644 --- a/config.properties.example +++ b/config.properties.example @@ -1,2 +1,2 @@ ucd_service_url=http://ia2-vo.oats.inaf.it/ucd/ -config_directory=/home/user/.tasman \ No newline at end of file +config_directory=/etc/tasman