From 32f2b50d4f16fe2d49251b82184492ef3a7b6405 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 10 Oct 2024 12:24:30 -0700 Subject: [PATCH] Add file matchers to image build jobs This will allow us to make changes to provider configuration without rebuilding images every time. Add the noop job for the cases where no other job would run. Change-Id: Id9de7758ddeb675fb298fbb0edf4fa398e8bec71 --- zuul.d/jobs.yaml | 4 ++++ zuul.d/project.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index d7d03fc..d321221 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -16,6 +16,10 @@ - playbooks/opendev-build-diskimage-base/pre.yaml post-run: - playbooks/opendev-build-diskimage-base/post.yaml + files: + - 'dib-elements/.*' + - 'playbooks/opendev-build-diskimage-base/.*' + - 'roles/make-source-repositories-cache/.*' vars: # TODO(corvus): This will eventually be supplied by Zuul build_diskimage_formats: diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index a7e084a..54b4efb 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -1,9 +1,11 @@ - project: check: jobs: + - noop - opendev-build-diskimage-debian-bullseye gate: jobs: + - noop - opendev-build-diskimage-debian-bullseye: secrets: - name: image_upload_secret