From 1da999055435cb30fff43ee2c0f41aabc6a828fa Mon Sep 17 00:00:00 2001 From: Jason Power Date: Tue, 26 Sep 2023 19:30:26 +0100 Subject: [PATCH] fix for hermetic builds (#71) Small pr to fix the hermetic builds in RHTAP, (mirrors the changes in cosign) --- .tekton/backfill-redis-pull-request.yaml | 6 ++---- .tekton/backfill-redis-push.yaml | 6 ++---- .tekton/rekor-cli-pull-request.yaml | 6 ++---- .tekton/rekor-cli-push.yaml | 6 ++---- .tekton/rekor-server-pull-request.yaml | 6 ++---- .tekton/rekor-server-push.yaml | 6 ++---- 6 files changed, 12 insertions(+), 24 deletions(-) diff --git a/.tekton/backfill-redis-pull-request.yaml b/.tekton/backfill-redis-pull-request.yaml index 9e84677e2..7adc6ac49 100644 --- a/.tekton/backfill-redis-pull-request.yaml +++ b/.tekton/backfill-redis-pull-request.yaml @@ -95,16 +95,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java diff --git a/.tekton/backfill-redis-push.yaml b/.tekton/backfill-redis-push.yaml index 7126605c6..6822086b1 100644 --- a/.tekton/backfill-redis-push.yaml +++ b/.tekton/backfill-redis-push.yaml @@ -92,16 +92,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java diff --git a/.tekton/rekor-cli-pull-request.yaml b/.tekton/rekor-cli-pull-request.yaml index 0786d9e35..84db92b7b 100644 --- a/.tekton/rekor-cli-pull-request.yaml +++ b/.tekton/rekor-cli-pull-request.yaml @@ -95,16 +95,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java diff --git a/.tekton/rekor-cli-push.yaml b/.tekton/rekor-cli-push.yaml index cd9cb14e2..44acf8821 100644 --- a/.tekton/rekor-cli-push.yaml +++ b/.tekton/rekor-cli-push.yaml @@ -92,16 +92,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java diff --git a/.tekton/rekor-server-pull-request.yaml b/.tekton/rekor-server-pull-request.yaml index 908d74502..b017f28a0 100644 --- a/.tekton/rekor-server-pull-request.yaml +++ b/.tekton/rekor-server-pull-request.yaml @@ -95,16 +95,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java diff --git a/.tekton/rekor-server-push.yaml b/.tekton/rekor-server-push.yaml index 87955b201..42612abee 100644 --- a/.tekton/rekor-server-push.yaml +++ b/.tekton/rekor-server-push.yaml @@ -92,16 +92,14 @@ spec: description: Skip optional checks, set false if you want to run optional checks name: skip-optional type: string - - default: "false" + - default: "true" description: Execute the build with network isolation name: hermetic type: string - value: "true" - - default: "" + - default: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] description: Build dependencies to be prefetched by Cachi2 name: prefetch-input type: string - value: '{"type": "gomod", "path": "."}' - default: "false" description: Java build name: java