Skip to content

Commit

Permalink
fix for hermetic builds (#71)
Browse files Browse the repository at this point in the history
Small pr to fix the hermetic builds in RHTAP, (mirrors the changes in
cosign)
  • Loading branch information
JasonPowr authored Sep 26, 2023
1 parent 78af008 commit 1da9990
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 24 deletions.
6 changes: 2 additions & 4 deletions .tekton/backfill-redis-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .tekton/backfill-redis-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .tekton/rekor-cli-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .tekton/rekor-cli-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .tekton/rekor-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .tekton/rekor-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1da9990

Please sign in to comment.