File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- # An example Pipeline to use in an IntegrationTest, this is for a component named "test-component"
2- # which would be built an a separate build pipeline
31apiVersion : tekton.dev/v1
4- kind : Pipeline
2+ kind : PipelineRun
53metadata :
64 name : rapidast-integration-test
5+ namespace : multiarch-tuning-ope-tenant
76spec :
87 params :
98 # this SNAPSHOT should be produced by the build pipeline and contain the containerImage we want to test with rapidast
109 - name : SNAPSHOT
1110 type : string
12- # - name: revision
13- # value: '{{revision}}'
1411 tasks :
1512 # we need an clean environment where we have permission to deploy k8s resources
1613 # this env will only provide namespace-admin, not cluster-admin. For components
@@ -123,7 +120,7 @@ spec:
123120 value : https://github.com/openshift/multiarch-tuning-operator
124121 # TODO change revision after merge
125122 - name : revision
126- value : main
123+ value : " $(context.pipelineRun.annotations['pipelinesascode.tekton.dev/sha']) "
127124 - name : pathInRepo
128125 value : .tekton/rapidast-check.yaml
129126 params :
You can’t perform that action at this time.
0 commit comments