Repository navigation
Add ceph-dev-pipeline - #2310
Conversation
| #!/bin/bash | ||
| # vim: ts=4 sw=4 expandtab | ||
| set -ex | ||
| PS4="\$(date --rfc-3339=seconds) + " |
|
Incredible work. I have no qualms, suggestions, or nits. |
|
I wanted to set up label-based triggers to run this pipeline on ceph PRs, but it seems like I'd need to move the Jenkinsfile to the ceph repository to make that happen. Edit: Using the generic webhook trigger plugin, we can do this without moving the Jenkinsfile. This PR is only targeting push-based trigger. |
d8cbb97 to
f33931b
Compare
bb60f28 to
cbb5364
Compare
This may ultimately replace the existing ceph-*build jobs; for now, it is a work in-progress. Signed-off-by: Zack Cerza <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
6e1bf10 to
177d2d0
Compare
|
I think this is complete enough to be merged (after removing the temporary commit and updating branch names). We also ought to document this new pipeline, but I couldn't find any documentation on the |
|
Once we merge this it might make sense to branch it to see about integrating ceph/ceph#59841 |
Signed-off-by: Zack Cerza <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
This job serves to trigger ceph-dev-pipeline via webhook payloads, but is opt-in. This implementation initially targets only GitHub push event payloads. On each push, it will inspect the head commit for [git trailers][0]. The trailer required to opt in is "CI-PIPELINE: true". If that trailer is found, the job looks for these others: ARCHS, CI_COMPILE, CI_CONTAINER, CI_PIPELINE, DISTROS, DWZ, FLAVOR, SCCACHE Any that are found are passed as parameters. [0] https://git-scm.com/docs/git-interpret-trailers Signed-off-by: Zack Cerza <[email protected]>
BRANCH, DISTROS, ARCHS, SETUP_BUILD_ID with a link to the setup build. Signed-off-by: Zack Cerza <[email protected]>
dmick
left a comment
There was a problem hiding this comment.
The one comment about podman login is all I really see to discuss at this point. This is great work, and although I'm not necessarily looking forward to maintaining Groovy, this is clearly the right Jenkins direction.
| ubuntu_releases = [ | ||
| "noble", // 24.04 | ||
| "jammy", // 22.04 | ||
| "focal", // 20.04 | ||
| ] | ||
| debian_releases = [ | ||
| "bookworm", // v12 (2023) | ||
| "bullseye", // v11 (2021) | ||
| ] |
There was a problem hiding this comment.
Embarrassing question... Why is there no RPM distro list?
There was a problem hiding this comment.
Since those distros don't use codenames, we can use a regex like ^(centos|rhel|fedora).* - we don't need lists.
This may ultimately replace the existing ceph-*build jobs; for now, it is a
work in-progress.