Skip to content

Commit

Permalink
fix infra
Browse files Browse the repository at this point in the history
  • Loading branch information
javierblancoNS committed Dec 24, 2021
1 parent 8520d98 commit b5ba78e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ build_backend_prod:

deploy_dev:
stage: deploy_dev
image: cytopia/ansible:latest-tools
image: cytopia/ansible:latest-infra
script:
- git clone https://${GL_USER}:${GL_TOKEN}@gitlab.com/natural-solutions/ns-ansible-infrastructure.git
- cd ns-ansible-infrastructure
Expand All @@ -106,11 +106,10 @@ deploy_dev:

deploy_prod:
stage: deploy_prod
image: cytopia/ansible:latest-tools
image: cytopia/ansible:latest-infra
script:
- git clone https://${GL_USER}:${GL_TOKEN}@gitlab.com/natural-solutions/ns-ansible-infrastructure.git
- cd ns-ansible-infrastructure
- apt install -y python3-docker
- echo ${VAULT_PASSWORD_KEY} > password-file
- ansible-vault decrypt --vault-password-file password-file k
- ansible-playbook -i hosts -l ecoteka_prod --vault-password-file password-file deploy.yml
Expand Down

0 comments on commit b5ba78e

Please sign in to comment.