coreos / fedora-coreos-releng-automation

Repo for small tools/scripts/sevices that aid in the automation of Fedora CoreOS release engineering
Other
6 stars 20 forks source link

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

Closed dustymabe closed 1 year ago

dustymabe commented 1 year ago
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.
dustymabe commented 1 year ago

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.