Skip to content

Commit

Permalink
Merge pull request krestomatio#71 from krestomatio/develop
Browse files Browse the repository at this point in the history
ci: add nginx image to updatebot
  • Loading branch information
jobcespedes authored Aug 28, 2021
2 parents bb4eb50 + 393dd97 commit 86fbcc0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .ansible-ci/templates/updatebot-m4e.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,14 @@ spec:
postgres_image='{{ hostvars['postgres'].state_yml_repo_digest }}'
sed -i \
"s#^postgres_image:.*#postgres_image: ${postgres_image//@/\\@}#" \
roles/v1alpha1/m4e/m4e/defaults/main/postgres.yml
roles/v1alpha1/database/postgres/defaults/main/postgres.yml
- command:
# update Nginx image and its tag
name: bash
args:
- -c
- |
nginx_image='{{ hostvars['nginx'].state_yml_repo_digest }}'
sed -i \
"s#^nginx_image:.*#nginx_image: ${nginx_image//@/\\@}#" \
roles/v1alpha1/web/nginx/defaults/main/nginx.yml

0 comments on commit 86fbcc0

Please sign in to comment.