Skip to content
Snippets Groups Projects
Commit 7f29562f authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Replace AWX username/password with oauth token

JIRA INFRA-526
parent 18f535d2
No related branches found
No related tags found
No related merge requests found
...@@ -87,8 +87,7 @@ deploy-staging: ...@@ -87,8 +87,7 @@ deploy-staging:
- > - >
tower-cli job launch tower-cli job launch
-h torn.tn.esss.lu.se -h torn.tn.esss.lu.se
-u ${ANSIBLE_AWX_USERNAME} -t ${TOWER_OAUTH_TOKEN}
-p ${ANSIBLE_AWX_PASSWORD}
-J deploy-csentry-staging -J deploy-csentry-staging
-e "csentry_tag=$CI_COMMIT_REF_NAME" --monitor -e "csentry_tag=$CI_COMMIT_REF_NAME" --monitor
environment: environment:
...@@ -119,15 +118,14 @@ pages: ...@@ -119,15 +118,14 @@ pages:
deploy-production: deploy-production:
<<: *runner_tags <<: *runner_tags
stage: deploy stage: deploy
image: registry.esss.lu.se/ics-docker/tower-cli:3.2 image: registry.esss.lu.se/ics-docker/tower-cli:3.3
before_script: [] before_script: []
dependencies: [] dependencies: []
script: script:
- > - >
tower-cli job launch tower-cli job launch
-h torn.tn.esss.lu.se -h torn.tn.esss.lu.se
-u ${ANSIBLE_AWX_USERNAME} -t ${TOWER_OAUTH_TOKEN}
-p ${ANSIBLE_AWX_PASSWORD}
-J deploy-csentry -J deploy-csentry
-e "csentry_tag=$CI_COMMIT_TAG" --monitor -e "csentry_tag=$CI_COMMIT_TAG" --monitor
environment: environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment