diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0620ba35c05c41b65924081b3dc5b0a3c6637b24..2dcd8d0f763f2ac277cea8870845ce2509be294f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,17 +53,22 @@ release-image: deploy-staging: <<: *runner_tags stage: deploy - before_script: - - apk add --update curl - - curl -s -o /tmp/functions.sh ${ICS_SHARED_GITLAB_CI_FUNCTIONS} - - . /tmp/functions.sh + image: registry.esss.lu.se/ics-docker/tower-cli:3.2 + before_script: [] script: - - launch_job_template deploy-csentry-staging + - > + tower-cli job launch + -h icsv-awx01.esss.lu.se + -u ${ANSIBLE_AWX_USERNAME} + -p ${ANSIBLE_AWX_PASSWORD} + -J deploy-csentry-staging + -e "csentry_tag=$CI_COMMIT_REF_NAME" --monitor environment: name: staging url: https://csentry-test.esss.lu.se only: - master + - tags pages: <<: *runner_tags