Skip to content
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

feat: add prune workflow #52

Closed
wants to merge 1 commit into from
Closed

feat: add prune workflow #52

wants to merge 1 commit into from

Conversation

JTaeuber
Copy link
Member

Motivation

This pull request implements a new github workflow to prune any unnecessary images and charts to make it easier to manage.

It will prune all untagged images or images that start with commit or sha256 in the py-kube-downscaler package that are older than 7 days.

It will always keep the dev tag and shouldn't prune any of our releases.

Changes

Added github workflow prune.yml.

Tests done

I've tested the workflow in dry-run in a fork.
https://github.com/JTaeuber/py-kube-downscaler/actions/runs/9188408222

TODO

  • I've assigned myself to this PR

@JTaeuber JTaeuber added enhancement New feature or request feature labels May 22, 2024
@JTaeuber JTaeuber requested a review from eumel8 May 22, 2024 09:18
@JTaeuber JTaeuber self-assigned this May 22, 2024
Copy link

File Coverage
All files 97%
test_autoscale_resource.py 99%
test_cmd.py 100%
test_events.py 100%
test_grace_period.py 100%
test_ignore_if_labels_dont_match.py 100%
test_main.py 100%
test_pods_force_uptime.py 100%
test_resources.py 100%
test_scaler.py 95%
test_time.py 100%

Minimum allowed coverage is 70%

Generated by 🐒 cobertura-action against e77c19b

@JTaeuber JTaeuber closed this May 22, 2024
@JTaeuber JTaeuber deleted the feat/AddPruneWorkflow branch May 22, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant