Trigger gerrit image promotion when the gerrit image jobs update
We often need to update gerrit image build details that only live in the job specification. For example tag or branch versions of gerrit and related repos. When we do this if we don't also do a noop update to our Dockerfiles the promotion job doesn't run for these images because we can't do the implicit file match in the promotion (deploy) pipeline. Fix this by explicitly matching the job config file in our jobs so that when we update the gerrit jobs we also run the gerrit image promotion jobs. We also ensure the system-config-run-review and infra-prod-service-review jobs are triggered when the docker image jobs update. This ensures we actually test the resulting images and then perform potentially necessary deployment actions before they are pulled into use. Change-Id: Id0c51818cd1e01bd16a79ab0c0f9172e844376b8
This commit is contained in:
parent
763facc8e4
commit
47d2e07d94
@ -21,6 +21,7 @@
|
||||
- docker/gerrit/base/
|
||||
- roles/bazelisk-build/
|
||||
- playbooks/zuul/gerrit/
|
||||
- zuul.d/docker-images/gerrit.yaml
|
||||
|
||||
- job:
|
||||
name: system-config-upload-image-gerrit-base
|
||||
@ -112,6 +113,7 @@
|
||||
- testinfra/test_gerrit.py
|
||||
- jeepyb/
|
||||
- roles/bazelisk-build/
|
||||
- zuul.d/docker-images/gerrit.yaml
|
||||
|
||||
- job:
|
||||
name: system-config-upload-image-gerrit-3.8
|
||||
|
@ -425,6 +425,7 @@
|
||||
- playbooks/roles/install-docker/
|
||||
- playbooks/roles/iptables/
|
||||
- playbooks/roles/gerrit/
|
||||
- zuul.d/docker-images/gerrit.yaml
|
||||
|
||||
- job:
|
||||
name: infra-prod-service-refstack
|
||||
|
@ -1074,6 +1074,7 @@
|
||||
- playbooks/zuul/bootstrap-test-review.yaml
|
||||
- playbooks/zuul/test-review.yaml
|
||||
- playbooks/zuul/upgrade-review.yaml
|
||||
- zuul.d/docker-images/gerrit.yaml
|
||||
|
||||
- job:
|
||||
name: system-config-run-review-3.8
|
||||
|
Loading…
Reference in New Issue
Block a user