Skip to content

Commit

Permalink
update for adv tests for v1.10.0
Browse files Browse the repository at this point in the history
Signed-off-by: laurentsimon <laurentsimon@google.com>
  • Loading branch information
laurentsimon committed Mar 21, 2024
1 parent 5d8c4c1 commit d79c2ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/generate-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ runs:
shell: bash
env:
# Builder.
BUILDER_REPOSITORY: slsa-framework/slsa-github-generator # The repository to download the pre-built builder binary from.
BUILDER_REPOSITORY: laurentsimon/slsa-github-generator # The repository to download the pre-built builder binary from.
BUILDER_RELEASE_BINARY: "${{ inputs.binary }}" # The name of the pre-built binary in the release assets. This is also used as the final binary name when compiling the builder from source.
# Verifier
# NOTE: These VERIFIER_* variables are used in the builder-fetch.sh script for verification of builder
# release binaries when the compile-builder input is false.
VERIFIER_REPOSITORY: slsa-framework/slsa-verifier # The repository to download the pre-built verifier binary from.
VERIFIER_REPOSITORY: laurentsimon/slsa-verifier # The repository to download the pre-built verifier binary from.
VERIFIER_RELEASE_BINARY: slsa-verifier-linux-amd64 # The name of the verifier binary in the release assets.
VERIFIER_RELEASE_BINARY_SHA256: e81900c9f11a44276e1552afb7c1f6ea7b13ad9c6efdb920d97f23a76659e25f # The expected hash of the verifier binary.
VERIFIER_RELEASE: v2.4.1 # The version of the verifier to download.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/builder_container-based_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
steps:
- name: Generate builder binary
id: generate
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
uses: laurentsimon/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand All @@ -207,6 +207,7 @@ jobs:
compile-builder: "${{ inputs.compile-builder }}"
directory: "${{ env.BUILDER_DIR }}"
allow-private-repository: ${{ inputs.rekor-log-public }}
testing: true

- name: Upload builder
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/builder_go_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
steps:
- name: Generate builder binary
id: generate
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
uses: laurentsimon/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand All @@ -167,6 +167,7 @@ jobs:
compile-builder: "${{ inputs.compile-builder }}"
directory: "${{ env.BUILDER_DIR }}"
allow-private-repository: ${{ inputs.private-repository }}
testing: true

- name: Upload builder
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/generator_container_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Generate builder
id: generate-builder
continue-on-error: true
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
uses: laurentsimon/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand All @@ -154,6 +154,7 @@ jobs:
# NOTE: We are using the generic generator.
directory: "${{ env.BUILDER_DIR }}"
allow-private-repository: ${{ inputs.private-repository }}
testing: true

- id: auth
name: Authenticate to Google Cloud
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/generator_generic_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
- name: Generate builder
id: generate-builder
continue-on-error: true
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
uses: laurentsimon/slsa-github-generator/.github/actions/generate-builder@v1.10.0-rc.0
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand All @@ -172,6 +172,7 @@ jobs:
compile-builder: "${{ inputs.compile-generator }}"
directory: "${{ env.BUILDER_DIR }}"
allow-private-repository: ${{ inputs.private-repository }}
testing: true

- name: Extract subjects file metadata
id: metadata
Expand Down

0 comments on commit d79c2ff

Please sign in to comment.