-
Notifications
You must be signed in to change notification settings - Fork 53
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
Archive builds #1049
base: main
Are you sure you want to change the base?
Archive builds #1049
Conversation
✅ Deploy Preview for conda-store ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for conda-store canceled.
|
ca77d26
to
dbfa438
Compare
8f5a735
to
d58f39f
Compare
d3a2631
to
d48580c
Compare
with conda_store.session_factory() as db: | ||
build = api.get_build(db, build_id) | ||
|
||
archive_save_artifacts = [ |
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.
there is a setting to allow users to configure what artifacts should be deleted when a build is deleted. Should we add a setting that allows users to customize what artifacts are deleted on archive as well?
Fixes #947
Depends on #1047 and #1048
Description
This PR adds the ability to archive builds. To archive a build means to:
ARCHIVED
archived_on
fieldUsing the REST api
Pull request checklist