From d79c2ff76e03234b5780bce04b5602e50c5b1aa8 Mon Sep 17 00:00:00 2001 From: laurentsimon Date: Thu, 21 Mar 2024 08:55:28 +0000 Subject: [PATCH] update for adv tests for v1.10.0 Signed-off-by: laurentsimon --- .github/actions/generate-builder/action.yml | 4 ++-- .github/workflows/builder_container-based_slsa3.yml | 3 ++- .github/workflows/builder_go_slsa3.yml | 3 ++- .github/workflows/generator_container_slsa3.yml | 3 ++- .github/workflows/generator_generic_slsa3.yml | 3 ++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/actions/generate-builder/action.yml b/.github/actions/generate-builder/action.yml index bfeaab79da..5a3fe389ac 100644 --- a/.github/actions/generate-builder/action.yml +++ b/.github/actions/generate-builder/action.yml @@ -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. diff --git a/.github/workflows/builder_container-based_slsa3.yml b/.github/workflows/builder_container-based_slsa3.yml index 3e71ca1d59..92a9eb5a50 100644 --- a/.github/workflows/builder_container-based_slsa3.yml +++ b/.github/workflows/builder_container-based_slsa3.yml @@ -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 }}" @@ -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 diff --git a/.github/workflows/builder_go_slsa3.yml b/.github/workflows/builder_go_slsa3.yml index 87c0183b7a..d034e21ce0 100644 --- a/.github/workflows/builder_go_slsa3.yml +++ b/.github/workflows/builder_go_slsa3.yml @@ -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 }}" @@ -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 diff --git a/.github/workflows/generator_container_slsa3.yml b/.github/workflows/generator_container_slsa3.yml index 09211092f5..2b537981e5 100644 --- a/.github/workflows/generator_container_slsa3.yml +++ b/.github/workflows/generator_container_slsa3.yml @@ -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 }}" @@ -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 diff --git a/.github/workflows/generator_generic_slsa3.yml b/.github/workflows/generator_generic_slsa3.yml index 9203c1e227..0c1f303c28 100644 --- a/.github/workflows/generator_generic_slsa3.yml +++ b/.github/workflows/generator_generic_slsa3.yml @@ -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 }}" @@ -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