File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11apiVersion : tekton.dev/v1
22kind : Pipeline
33metadata :
4- annotations :
4+ # annotations:
55# build.appstudio.openshift.io/repo: https://github.com/openshift/multiarch-tuning-operator?rev={{revision}}
6- build.appstudio.redhat.com/commit_sha : ' {{revision}}'
6+ # build.appstudio.redhat.com/commit_sha: '{{revision}}'
77# build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
88# build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99# pipelinesascode.tekton.dev/max-keep-runs: "3"
2020 # this snapshot should be produced by the build pipeline and contain the containerImage we want to test with rapidast
2121 - name : SNAPSHOT
2222 type : string
23- - name : revision
24- type : string
2523 tasks :
2624 # we need an clean environment where we have permission to deploy k8s resources
2725 # this env will only provide namespace-admin, not cluster-admin. For components
@@ -134,7 +132,7 @@ spec:
134132 value : https://github.com/openshift/multiarch-tuning-operator
135133 # TODO change revision after merge
136134 - name : revision
137- value : ' {{revision}} '
135+ value : " $(context.pipelineRun.annotations['build.appstudio.redhat.com/commit_sha']) "
138136 - name : pathInRepo
139137 value : .tekton/rapidast-check.yaml
140138 params :
You can’t perform that action at this time.
0 commit comments