Skip to content

Commit 4e7a063

Browse files
committed
podvm-builder: use openshift/cloud-api-adaptor for CAA sources
Our builds from Konflux need to use our fork under the openshift org when pulling the sources that are shipped in the podvm-builder image. Doing that as environment variable during build, so that we don't need to modify the Dockerfile. Signed-off-by: Julien Ropé <[email protected]>
1 parent 2fe2966 commit 4e7a063

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.tekton/build-args.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CAA_SRC=https://github.com/openshift/cloud-api-adaptor
2+
CAA_REF=osc-release
3+

.tekton/osc-podvm-builder-pull-request.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ spec:
3131
value: Dockerfile.podvm-builder
3232
- name: path-context
3333
value: config/peerpods/podvm
34+
- name: build-args-file
35+
value: '.tekton/build-args.env'
3436
pipelineSpec:
3537
description: |
3638
This pipeline is ideal for building container images from a Containerfile while reducing network traffic.

.tekton/osc-podvm-builder-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ spec:
2727
value: Dockerfile.podvm-builder
2828
- name: path-context
2929
value: config/peerpods/podvm
30+
- name: build-args-file
31+
value: '.tekton/build-args.env'
3032
pipelineSpec:
3133
description: |
3234
This pipeline is ideal for building container images from a Containerfile while reducing network traffic.

0 commit comments

Comments
 (0)