-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update Sigstore Timestamp using dependabot #1225
Conversation
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
.github/workflows/ci.yml
Outdated
@@ -61,7 +61,8 @@ jobs: | |||
- name: test (timestamp-authority) | |||
if: ${{ matrix.conf.os == 'ubuntu-latest' }} | |||
run: | | |||
wget https://github.com/sigstore/timestamp-authority/releases/download/${SIGSTORE_TIMESTAMP}/timestamp-server-linux-amd64 -O /tmp/timestamp-server | |||
export SIGSTORE_TIMESTAMP_VERSION=$(grep "github.com/sigstore/timestamp-authority" .github/go.mod | awk '{print $2}') |
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.
FLAG: I'm unsure of the implications here - is this a dangerous pattern in a workflow ?
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.
looks ok to me.
export seems unnecessary though
.github/workflows/ci.yml
Outdated
@@ -61,7 +61,8 @@ jobs: | |||
- name: test (timestamp-authority) | |||
if: ${{ matrix.conf.os == 'ubuntu-latest' }} | |||
run: | | |||
wget https://github.com/sigstore/timestamp-authority/releases/download/${SIGSTORE_TIMESTAMP}/timestamp-server-linux-amd64 -O /tmp/timestamp-server | |||
export SIGSTORE_TIMESTAMP_VERSION=$(grep "github.com/sigstore/timestamp-authority" .github/go.mod | awk '{print $2}') |
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.
looks ok to me.
export seems unnecessary though
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
/gcbrun |
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.
LGTM; having a go.mod
in the .github
repo is a bit funky but I don't have any better ideas 🙂
I'll plan this for merge once we're out of the woods on #1231.
Summary
This PR is a follow-up from #1216 and update (Sigstore) Timestamp Authority to be picked up by dependabot ( following a comment from @woodruffw )
I've tested the approach at https://github.com/DarkaMaul/test-dep, and that appears to be working.