]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
2 months agoMerge pull request #2507 from ceph/no-chgrp
David Galloway [Thu, 18 Dec 2025 16:41:41 +0000 (11:41 -0500)]
Merge pull request #2507 from ceph/no-chgrp

No chgrp

2 months agoMerge pull request #2506 from dmick/remove-virtualenv
David Galloway [Thu, 18 Dec 2025 14:47:56 +0000 (09:47 -0500)]
Merge pull request #2506 from dmick/remove-virtualenv

quay-pruner: virtualenv is no more, use python3 -mvenv

2 months agoMerge pull request #2498 from ceph/no-more-nice-guy
David Galloway [Wed, 17 Dec 2025 23:37:25 +0000 (18:37 -0500)]
Merge pull request #2498 from ceph/no-more-nice-guy

All: Limit PR checks to Ceph org

2 months agosetup_container_runtime: Move rm -f ceph_build after perms fix 2507/head
David Galloway [Tue, 16 Dec 2025 18:14:46 +0000 (13:14 -0500)]
setup_container_runtime: Move rm -f ceph_build after perms fix

We need to fix permissions first then delete the container if there were root-owned layers left over

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agosetup_container_runtime: Proper permission handling
David Galloway [Tue, 16 Dec 2025 18:06:22 +0000 (13:06 -0500)]
setup_container_runtime: Proper permission handling

On fresh installs on Noble, `groups` returns `users`; not jenkins-build.

```
jenkins-build@toko01:~$ podman system reset --force
podman system info
WARN[0000] Found incomplete layer "92e4beace908310dc4c6a279e3a4cb7391da53fc9a8d3cce99402fdebe6b67da", deleting it
ERRO[0002] 23 errors occurred:
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/0ec3f2ca3bf6a1641caed388c53e76b63e9840354c473412e3deb7d00a510448/diff/usr: permission denied
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/8a5ece4bcb661d397bb30a79c74d26e202c4536bf12d07bcf351d6c2fab65790/diff/usr: permission denied
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/ee5a1067f3e86d31a3bf233c0c60c6087b2bd39e9e9b3cb5cd8feea92f1e3692/diff/run: permission denied
```

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoquay-pruner: virtualenv is no more, use python3 -mvenv 2506/head
Dan Mick [Tue, 16 Dec 2025 06:15:30 +0000 (22:15 -0800)]
quay-pruner: virtualenv is no more, use python3 -mvenv

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #2505 from ceph/nodename
Dan Mick [Fri, 12 Dec 2025 19:48:49 +0000 (11:48 -0800)]
Merge pull request #2505 from ceph/nodename

builder: Fix and combine Sepia-specific tasks

2 months agobuilder: Fix and combine Sepia-specific tasks 2505/head
David Galloway [Fri, 12 Dec 2025 16:22:11 +0000 (11:22 -0500)]
builder: Fix and combine Sepia-specific tasks

Forgot to add 10.20 to the nodename task

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #2502 from ceph/needsrestart
David Galloway [Thu, 11 Dec 2025 02:51:56 +0000 (21:51 -0500)]
Merge pull request #2502 from ceph/needsrestart

builder: Configure (disable) needrestart

2 months agoMerge pull request #2503 from ceph/no-sudo-templates
Dan Mick [Wed, 10 Dec 2025 22:25:57 +0000 (14:25 -0800)]
Merge pull request #2503 from ceph/no-sudo-templates

builder.yml: Do not use sudo locally

2 months agoMerge pull request #2504 from dmick/utf8
David Galloway [Wed, 10 Dec 2025 22:23:28 +0000 (17:23 -0500)]
Merge pull request #2504 from dmick/utf8

ceph-build-pull-requests: set UTF-8 for ansible-galaxy

2 months agoMerge pull request #2501 from ceph/dgalloway-toko
Dan Mick [Wed, 10 Dec 2025 22:23:20 +0000 (14:23 -0800)]
Merge pull request #2501 from ceph/dgalloway-toko

builder.yml: Add POK

2 months agoceph-build-pull-requests: set UTF-8 for ansible-galaxy 2504/head
Dan Mick [Wed, 10 Dec 2025 22:17:07 +0000 (14:17 -0800)]
ceph-build-pull-requests: set UTF-8 for ansible-galaxy

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agobuilder.yml: Do not use sudo locally 2503/head
David Galloway [Wed, 10 Dec 2025 21:59:19 +0000 (16:59 -0500)]
builder.yml: Do not use sudo locally

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agobuilder: Configure (disable) needrestart 2502/head
David Galloway [Wed, 10 Dec 2025 21:47:15 +0000 (16:47 -0500)]
builder: Configure (disable) needrestart

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agobuilder.yml: Add POK 2501/head
David Galloway [Fri, 5 Dec 2025 17:01:07 +0000 (12:01 -0500)]
builder.yml: Add POK

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoAll: Limit PR checks to Ceph org 2498/head
David Galloway [Fri, 5 Dec 2025 17:03:44 +0000 (12:03 -0500)]
All: Limit PR checks to Ceph org

Long overdue

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #2500 from dmick/quay-quay-quay-no-more-more-more
David Galloway [Tue, 9 Dec 2025 05:16:33 +0000 (00:16 -0500)]
Merge pull request #2500 from dmick/quay-quay-quay-no-more-more-more

Change quay-quay-quay.... to quay.ceph.io

2 months agoChange quay-quay-quay.... to quay.ceph.io 2500/head
Dan Mick [Tue, 9 Dec 2025 05:09:45 +0000 (21:09 -0800)]
Change quay-quay-quay.... to quay.ceph.io

The external name works from locations outside the existing sepia lab,
and there's no good reason not to use the public name.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #2496 from dmick/fix-quay-pruner
David Galloway [Fri, 5 Dec 2025 23:53:23 +0000 (18:53 -0500)]
Merge pull request #2496 from dmick/fix-quay-pruner

quay-pruner: completely overhaul prune-quay.py

3 months agoreview comments: 2496/head
Dan Mick [Sat, 15 Nov 2025 00:00:40 +0000 (16:00 -0800)]
review comments:

- explain --stragglers a bit in help text
- add re match group names and use them
- use variables for URLs in messages
- dryrun -> dry-run
- remove dead code

will squash before merge if approved.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 months agoMerge pull request #2475 from ceph/podman-prune-external
Dan Mick [Thu, 13 Nov 2025 01:32:11 +0000 (17:32 -0800)]
Merge pull request #2475 from ceph/podman-prune-external

setup_container_runtime.sh: prune ext. containers

3 months agoquay-pruner: completely overhaul prune-quay.py
Dan Mick [Tue, 11 Nov 2025 00:17:18 +0000 (16:17 -0800)]
quay-pruner: completely overhaul prune-quay.py

Pruning had stopped working (up to >26000 image tags), and the
reasons were many; one, pruning's always been less deterministic
than I'd hope; two, when I switched us to ceph.git/container for
building images, I mistakenly changed the format of the 'fulltag'
(no longer has a short sha1 in it) and that was sort of driving
the pruning process.  three, I suspect some of the newer flavors
etc. were slipping through the cracks.

So here's an attempt to fix all that by changing the algorithm
fundamentally; now, tags of a certain manifest digest are considered
at the same time, and their sha1 checked in shaman as usual (but
only their sha1); if it's found, the tags are all left, and if not,
they're all removed.  This should be cleaner, faster, and more
reliable.

Also refactored a lot of the worker routines to util.py so I could
add some helper/debug/info scripts:

get-tagdates.py generates JSON showing tag-to-age for examining the
state of things

delete-tags.py takes tags on the CLI to delete, or can be invoked
with '--stragglers <age>' to remove anything older than age (as long
as it's not in shaman or seems like it might be a 'distinguished' build
(with recent release names in its name)).

prune-quay.py also now reports summary statistics of its operation.