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

fedora-ostree-pruner: drop hardcoding of test mode; limit to compose repo #163

Merged
merged 2 commits into from Dec 14, 2022

Conversation

dustymabe
Copy link
Member

commit 5690b6bc17e1decfd30d0061217b62400e049fae
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Wed Dec 14 10:16:39 2022 -0500

    fedora-ostree-pruner: drop hardcoding of test mode; limit to compose repo
    
    We're in a position right now where we need to recover some space but
    Kevin Fenzi is out on a much deserved break. Let's make this script
    start taking real action by unsetting `args.test = True`, but let's
    be conservative and only operate on the compose repo for now until
    Kevin gets back.
    
    In the most recent test this got us 1.2T in space back:
    
    ```
    Total objects: 10768149
    Would delete: 7437430 objects, freeing 1.2 TB
    ```

commit 575b0b1af63bb25f50d21418d30787043ce87208
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Wed Dec 14 10:14:53 2022 -0500

    fedora-ostree-pruner: add ppc64le and s390x fedora-coreos arches
    
    We now have s390x and will soon have ppc64le in the prod repo for
    Fedora CoreOS.

We now have s390x and will soon have ppc64le in the prod repo for
Fedora CoreOS.
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we do this for real, it'd be good to have people sanity-check the refs that would be pruned. And maybe we announce it in e.g. #fedora-releng ?

fedora-ostree-pruner/fedora-ostree-pruner Show resolved Hide resolved
…repo

We're in a position right now where we need to recover some space but
Kevin Fenzi is out on a much deserved break. Let's make this script
start taking real action by unsetting `args.test = True`, but let's
be conservative and only operate on the compose repo for now until
Kevin gets back.

In the most recent test this got us 1.2T in space back:

```
Total objects: 10768149
Would delete: 7437430 objects, freeing 1.2 TB
```
@dustymabe
Copy link
Member Author

Before we do this for real, it'd be good to have people sanity-check the refs that would be pruned. And maybe we announce it in e.g. #fedora-releng ?

Yeah. I'll coordinate with Kevin Fenzi on it.

@dustymabe dustymabe merged commit b0f28c3 into coreos:main Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants