-
Notifications
You must be signed in to change notification settings - Fork 707
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
Add SRP source provenance report #5632
Conversation
✅ Deploy Preview for kubeapps-dev canceled.Built without sensitive environment variables
|
Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
4d7944d
to
d963bd9
Compare
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, small question about srp client version but +1 either way. Thanks @beni0888
run: | | ||
set -u | ||
mkdir -p /tmp/srp-cli | ||
curl https://srp-cli.s3.amazonaws.com/srp-cli-latest.tgz -o /tmp/srp-cli/srp-cli-latest.tgz |
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.
Should we use a specific version rather than latest for the client here?
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.
Mmm TBH, I'm not sure about that, but taking into account that in the CircleCI version we're pointing to a specific version, I guess you're right. Changing it before merging. Thanks for the heads up!
Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
Signed-off-by: Jesús Benito Calzada bjesus@vmware.com
Description of the change
This PR adds the required SRP source provenance report to the GHA pipeline. Currently, the report is being done in the CircleCI pipeline, but as part of the migration to GHA, we need to implement it there. For this report to work, we need to register a new SRP UID for GHA, which will be something like
uid.mtd.provenance_2_5.fragment(obj_uid=uid.obj.build.github(instance='github.com',namespace='vmware-tanzu/kubeapps',...),version='')
. An issue has been created in the Jira Service Desk for this task, and we will maintain this PR as a draft until that request is fulfilled.Benefits
Possible drawbacks
None.
Applicable issues
Additional information