Skip to content

Commit

Permalink
ci: add nginx image to updatebot
Browse files Browse the repository at this point in the history
  • Loading branch information
jobcespedes committed Aug 28, 2021
1 parent bb4eb50 commit 393dd97
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 393dd97

Please sign in to comment.