From: Michael Hofmann <mhofm...@redhat.com> Extract common parts of child pipeline job
Signed-off-by: Michael Hofmann <mhofm...@redhat.com> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index blahblah..blahblah 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,18 +33,22 @@ workflow: PIPELINE_TYPE: 'ark-ci' kernel_type: 'upstream' -.trigger_ark_pipeline: +.pipeline: stage: test + variables: + srpm_make_target: dist-srpm + skip_setup: 'true' + skip_test: 'true' + skip_results: 'true' + +.trigger_ark_pipeline: + extends: .pipeline trigger: branch: kernel-ark variables: name: kernel-ark builder_image: quay.io/cki/builder-rawhide - srpm_make_target: dist-srpm run_redhat_self_test: 'true' - skip_setup: 'true' - skip_test: 'true' - skip_results: 'true' rules: - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "os-build" when: never @@ -58,18 +62,14 @@ workflow: - when: on_success .trigger_eln_pipeline: - stage: test + extends: .pipeline trigger: branch: eln variables: name: ark-eln builder_image: quay.io/cki/builder-eln - srpm_make_target: dist-srpm native_tools: 'true' disttag_override: '.eln' - skip_setup: 'true' - skip_test: 'true' - skip_results: 'true' rules: - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "os-build" when: never -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2575 _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue