X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fmetal3%2Fjob_integration_tests.yml;h=20a6ca205f681be56b87a2b3f40994c3578ad642;hb=3b5d5d8f359a4207872edf32773fdb72c3193eb7;hp=edd807ebf6e77de2b91c9c926cd2ea7fd8bd02f9;hpb=1f2182ecf43f98222d14b2a25190221cb7ef1ce1;p=infra%2Fcicd.git diff --git a/jjb/metal3/job_integration_tests.yml b/jjb/metal3/job_integration_tests.yml index edd807eb..20a6ca20 100644 --- a/jjb/metal3/job_integration_tests.yml +++ b/jjb/metal3/job_integration_tests.yml @@ -25,7 +25,7 @@ # pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository. - job-template: - name: '{job_prefix}_{proj}_{version}_integration_test_{image_os}{name_postfix}' + name: '{job_prefix}_{proj}_{capm3_target_branch}_integration_test_{image_os}{name_postfix}' description: "CAPM3 {capm3_version} integration tests for {org}/{repo} on {image_os} with ironic installed from {ironic_install_type}." id: 'integration_tests' project-type: pipeline @@ -53,6 +53,10 @@ name: ghprbTargetBranch default: 'main' description: 'Target branch of the PR' + - string: + name: capm3_release_branch + default: '{capm3_release_branch}' + description: 'The target branch of CAPM3 to be used for this test' - string: name: IMAGE_OS default: '{image_os}' @@ -73,14 +77,6 @@ name: IRONIC_INSTALL_TYPE default: '{ironic_install_type}' description: 'Sets the installation type of ironic during ironic-image build of the BMO deployment' - - string: - name: IRONIC_LOCAL_IMAGE - default: '{ironic_repo}' - description: 'In case of ironic-image PR tested with ironic source install, the source repo of the PR will be used to build the local ironic-image' - - string: - name: IRONIC_LOCAL_IMAGE_BRANCH - default: '${ironic_branch}' - description: 'In case of ironic-image PR tested with ironic source install, the source branch of the PR will be used to build the local ironic-image' properties: - build-discarder: days-to-keep: 30 @@ -97,7 +93,7 @@ org-list: "{ci_github_whitelist_org}" cron: 'H/5 * * * *' auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '((.|\n)*\s)?/test-{{version}}-{{image_os}}-integration{trigger_postfix}(\s(.|\n)*)?' + trigger-phrase: '((.|\n)*\s)?/test-{image_os}-integration-{capm3_target_branch}{trigger_postfix}(\s(.|\n)*)?' skip-build-phrase: '/skip-test' only-trigger-phrase: True github-hooks: True @@ -105,7 +101,7 @@ auto-close-on-fail: False allow-whitelist-orgs-as-admins: True white-list-target-branches: "{target_branches}" - status-context: "test-{version}-{image_os}-integration" + status-context: "test-{image_os}-integration-{capm3_target_branch}" success-status: "Passed" failure-status: "Failed" error-status: "Error"