ceph.git's build.sh does not handle authentication in its latest
version, but assumes it's been done. Add the authentication
step (podman login) here, in setup_rpm, with the side benefit
that it'll fail faster if the credentials are incorrect.
... as they are ignored in scripts/build_utils.sh since commit 3517941ef2aa ("script/build_utils.sh: don't fail if any mirror is not
accessible"). This is prompted by an issue with libboost repo, which
started returning 403 Forbidden errors.
While at it, skip fetching language and translation packs.
ceph-volume: Rename ceph-volume-linter to ceph-volume-unit-tests
This:
- Update the job name and display name in ceph-volume-pr.yml to reflect the change.
- Changes the trigger phrase and GitHub status context for unit tests.
Dan Mick [Thu, 19 Sep 2024 00:55:56 +0000 (17:55 -0700)]
ceph-dev-new-*: change for in-tree container builds
- invoke ${SRC}/container/build.sh to build the container
- do not check out ceph-container.git
- add test to loop for "is repo ready" to test for the jenkins job
url ${BUILD_URL} as well as ready, so that we're not racing against
preexisting repos for this branch/os/flavor
Dan Mick [Mon, 19 Aug 2024 03:02:14 +0000 (20:02 -0700)]
sepia-fog-images: allow ansible to find collections
The mount module is now ansible.posix.mount, and ansible-playbook
can't seem to find it when executed from the parent directory.
Set ANSIBLE_CONFIG, which sets the collection search path.
Due the the EOL of CentOS Stream 8, all the Jenkins workers were
migrated to CentOS Stream 9. Therefore, we need to make these jobs pick
these workers.
Dan Mick [Tue, 2 Jul 2024 22:18:37 +0000 (15:18 -0700)]
prune-quay.py: avoid bug deleting -crimson tags
<sha1>-crimson tags stand sort of alone. Don't delete them when
looking for sha1 tags, unless their x86 counterpart (<sha1>) is
going to be deleted as well.
Dan Mick [Tue, 2 Jul 2024 06:49:17 +0000 (23:49 -0700)]
prune-quay.py: remove short_sha1_cache
Not only is it no longer necessary now that we're caching the
entire shaman result, it actually can lead to missing deletions
if the same sha1 validly exists for different builds (like for
centos8 vs centos9, or crimson vs default, etc.)
Dan Mick [Tue, 2 Jul 2024 06:28:58 +0000 (23:28 -0700)]
prune-quay.py: rely on delete-all-with-same-digest
With the new "delete all tags with the same digest", there's no need to
keep the short_sha1 around to match against sha1 tags; they'll be
caught earlier by the 'same-digest' test.
Dan Mick [Fri, 28 Jun 2024 21:58:50 +0000 (14:58 -0700)]
prune-quay.py: stop using image_id, optimize 'same image' search
image_id has apparently gone away; take the opportunity to be
a bit more efficient: keep a map of digests to tagnames, and when
deleting a full tag, also delete any tags that have the same
digest. Only verbosely report if any new tags were marked.
This commit makes the job sync nginx images from docker.io
to quay.io
Also, two changes:
- This makes sure the latest stable image of skopeo is pulled from quay.io
- Use the filter 'by-semver' filter for grafana too.
Nizamudeen A [Fri, 14 Jun 2024 04:02:58 +0000 (09:32 +0530)]
scripts/dashboard: kill existing xvfb process
To fix the below error on starting cypress
```
[STARTED] Task without title.
[FAILED] Xvfb exited with a non zero exit code.
[FAILED]
[FAILED] There was a problem spawning Xvfb.
[FAILED]
[FAILED] This is likely a problem with your system, permissions, or installation of Xvfb.
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Error: _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[FAILED] _XSERVTransMakeAllCOTSServerListeners: server already running
[FAILED] (EE)
[FAILED] Fatal server error:
[FAILED] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Platform: linux-x64 (Ubuntu - 22.04)
[FAILED] Cypress Version: 12.17.4
Xvfb exited with a non zero exit code.
There was a problem spawning Xvfb.
This is likely a problem with your system, permissions, or installation of Xvfb.
```
Ilya Dryomov [Fri, 31 May 2024 21:51:49 +0000 (23:51 +0200)]
ceph-windows-pull-requests: constrain to windows label
Currently, the intersection of focal && libvirt labels returns some
smithi (nproc == 8) and mira (nproc == 4) nodes, which are inadequate
for the two VMs that the Windows job spawns. It turns we already have
a windows label, which, after dropping it from mira015, seems to be on
point (i.e. would filter those low CPU nodes out). Let's use it!
Add parameters to set variables that the job scripts will look for
to choose which flavors to build. This will override the defaults in
ceph-container.git; the defaults are set to the same as
ceph-container.git at this moment, but are probably soon to change to
centos,9.
Dan Mick [Thu, 23 May 2024 23:27:06 +0000 (16:27 -0700)]
scripts/build_utils.sh: set DOCS_ONLY for PRs with only admin/ files, too
DOCS_ONLY is set if the filenames all start with docs/, but it's
also true that if the filenames start with admin/, it's strictly
docs related (discovered for https://github.com/ceph/ceph/pull/57649)
Dan Mick [Wed, 22 May 2024 22:08:45 +0000 (15:08 -0700)]
scripts/sync-pull: changes for ceph-iscsi, drop el7
Several sections are done only for the 'ceph' project (to
accommodate ceph-iscsi, which has no debs, so doesn't need
to find the most-populated distroversion or create debs,
pull a tarball, etc.).
Rongqi Sun [Fri, 17 May 2024 03:05:43 +0000 (03:05 +0000)]
ceph-pull-requests-arm64: extend timeout to 4h
Because performance of omani series machine are not so well which caused make check often failed, especially when cache hit was low, extend timeout to 4h seems reasonable.
Dan Mick [Wed, 15 May 2024 19:03:26 +0000 (12:03 -0700)]
build_utils.sh: remove pbuilder's --mirror option for Debian
The existing mirror is defunct, and hard-stopping bookworm builds.
For now, let's just revert to not specifying a mirror (as we have
in the past for other repo configurations) and solve any problems
that result if they pop up.