From 1ec8e2d2437acf3acd744920104caf8382d48a26 Mon Sep 17 00:00:00 2001 From: jmarchel Date: Tue, 19 Dec 2023 19:30:11 +0100 Subject: [PATCH] Create promote container image role Change-Id: I9b4ece6085ecbf76b6f56ad29b816ea8a0731868 --- playbooks/promote-container-image.yaml | 3 +++ zuul.d/jobs.yaml | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 playbooks/promote-container-image.yaml diff --git a/playbooks/promote-container-image.yaml b/playbooks/promote-container-image.yaml new file mode 100644 index 0000000..715f3a2 --- /dev/null +++ b/playbooks/promote-container-image.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - nebulous-promote-container-image diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index c44b3b0..031cf36 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -19,6 +19,9 @@ description: Promote previously uploaded container images. vars: *image_vars pre-run: playbooks/container-image-pre.yaml + run: playbooks/promote-container-image.yaml + roles: + - zuul: nebulous/zuul-jobs post-review: true secrets: - name: container_registry_credentials