Skip to content

Commit a84fe82

Browse files
committed
RSPEED-3082: add build-nudge-files annotation for cross-repo nudging
The default nudge file pattern (.*Dockerfile.*, .*.yaml, .*Containerfile.*) does not match .yml files. Since lscore-deploy uses openshift/lightspeed-stack.yml, the nudge controller silently skips it. This annotation explicitly targets the correct file so the nudge controller can find and update the image digest reference after each push build. Signed-off-by: Ellis Low <elow@redhat.com>
1 parent f1c6cec commit a84fe82

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.tekton/lightspeed-stack-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apiVersion: tekton.dev/v1
22
kind: PipelineRun
33
metadata:
44
annotations:
5+
# Cross-repo nudge: after each push build, the Konflux nudge controller
6+
# opens an MR in lscore-deploy (gitlab.cee.redhat.com/rhel-lightspeed/lscore-deploy)
7+
# to bump the image digest in openshift/lightspeed-stack.yml. See RSPEED-3082.
8+
build.appstudio.openshift.io/build-nudge-files: "openshift/lightspeed-stack.yml"
59
build.appstudio.openshift.io/repo: https://github.com/lightspeed-core/lightspeed-stack?rev={{revision}}
610
build.appstudio.redhat.com/commit_sha: '{{revision}}'
711
build.appstudio.redhat.com/target_branch: '{{target_branch}}'

0 commit comments

Comments
 (0)