Skip to content

Commit

Permalink
Configure hermetic build
Browse files Browse the repository at this point in the history
Adds RPM precache support and enables the hermetic build mode.

Reference: EC-360
  • Loading branch information
zregvart committed Jul 16, 2024
1 parent bcc66a8 commit 2d0df04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .tekton/cli-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ spec:
value: $(params.output-image).prefetch
- name: ociArtifactExpiresAfter
value: $(params.image-expires-after)
- name: dev-package-managers
value: 'true'
runAfter:
- clone-repository
taskRef:
Expand Down
4 changes: 3 additions & 1 deletion .tekton/cli-main-ci-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ spec:
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: gomod
value: '[{"type": "gomod"}, {"type": "rpm"}]'
- name: build-source-image
value: 'true'
- name: build-args-file
value: quick-build-args.conf
- name: hermetic
value: 'true'
pipelineRef:
name: cli-build
workspaces:
Expand Down
4 changes: 3 additions & 1 deletion .tekton/cli-main-ci-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ spec:
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: gomod
value: '[{"type": "gomod"}, {"type": "rpm"}]'
- name: build-source-image
value: 'true'
- name: build-args-file
value: ''
- name: hermetic
value: 'true'
pipelineRef:
name: cli-build
workspaces:
Expand Down

0 comments on commit 2d0df04

Please sign in to comment.