Retriggering an MR pipeline
You want to trigger a pipeline via the bot for a specific revision from an MR pipeline. As an example, kernel-tests!802 needs to be tested against the builds from cki-internal-contributors pipeline 309536375.
Determine the branch in the pipeline repository that was used for the pipeline from the pipeline overview page. For the pipeline above, that is
Open the trigger variables of the pipeline. For that, select any job of the original pipeline, and click on the “Variables API URL” at the top of the console output. Copy the
Ask the bot to trigger a pipeline with those values via
@cki-ci-bot, please test [cki/300641680] [git_url=https://gitlab.com/redhat/rhel/src/kernel/rhel-8] [commit_hash=14e4040a03f3dfc822c88372b185d900a1ae3b65] [tests_only=false]
Add more variables as needed, e.g.
tests_onlyvariable needs to be set to
falseto rebuild the revision from the provided
commit_hash. Otherwise, the bot would use the artifacts from the original pipeline.
Additional steps to reuse the artifacts
From the original pipeline, select all the publish jobs one-by-one and copy the job API URLs from the top of the console output. For each, append
/artifactsand add the following
ARTIFACT_URL_*variables to the bot:
[skip_merge=true] [skip_build=true] [skip_publish=true] [ARTIFACT_URL_aarch64=https://gitlab.com/api/v4/projects/20615920/jobs/1293587158/artifacts] [ARTIFACT_URL_ppc64le=https://gitlab.com/api/v4/projects/20615920/jobs/1293587159/artifacts] [ARTIFACT_URL_s390x=https://gitlab.com/api/v4/projects/20615920/jobs/1293587160/artifacts] [ARTIFACT_URL_x86_64=https://gitlab.com/api/v4/projects/20615920/jobs/1293587157/artifacts]