-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Merge GitLab provenance generation into latest #6525
Conversation
This is a first pass at provenance generation for GitLab CI. This is based loosely off of existing GitLab provenance documents: https://about.gitlab.com/blog/2022/11/30/achieve-slsa-level-2-compliance-with-gitlab/ https://gist.github.com/wlynch/c7fd8f53adc77d3c0ec82356e4d43cb5
Merges gitlab provenance generation into latest branch. See working example at https://www.npmjs.com/package/@ps-testing/gitlab-npm-provenance#provenance
@@ -15828,6 +15828,7 @@ | |||
"license": "ISC", | |||
"dependencies": { | |||
"ci-info": "^3.6.1", | |||
"libnpmpublish": "file:", |
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.
What's going on here?
const GITHUB_BUILD_TYPE_VERSION = 'v2' | ||
|
||
const GITLAB_BUILD_TYPE_PREFIX = 'https://github.com/npm/cli/gitlab' | ||
const GITLAB_BUILD_TYPE_VERSION = 'v0alpha1' |
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.
Any point bumping this to something like v0beta1
?
@wlynch thanks for opening this up! I would like to hold off merging this until we've fixed up some of the links in the UI. Should get this done this week. |
I think the PR that we want to land is the actual |
This merges #6375 into latest.
We were waiting on a working example in the npm UI, which we now have with https://www.npmjs.com/package/@ps-testing/gitlab-npm-provenance#provenance
There are some additional Fulcio claim changes being discussed in sigstore/fulcio#1206, but this shouldn't affect anything with npm cli.
/cc @feelepxyz
References
Fixes #6373