Skip to content

Update Sigstore Timestamp using dependabot#1225

Merged
woodruffw merged 5 commits intosigstore:mainfrom
trail-of-forks:dm/clean-ci
Dec 11, 2024
Merged

Update Sigstore Timestamp using dependabot#1225
woodruffw merged 5 commits intosigstore:mainfrom
trail-of-forks:dm/clean-ci

Conversation

@DarkaMaul
Copy link
Copy Markdown
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>
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
Copy Markdown
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
Copy Markdown
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

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
Copy Markdown
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

Signed-off-by: Alexis <alexis.challande@trailofbits.com>
Signed-off-by: Alexis <alexis.challande@trailofbits.com>
@woodruffw
Copy link
Copy Markdown
Member

/gcbrun

Copy link
Copy Markdown
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
@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