Skip to content

support cleaning up old releases #589

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

Closed
wants to merge 4 commits into from
Closed

support cleaning up old releases #589

wants to merge 4 commits into from

Conversation

fho
Copy link
Collaborator

@fho fho commented Jun 21, 2024

support cleaning up old releases

- change the "db cleanup" command syntax to accept a positional argument
  to specify if releases or tasks should be deleted,
- rename the --task-runs-before parameter to --before
- implement ad DeletedReleases method for the psql storage client, that
  works analogous to DeletedTaskRuns

-------------------------------------------------------------------------------
add created_at timestamp to release table

This will allow to cleanup releases that are older then X.

For all existing releases the created_at timestamp is set to the current
timestamp.

Fabian Holler added 2 commits June 21, 2024 16:07
This will allow to cleanup releases that are older then X.

For all existing releases the created_at timestamp is set to the current
timestamp.
- change the "db cleanup" command syntax to accept a positional argument
  to specify if releases or tasks should be deleted,
- rename the --task-runs-before parameter to --before
- implement ad DeletedReleases method for the psql storage client, that
  works analogous to DeletedTaskRuns
@fho fho self-assigned this Jun 21, 2024
@fho
Copy link
Collaborator Author

fho commented Jun 21, 2024

merged manually

@fho fho closed this Jun 21, 2024
@fho fho deleted the db_cleanup_release branch June 21, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant