]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
Add ceph-dev-pipeline-trigger
authorZack Cerza <zack@redhat.com>
Thu, 23 Jan 2025 21:21:43 +0000 (14:21 -0700)
committerZack Cerza <zack@cerza.org>
Wed, 5 Feb 2025 19:53:39 +0000 (12:53 -0700)
commita1f88660d55d53c1c6d1d9b866bc5a53996d3569
tree5ec82b42da9944c6ba9fed783f188cd143c5e656
parent19f5aea8585e37df3a80006e53f4791a0fdb5dc0
Add ceph-dev-pipeline-trigger

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 <zack@cerza.org>
ceph-dev-pipeline-trigger/build/Jenkinsfile [new file with mode: 0644]
ceph-dev-pipeline-trigger/config/definitions/ceph-dev-pipeline-trigger.yml [new file with mode: 0644]