Skip to content

Commit

Permalink
chore(pipeline): enable hermetic builds (#237)
Browse files Browse the repository at this point in the history
Whatever that means for this kind of image <shrug>

Signed-off-by: Lance Ball <[email protected]>
  • Loading branch information
lance authored Aug 21, 2024
1 parent 0a91b87 commit 581b451
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .tekton/client-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ spec:
value: 5d
- name: dockerfile
value: Dockerfile.clients.rh
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -199,10 +203,10 @@ spec:
value: task
resolver: bundles
when:
- input: $(params.prefetch-input)
operator: notin
- input: $(params.hermetic)
operator: in
values:
- ""
- "true"
workspaces:
- name: source
workspace: workspace
Expand Down
10 changes: 7 additions & 3 deletions .tekton/client-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
value: quay.io/redhat-user-workloads/rhtas-tenant/cli/client-server:{{revision}}
- name: dockerfile
value: Dockerfile.clients.rh
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -196,10 +200,10 @@ spec:
value: task
resolver: bundles
when:
- input: $(params.prefetch-input)
operator: notin
- input: $(params.hermetic)
operator: in
values:
- ""
- "true"
workspaces:
- name: source
workspace: workspace
Expand Down

0 comments on commit 581b451

Please sign in to comment.