Skip to content
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

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

DarkaMaul
Copy link
Collaborator

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.

Signed-off-by: Alexis <alexis.challande@trailofbits.com>
@@ -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}')
Copy link
Collaborator Author

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 ?

Copy link
Member

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

@@ -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}')
Copy link
Member

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/go.mod Outdated Show resolved Hide resolved
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
@woodruffw
Copy link
Member

/gcbrun

Copy link
Member

@woodruffw woodruffw left a 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.

@woodruffw woodruffw merged commit 49c0706 into sigstore:main Dec 11, 2024
23 checks passed
@woodruffw woodruffw deleted the dm/clean-ci branch December 11, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants