Skip to content

Commit 6be7e93

Browse files
Merge pull request #86 from jgbernalp/add-hermetic-builds
OU-506: add hermetic builds in konflux
2 parents 42c8296 + 09b6059 commit 6be7e93

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.tekton/troubleshooting-panel-console-plugin-0-3-pull-request.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ spec:
3030
value: Dockerfile.konflux
3131
- name: path-context
3232
value: .
33+
- name: hermetic
34+
value: "true"
35+
- name: prefetch-input
36+
value: '[{"type": "gomod", "path": "."}, {"type": "npm", "path":"./web"}]'
3337
pipelineSpec:
3438
description: |
3539
This pipeline is ideal for building container images from a Containerfile while reducing network traffic.

.tekton/troubleshooting-panel-console-plugin-0-3-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
value: Dockerfile.konflux
2828
- name: path-context
2929
value: .
30+
- name: hermetic
31+
value: "true"
32+
- name: prefetch-input
33+
value: '[{"type": "gomod", "path": "."}, {"type": "npm", "path":"./web"}]'
3034
pipelineSpec:
3135
description: |
3236
This pipeline is ideal for building container images from a Containerfile while reducing network traffic.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ install-frontend:
44

55
.PHONY: install-frontend-ci
66
install-frontend-ci:
7-
cd web && npm ci
7+
cd web && npm ci --ignore-scripts
88

99
.PHONY: install-frontend-ci-clean
1010
install-frontend-ci-clean: install-frontend-ci

0 commit comments

Comments
 (0)