-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Pull builder's binary instead of compiling it #86
✨ Pull builder's binary instead of compiling it #86
Conversation
# Verifier | ||
VERIFIER_REPOSITORY: slsa-framework/slsa-verifier | ||
VERIFIER_RELEASE_BINARY: slsa-verifier-linux-amd64 | ||
VERIFIER_RELEASE_BINARY_SHA256: fb743bc6bb56908d590da66bfe5c266d003aa226b30fcada5f7b9e4aea43b52b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this hash is invalid. We will update it once we (the maintainers) have cut a release for the verifier and verified the hash is valid thru provenance - see #74 (comment)
@@ -202,7 +218,6 @@ jobs: | |||
- name: Verify builder | |||
env: | |||
BUILDER_HASH: "${{ needs.builder.outputs.go-builder-sha256 }}" | |||
BUILDER_BINARY: "${{ env.BUILDER_BINARY }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I've removed all occurrences of BUILDER_BINARY: "${{ env.BUILDER_BINARY }}"
because they are not needed
|
||
set -euo pipefail | ||
|
||
# Caller sets the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: We will replace this script with Golang code in the future #87
required: false | ||
type: string | ||
compile-builder: | ||
description: "Build the builder from source. This speeds up build time by ~2mn." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This increases the build time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no it does not ^^. Thanks for catching this
This is to address #74 and speeds up the time it takes to build.