Skip to content

Commit 60a4348

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 60a4348

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.tekton/lightspeed-stack-push.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: tekton.dev/v1
22
kind: PipelineRun
33
metadata:
44
annotations:
5+
build.appstudio.openshift.io/build-nudge-files: "openshift/lightspeed-stack.yml"
56
build.appstudio.openshift.io/repo: https://github.com/lightspeed-core/lightspeed-stack?rev={{revision}}
67
build.appstudio.redhat.com/commit_sha: '{{revision}}'
78
build.appstudio.redhat.com/target_branch: '{{target_branch}}'

0 commit comments

Comments
 (0)