-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(backend): Caching should not be wrongly shown as successful if the artifacts have been deleted from S3 #7938
Conversation
parse json dynamically with tests
Maybe we should remove minio entirely to get rid of any possible licence issues. We could fetch the artifact as the persistenceagent does pipelines/backend/src/agent/persistence/worker/metrics_reporter.go Lines 144 to 160 in a294e75
The apiserver S3 is configurable via environment variables pipelines/backend/src/apiserver/client_manager.go Lines 37 to 45 in a294e75
I created a new PR for that #7958 but sadly there is not enough data in the cachedb to get the parameters for the readartifact call. Therefore we have to stick with this approach, if we do not want to change the database entries. |
/assign @Linchin @zijianjoy |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sadly we have to be agnostic of the backend until the new unified storage architecture from #7725 (comment) is there. So i got #8270 in instead. V2 pipelines are not yet covered. |
Description of your changes:
Fixes #7939
Checklist: