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 9a1827e commit 5a59037
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .tekton/cli-buld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ 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 5a59037

Please sign in to comment.