]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
8 weeks agoceph-dev-pipeline: Consume SHA1 parameter 2412/head
Zack Cerza [Fri, 25 Jul 2025 16:40:53 +0000 (10:40 -0600)]
ceph-dev-pipeline: Consume SHA1 parameter

If SHA1 is passed, ensure it is reflected in the consumed artifact.

Signed-off-by: Zack Cerza <zack@cerza.org>
8 weeks agoceph-source-dist: Consume SHA1 parameter
Zack Cerza [Fri, 25 Jul 2025 16:29:01 +0000 (10:29 -0600)]
ceph-source-dist: Consume SHA1 parameter

If SHA1 is passed, check out the commit directly as opposed to just the branch

Signed-off-by: Zack Cerza <zack@cerza.org>
8 weeks agoceph-trigger-build: Pass SHA1 param to child job
Zack Cerza [Fri, 25 Jul 2025 16:28:44 +0000 (10:28 -0600)]
ceph-trigger-build: Pass SHA1 param to child job

Signed-off-by: Zack Cerza <zack@cerza.org>
8 weeks agoMerge pull request #2408 from ceph/cdp-rocky
David Galloway [Wed, 23 Jul 2025 14:05:03 +0000 (10:05 -0400)]
Merge pull request #2408 from ceph/cdp-rocky

ceph-dev-pipeline: Don't reject rocky

8 weeks agoceph-dev-pipeline: Don't reject rocky 2408/head
Zack Cerza [Wed, 23 Jul 2025 00:16:34 +0000 (18:16 -0600)]
ceph-dev-pipeline: Don't reject rocky

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoMerge pull request #2406 from dmick/setup-container-runtime
Zack Cerza [Tue, 22 Jul 2025 18:39:56 +0000 (12:39 -0600)]
Merge pull request #2406 from dmick/setup-container-runtime

ceph-release-container: add setup_container_runtime.sh

2 months agoceph-release-container: add setup_container_runtime.sh 2406/head
Dan Mick [Mon, 21 Jul 2025 23:08:47 +0000 (16:08 -0700)]
ceph-release-container: add setup_container_runtime.sh

A ceph-release-container run suffered from

error running container: from /usr/bin/crun creating container for
[<sh command>]: sd-bus call: Interactive authentication required.:
Permission denied

That is thought to be because of the lack of 'linger' on the
jenkins-build user, such that the /run/user directory didn't
persist.  The exact mechanism of failure isn't fully understood,
but this script has fixed similar issues for ceph-dev-pipeline.

Also, add an echo of the node for convenience.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #2404 from cbodley/wip-noble-gcc14
David Galloway [Thu, 17 Jul 2025 19:23:29 +0000 (15:23 -0400)]
Merge pull request #2404 from cbodley/wip-noble-gcc14

scripts/build_utils: default to gcc-14 for ubuntu noble

2 months agoscripts/build_utils: default to gcc-14 for ubuntu noble 2404/head
Casey Bodley [Thu, 17 Jul 2025 19:07:35 +0000 (15:07 -0400)]
scripts/build_utils: default to gcc-14 for ubuntu noble

noble provides both gcc-13 and 14, but its gcc 13.2.0 suffers from an
LTO bug that causes ceph daemons to crash horribly (tracked in
https://tracker.ceph.com/issues/63867)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #2391 from ceph/doc-trlr-fix
Zack Cerza [Tue, 15 Jul 2025 20:37:42 +0000 (14:37 -0600)]
Merge pull request #2391 from ceph/doc-trlr-fix

ceph-trigger-build: Clarify build job selection

2 months agoMerge pull request #2402 from ceph/podman-linger-earlier
Zack Cerza [Tue, 15 Jul 2025 20:29:52 +0000 (14:29 -0600)]
Merge pull request #2402 from ceph/podman-linger-earlier

Enable linger earlier for podman

2 months agoEnable linger earlier for podman 2402/head
Zack Cerza [Tue, 15 Jul 2025 17:35:18 +0000 (11:35 -0600)]
Enable linger earlier for podman

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoMerge pull request #2397 from ceph/cdp-cw
Zack Cerza [Wed, 9 Jul 2025 19:20:45 +0000 (13:20 -0600)]
Merge pull request #2397 from ceph/cdp-cw

ceph-dev-pipeline: Clean up workspace in post

2 months agoceph-dev-pipeline: Clean up workspace in post 2397/head
Zack Cerza [Tue, 8 Jul 2025 17:37:55 +0000 (11:37 -0600)]
ceph-dev-pipeline: Clean up workspace in post

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoMerge pull request #2396 from ceph/loginctl-linger
adam kraitman [Tue, 8 Jul 2025 17:14:56 +0000 (20:14 +0300)]
Merge pull request #2396 from ceph/loginctl-linger

Enable linger for the Jenkins user

2 months agoEnable linger for the Jenkins user 2396/head
Zack Cerza [Tue, 8 Jul 2025 16:29:42 +0000 (10:29 -0600)]
Enable linger for the Jenkins user

This fixes errors like:
RunRoot is pointing to a path (/run/user/$ID/containers) which is not writable. Most likely podman will fail.
Error: creating events dirs: mkdir /run/user/$ID: permission denied

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoceph-trigger-build: Clarify build job selection 2391/head
Zack Cerza [Wed, 2 Jul 2025 00:08:45 +0000 (18:08 -0600)]
ceph-trigger-build: Clarify build job selection

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoMerge pull request #2384 from ceph/wip-disable-cdnt
Dan Mick [Fri, 27 Jun 2025 22:27:29 +0000 (15:27 -0700)]
Merge pull request #2384 from ceph/wip-disable-cdnt

ceph-dev-new-trigger: Disable

2 months agoMerge pull request #2390 from ceph/doc-trlr-fix
Dan Mick [Fri, 27 Jun 2025 21:45:31 +0000 (14:45 -0700)]
Merge pull request #2390 from ceph/doc-trlr-fix

ceph-trigger-build: correct git trailer examples

2 months agoceph-trigger-build: correct git trailer examples 2390/head
Zack Cerza [Fri, 27 Jun 2025 21:01:50 +0000 (15:01 -0600)]
ceph-trigger-build: correct git trailer examples

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoMerge pull request #2389 from ceph/trigger-pipeline
David Galloway [Fri, 27 Jun 2025 17:48:00 +0000 (13:48 -0400)]
Merge pull request #2389 from ceph/trigger-pipeline

ceph-trigger-build: Build noble by default

2 months agoceph-trigger-build: Build noble by default 2389/head
David Galloway [Fri, 27 Jun 2025 16:18:42 +0000 (12:18 -0400)]
ceph-trigger-build: Build noble by default

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #2371 from ceph/pipeline-container
David Galloway [Fri, 27 Jun 2025 15:05:32 +0000 (11:05 -0400)]
Merge pull request #2371 from ceph/pipeline-container

ceph-dev-pipeline: Set CEPH_BUILD_NORMALIZE_PATHS

2 months agoMerge pull request #2381 from dmick/wip-fog-capture
David Galloway [Fri, 27 Jun 2025 15:04:29 +0000 (11:04 -0400)]
Merge pull request #2381 from dmick/wip-fog-capture

sepia-fog-images: add image test to 'poll for deploy' loop

2 months agoMerge pull request #2382 from ceph/wip-noble
David Galloway [Fri, 27 Jun 2025 13:32:30 +0000 (09:32 -0400)]
Merge pull request #2382 from ceph/wip-noble

Support for Ubuntu Noble

2 months agoSupport for Ubuntu Noble 2382/head
David Galloway [Fri, 27 Jun 2025 02:10:51 +0000 (22:10 -0400)]
Support for Ubuntu Noble

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #2388 from ceph/ctb-crimson
David Galloway [Tue, 24 Jun 2025 19:51:32 +0000 (15:51 -0400)]
Merge pull request #2388 from ceph/ctb-crimson

ceph-trigger-build: Correct crimson-only behavior

2 months agoMerge pull request #2385 from ceph/wip-trailer-docs
Zack Cerza [Tue, 24 Jun 2025 18:13:07 +0000 (12:13 -0600)]
Merge pull request #2385 from ceph/wip-trailer-docs

ceph-trigger-build: Update docs

2 months agoceph-trigger-build: Correct crimson-only behavior 2388/head
Zack Cerza [Tue, 24 Jun 2025 16:54:13 +0000 (10:54 -0600)]
ceph-trigger-build: Correct crimson-only behavior

We were accidentally building default instead of crimson-debug

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoceph-trigger-build: Update docs 2385/head
David Galloway [Mon, 23 Jun 2025 22:09:47 +0000 (18:09 -0400)]
ceph-trigger-build: Update docs

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoceph-trigger-build: build reef on focal ctb-fixes
Zack Cerza [Mon, 23 Jun 2025 21:12:09 +0000 (15:12 -0600)]
ceph-trigger-build: build reef on focal

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoceph-trigger-build: Remove extra line break
Zack Cerza [Mon, 23 Jun 2025 21:11:49 +0000 (15:11 -0600)]
ceph-trigger-build: Remove extra line break

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoceph-trigger-build: Add missing def keywords
Zack Cerza [Mon, 23 Jun 2025 21:11:34 +0000 (15:11 -0600)]
ceph-trigger-build: Add missing def keywords

Signed-off-by: Zack Cerza <zack@cerza.org>
2 months agoceph-dev-new-trigger: Disable 2384/head
David Galloway [Mon, 23 Jun 2025 19:45:29 +0000 (15:45 -0400)]
ceph-dev-new-trigger: Disable

Replaced by ceph-trigger-build job

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoceph-trigger-build: Fix newlines in job description
Zack Cerza [Mon, 23 Jun 2025 18:22:00 +0000 (12:22 -0600)]
ceph-trigger-build: Fix newlines in job description

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-trigger-build: Correct branch
Zack Cerza [Fri, 20 Jun 2025 20:05:29 +0000 (14:05 -0600)]
ceph-trigger-build: Correct branch

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-trigger-build: Remove preserve- from name
Zack Cerza [Fri, 20 Jun 2025 18:04:23 +0000 (12:04 -0600)]
ceph-trigger-build: Remove preserve- from name

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoMerge pull request #2372 from ceph/ceph-trigger-build
Zack Cerza [Thu, 19 Jun 2025 19:15:00 +0000 (13:15 -0600)]
Merge pull request #2372 from ceph/ceph-trigger-build

Add ceph-trigger-build job

3 months agoceph-dev-pipeline: Matrix entries for noble, el10 2372/head
Zack Cerza [Thu, 19 Jun 2025 17:35:37 +0000 (11:35 -0600)]
ceph-dev-pipeline: Matrix entries for noble, el10

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-trigger-build: support new crimson flavors
Zack Cerza [Mon, 16 Jun 2025 17:04:33 +0000 (11:04 -0600)]
ceph-trigger-build: support new crimson flavors

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-dev-pipeline: support new crimson flavors
Zack Cerza [Fri, 13 Jun 2025 21:08:49 +0000 (15:08 -0600)]
ceph-dev-pipeline: support new crimson flavors

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-dev-pipeline: potentially build multiple flavors
Zack Cerza [Mon, 9 Jun 2025 21:58:30 +0000 (15:58 -0600)]
ceph-dev-pipeline: potentially build multiple flavors

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-source-dist: drop unused env vars
Zack Cerza [Mon, 9 Jun 2025 21:57:30 +0000 (15:57 -0600)]
ceph-source-dist: drop unused env vars

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-dev-pipeline: support the crimson flavor
Zack Cerza [Mon, 9 Jun 2025 21:50:41 +0000 (15:50 -0600)]
ceph-dev-pipeline: support the crimson flavor

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-dev-pipeline: drop unused setup job params
Zack Cerza [Mon, 9 Jun 2025 21:19:31 +0000 (15:19 -0600)]
ceph-dev-pipeline: drop unused setup job params

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoceph-source-dist: drop flavor param
Zack Cerza [Mon, 9 Jun 2025 21:19:04 +0000 (15:19 -0600)]
ceph-source-dist: drop flavor param

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoAdd ceph-trigger-build job
Zack Cerza [Thu, 29 May 2025 00:11:35 +0000 (18:11 -0600)]
Add ceph-trigger-build job

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agosepia-fog-images: add image test to 'poll for deploy' loop 2381/head
Dan Mick [Wed, 18 Jun 2025 17:10:21 +0000 (10:10 -0700)]
sepia-fog-images: add image test to 'poll for deploy' loop

When checking for scheduled deploy tasks, check not only for existing
deploy tasks but for deploy tasks *for the image we're proposing to
capture*.  There are often deploy tasks on a busy fog server, but we
only need to avoid affecting tasks for the image we're updating

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 months agoMerge pull request #2380 from ceph/dangling-trigger
David Galloway [Tue, 17 Jun 2025 16:30:48 +0000 (12:30 -0400)]
Merge pull request #2380 from ceph/dangling-trigger

ceph-dev-new-trigger: Remove dangling job trigger

3 months agoceph-dev-new-trigger: Remove dangling job trigger 2380/head
David Galloway [Tue, 17 Jun 2025 15:53:49 +0000 (11:53 -0400)]
ceph-dev-new-trigger: Remove dangling job trigger

Signed-off-by: David Galloway <david.galloway@ibm.com>
3 months agoMerge pull request #2373 from cbodley/wip-rm-jaeger
Dan Mick [Mon, 16 Jun 2025 21:46:54 +0000 (14:46 -0700)]
Merge pull request #2373 from cbodley/wip-rm-jaeger

remove 'jaeger' flavor now that it's on by default

3 months agoMerge pull request #2379 from dmick/fix-builder-playbook
David Galloway [Fri, 13 Jun 2025 13:59:58 +0000 (09:59 -0400)]
Merge pull request #2379 from dmick/fix-builder-playbook

Fix up ssh client and host key code; add comments on how to run

3 months agobuilder.yml: fix jenkins ssh key and github.com host key code 2379/head
Dan Mick [Thu, 12 Jun 2025 02:24:13 +0000 (19:24 -0700)]
builder.yml: fix jenkins ssh key and github.com host key code

Previous code was just wrong; 'first_found' can fail, and does
not return file contents; default(URL) just doesn't work

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 months agobuilder.yml: fix comments, note importance of invocation path
Dan Mick [Thu, 12 Jun 2025 02:21:22 +0000 (19:21 -0700)]
builder.yml: fix comments, note importance of invocation path

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 months agoMerge pull request #2377 from ceph/wip-kernel-reduce-distros
adam kraitman [Wed, 11 Jun 2025 11:25:50 +0000 (14:25 +0300)]
Merge pull request #2377 from ceph/wip-kernel-reduce-distros

kernel: stop building for trusty, xenial and bionic

3 months agoMerge pull request #2376 from ceph/wip-kernel-dwarf-h
adam kraitman [Wed, 11 Jun 2025 11:23:17 +0000 (14:23 +0300)]
Merge pull request #2376 from ceph/wip-kernel-dwarf-h

kernel: install elfutils-devel or libdw-dev(el)

3 months agokernel: stop building for trusty, xenial and bionic 2377/head
Ilya Dryomov [Wed, 11 Jun 2025 09:27:40 +0000 (11:27 +0200)]
kernel: stop building for trusty, xenial and bionic

These are too old and kernel packages are no longer needed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 months agokernel: install elfutils-devel or libdw-dev(el) 2376/head
Ilya Dryomov [Wed, 11 Jun 2025 09:11:34 +0000 (11:11 +0200)]
kernel: install elfutils-devel or libdw-dev(el)

This is a required dependency for CONFIG_GENDWARFKSYMS since 6.15.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 months agoremove 'jaeger' flavor now that it's on by default 2373/head
Casey Bodley [Wed, 4 Jun 2025 20:57:37 +0000 (16:57 -0400)]
remove 'jaeger' flavor now that it's on by default

jaeger was enabled by default in all ceph builds in
https://github.com/ceph/ceph/pull/44684 which was present in reef and
later releases. so no supported releases need a flavor to turn it on

ceph-dev-new-trigger hadn't been updated from 'DISTROS=centos8 focal'
so is probably not being used

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #2375 from ceph/wip-fix-2369
David Galloway [Mon, 9 Jun 2025 21:27:15 +0000 (17:27 -0400)]
Merge pull request #2375 from ceph/wip-fix-2369

scripts: Fix missing close case

3 months agoMerge pull request #2374 from ceph/dev-setup-prj-permission-update
Zack Cerza [Mon, 9 Jun 2025 21:07:18 +0000 (15:07 -0600)]
Merge pull request #2374 from ceph/dev-setup-prj-permission-update

Added new project for copy artifact and updated build discarder

3 months agoscripts: Fix missing close case 2375/head
David Galloway [Mon, 9 Jun 2025 20:20:26 +0000 (16:20 -0400)]
scripts: Fix missing close case

Signed-off-by: David Galloway <david.galloway@ibm.com>
3 months agoAdded new project for copy artifact and updated build discarder 2374/head
Adarsha Dinda [Mon, 9 Jun 2025 18:38:39 +0000 (00:08 +0530)]
Added new project for copy artifact and updated build discarder

3 months agoMerge pull request #2369 from Matan-B/wip-matanb-crimson-debug-flavor
David Galloway [Mon, 9 Jun 2025 17:19:04 +0000 (13:19 -0400)]
Merge pull request #2369 from Matan-B/wip-matanb-crimson-debug-flavor

Seperate Crimson flavors to crimson-debug/release

3 months agoceph-dev-cron: Build both crimson flavors 2369/head
Matan Breizman [Wed, 28 May 2025 08:16:50 +0000 (11:16 +0300)]
ceph-dev-cron: Build both crimson flavors

When building the daily main build, use both crimson flavors.
This is critical for the weekly nightly runs.
Note: Usual builds would still only build a *single* crimson-flavor (debug).
      This commit only affects the dev-cron

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agoSeperate Crimson flavors to crimson-debug/release
Matan Breizman [Sun, 8 Jun 2025 07:36:48 +0000 (10:36 +0300)]
Seperate Crimson flavors to crimson-debug/release
The following change would allow us to:

* Keep testing "Debug" builds (crimson-debug) by default.
* When crimson-only is used, crimson-release would also be built.
* `crimson-release` builds would be used in the weekly nightlies and on
  selected PR gatings (when crimson-debug is not enough).

Note: Once crimson-release is stable enough we could switch crimson-debug
      to actaully be of: "RelWithDebInfo + !NDEBUG + asserts" instead of "Debug".
      For now, let's keep it as Debug since we know it's stable.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agoceph-dev-pipeline: Set CEPH_BUILD_NORMALIZE_PATHS 2371/head
Zack Cerza [Tue, 27 May 2025 20:22:40 +0000 (14:22 -0600)]
ceph-dev-pipeline: Set CEPH_BUILD_NORMALIZE_PATHS

See https://github.com/ceph/ceph/commit/5478fb94a3daf0887689db137d6153d9b1914793

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoMerge pull request #2370 from clwluvw/vagrant-libvirt
Guillaume Abrioux [Tue, 27 May 2025 19:13:23 +0000 (21:13 +0200)]
Merge pull request #2370 from clwluvw/vagrant-libvirt

vagrant-libvirt: install the latest version

3 months agovagrant-libvirt: install the latest version 2370/head
Seena Fallah [Tue, 27 May 2025 19:03:00 +0000 (21:03 +0200)]
vagrant-libvirt: install the latest version

The pinned version is already too old and is failing in CI due to:
```
Error message given during initialization: Unable to resolve dependency:
user requested 'vagrant-libvirt (= 0.12.2)'
```

Let's try the latest and see if the reason for pinning the old one
still exists.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
4 months agoMerge pull request #2368 from dmick/ceph-build-no-containers
David Galloway [Mon, 19 May 2025 21:01:26 +0000 (17:01 -0400)]
Merge pull request #2368 from dmick/ceph-build-no-containers

ceph-build: remove container build step

4 months agoceph-build: remove container build step 2368/head
Dan Mick [Mon, 19 May 2025 20:42:51 +0000 (13:42 -0700)]
ceph-build: remove container build step

This was removed from build_rpm, but then when a reorg happened
to separate the function into a separate script, the fact that
ceph-build doesn't do container builds anymore was missed.

Release container builds now happen after the manual signing
step using job ceph-release-containers

Signed-off-by: Dan Mick <dan.mick@redhat.com>
4 months agoMerge pull request #2367 from Matan-B/wip-matanb-crimson-remove-debug
Matan Breizman [Mon, 19 May 2025 07:10:43 +0000 (10:10 +0300)]
Merge pull request #2367 from Matan-B/wip-matanb-crimson-remove-debug

scripts/build_utils: remove Debug build from Crimson

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 months agoscripts/build_utils: remove Debug build from Crimson 2367/head
Matan Breizman [Sun, 18 May 2025 08:40:52 +0000 (11:40 +0300)]
scripts/build_utils: remove Debug build from Crimson

See: https://github.com/ceph/ceph-build/pull/2167/files
Builds should be set to Debug only when ending in "-debug".

https://github.com/ceph/ceph-build/pull/1805 set Crimson to always use Debug.
That made sense in earlier development phases.
However, today we should align with Classical builds and use Debug only when needed.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
4 months agoMerge pull request #2365 from ceph/builder-ansible
David Galloway [Thu, 15 May 2025 13:37:23 +0000 (09:37 -0400)]
Merge pull request #2365 from ceph/builder-ansible

FIx up builder.yml

4 months agoexamples/builder.yml: update comments with new usage info 2365/head
Dan Mick [Thu, 15 May 2025 02:11:07 +0000 (19:11 -0700)]
examples/builder.yml: update comments with new usage info

Signed-off-by: Dan Mick <dan.mick@redhat.com>
4 months agoslave.yml: remove old symlink
Dan Mick [Thu, 15 May 2025 02:08:15 +0000 (19:08 -0700)]
slave.yml: remove old symlink

Signed-off-by: Dan Mick <dan.mick@redhat.com>
4 months agoexamples/builder.yml: set api token based on api_uri
Dan Mick [Wed, 14 May 2025 00:35:03 +0000 (17:35 -0700)]
examples/builder.yml: set api token based on api_uri

This is really the ceph-jenkins ssh user's password, but they're
now stored in ceph-sepia-secrets so they don't have to be found
and entered on the cmdline here

This keeps 'one ansible-vault encrypt output' in one file, and
should be easier to edit/view/etc.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
4 months agoexamples/builder.yml: fix up subuid/subgid handling code
Dan Mick [Wed, 14 May 2025 00:36:34 +0000 (17:36 -0700)]
examples/builder.yml: fix up subuid/subgid handling code

1) not necessary to make 'find highest uid' conditional (and the
   check was checking 0 instead of !0 anyway)
2) fix up choice of "calculated or default" using "| default()"

Signed-off-by: Dan Mick <dan.mick@redhat.com>
4 months agoMerge pull request #2363 from ceph/pipeline-container
Zack Cerza [Fri, 9 May 2025 18:12:11 +0000 (12:12 -0600)]
Merge pull request #2363 from ceph/pipeline-container

ceph-dev-pipeline: Build in containers

4 months agoceph-dev-pipeline: Fix extract/upload of cephadm 2363/head
Zack Cerza [Wed, 7 May 2025 18:02:41 +0000 (12:02 -0600)]
ceph-dev-pipeline: Fix extract/upload of cephadm

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: chown without sudo
Zack Cerza [Wed, 30 Apr 2025 19:21:17 +0000 (13:21 -0600)]
ceph-dev-pipeline: chown without sudo

And also at the very end of the job.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Store sccache logs
Zack Cerza [Thu, 6 Mar 2025 23:34:25 +0000 (16:34 -0700)]
ceph-dev-pipeline: Store sccache logs

There is an issue where invocations of archiveArtifacts in parallel branches of
the pipeline overwrite each other.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Build the builder less often
Zack Cerza [Mon, 21 Apr 2025 17:52:38 +0000 (11:52 -0600)]
ceph-dev-pipeline: Build the builder less often

To build the builder image less often, we can:

1. When building, use two tags: branch.os.arch, and sha1.branch.os.arch
2. After building, push both tags
3. Before building, pull both tags

As a result, we can avoid building entirely if that exact image has already been
pushed, and avoid building at least some layers if the branch had been built
somewhat recently.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Split upload stage from build
Zack Cerza [Mon, 5 May 2025 19:01:53 +0000 (13:01 -0600)]
ceph-dev-pipeline: Split upload stage from build

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Re-narrow node label
Zack Cerza [Tue, 29 Apr 2025 23:10:21 +0000 (17:10 -0600)]
ceph-dev-pipeline: Re-narrow node label

smithis take far too long.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Add and use update_shaman.sh
Zack Cerza [Tue, 29 Apr 2025 00:05:04 +0000 (18:05 -0600)]
ceph-dev-pipeline: Add and use update_shaman.sh

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Build release RPM
Zack Cerza [Mon, 28 Apr 2025 23:31:44 +0000 (17:31 -0600)]
ceph-dev-pipeline: Build release RPM

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agosetup_container_runtime.sh: Prune more images
Zack Cerza [Tue, 22 Apr 2025 16:19:23 +0000 (10:19 -0600)]
setup_container_runtime.sh: Prune more images

Only leave one weeks' worth.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Fix CI_COMPILE
Zack Cerza [Wed, 16 Apr 2025 20:49:27 +0000 (14:49 -0600)]
ceph-dev-pipeline: Fix CI_COMPILE

Setting an environment variable affects all matrix branches; this approach keeps
them isolated.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Copy even less artifacts
Zack Cerza [Mon, 5 May 2025 20:46:48 +0000 (14:46 -0600)]
ceph-dev-pipeline: Copy even less artifacts

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Use ceph-source-dist by default
Zack Cerza [Tue, 15 Apr 2025 01:47:30 +0000 (19:47 -0600)]
ceph-dev-pipeline: Use ceph-source-dist by default

But continue to offer ceph-dev-new-setup as an option.

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoceph-dev-pipeline: Use setup_container_runtime.sh
Zack Cerza [Tue, 15 Apr 2025 18:12:47 +0000 (12:12 -0600)]
ceph-dev-pipeline: Use setup_container_runtime.sh

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoMerge pull request #2357 from ceph/ceph-source-dist
Zack Cerza [Wed, 7 May 2025 22:45:56 +0000 (16:45 -0600)]
Merge pull request #2357 from ceph/ceph-source-dist

Add ceph-source-dist job

4 months agoAdd ceph-source-dist job 2357/head
Zack Cerza [Mon, 14 Apr 2025 19:48:18 +0000 (13:48 -0600)]
Add ceph-source-dist job

Signed-off-by: Zack Cerza <zack@cerza.org>
4 months agoMerge pull request #2360 from cbodley/wip-doc-PendingReleaseNotes
Dan Mick [Wed, 23 Apr 2025 20:25:20 +0000 (13:25 -0700)]
Merge pull request #2360 from cbodley/wip-doc-PendingReleaseNotes

scripts: docs_pr_only() considers PendingReleaseNotes

4 months agoscripts: docs_pr_only() considers PendingReleaseNotes 2360/head
Casey Bodley [Wed, 23 Apr 2025 19:42:58 +0000 (15:42 -0400)]
scripts: docs_pr_only() considers PendingReleaseNotes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 months agoceph-dev-pipeline: Fix syntax error
Zack Cerza [Tue, 22 Apr 2025 15:55:28 +0000 (09:55 -0600)]
ceph-dev-pipeline: Fix syntax error

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agoMerge pull request #2358 from ceph/fixapt
Zack Cerza [Mon, 21 Apr 2025 23:03:17 +0000 (17:03 -0600)]
Merge pull request #2358 from ceph/fixapt

setup_container_runtime.sh: Add missing sudo

5 months agosetup_container_runtime.sh: Add missing sudo 2358/head
Zack Cerza [Mon, 21 Apr 2025 22:59:17 +0000 (16:59 -0600)]
setup_container_runtime.sh: Add missing sudo

... to the apt update invocation.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agoMerge pull request #2356 from ceph/setup-containers
Zack Cerza [Mon, 21 Apr 2025 17:43:52 +0000 (11:43 -0600)]
Merge pull request #2356 from ceph/setup-containers

Add scripts/setup_container_runtime.sh