Change-Id: Ifb9d04095e825f3c5b06b9040d116b05ea2cf89b
- job-template:
id: capm3_e2e_tests
- job-template:
id: capm3_e2e_tests
- name: '{job_prefix}_{proj}_{version}_e2e_test_{image_os}'
+ name: '{job_prefix}_{proj}_{capm3_target_branch}_e2e_test_{image_os}'
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-{version}-{image_os}-e2e(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-{image_os}-e2e-{capm3_target_branch}(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
- status-context: "test-{version}-{image_os}-e2e"
+ status-context: "test-{image_os}-e2e-{capm3_target_branch}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
- job-template:
id: capm3_e2e_tests_parallel
- job-template:
id: capm3_e2e_tests_parallel
- name: '{job_prefix}_{proj}_{version}_e2e_test_{image_os}_parallel'
+ name: '{job_prefix}_{proj}_{capm3_target_branch}_e2e_test_{image_os}_parallel'
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-{version}-{image_os}-e2e-parallel(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-{image_os}-e2e-parallel-{capm3_target_branch}(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
- status-context: "test-{version}-{image_os}-e2e-parallel"
+ status-context: "test-{image_os}-e2e-parallel-{capm3_target_branch}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
- job-template:
id: capm3_main_e2e_tests
- job-template:
id: capm3_main_e2e_tests
- name: '{job_prefix}_main_{version}_e2e_test_{image_os}'
+ name: '{job_prefix}_main_{capm3_target_branch}_e2e_test_{image_os}'
description: "CAPM3 {capm3_version} e2e tests for {repo[org]}/{repo[name]} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} e2e tests for {repo[org]}/{repo[name]} on {image_os}."
project-type: pipeline
defaults: global
- job-template:
id: capm3_main_integration_tests
- job-template:
id: capm3_main_integration_tests
- name: '{job_prefix}_main_{version}_integration_test_{image_os}'
+ name: '{job_prefix}_main_{capm3_target_branch}_integration_test_{image_os}'
description: "CAPM3 {capm3_version} integration tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} integration tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
# pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository.
- job-template:
# 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
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
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
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
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
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"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
- job-template:
id: keep_capm3_e2e_tests
- job-template:
id: keep_capm3_e2e_tests
- name: '{job_prefix}_keep_{proj}_{version}_e2e_test_{image_os}'
+ name: '{job_prefix}_keep_{proj}_{capm3_target_branch}_e2e_test_{image_os}'
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/keep-test-{version}-{image_os}-e2e(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/keep-test-{image_os}-e2e-{capm3_target_branch}(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
- status-context: "keep-test-{version}-{image_os}-e2e"
+ status-context: "keep-test-{image_os}-e2e-{capm3_target_branch}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
- job-template:
id: keep_integration_tests
- job-template:
id: keep_integration_tests
- name: '{job_prefix}_{proj}_keep_{version}_test_{image_os}_alive'
+ name: '{job_prefix}_{proj}_keep_{capm3_target_branch}_test_{image_os}_alive'
description: "CAPM3 {capm3_version} integration tests for keeping the vm for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
description: "CAPM3 {capm3_version} integration tests for keeping the vm for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/keep-test-{version}-{image_os}-integration(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/keep-test-{image_os}-integration-{capm3_target_branch}(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
- status-context: "keep-test-{version}-{image_os}-integration"
+ status-context: "keep-test-{image_os}-integration-{capm3_target_branch}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
image_os:
- ubuntu
- centos
image_os:
- ubuntu
- centos
+ capm3_target_branch:
+ - main:
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
exclude:
- proj: ironic_ipa_downloader
image_os: centos
exclude:
- proj: ironic_ipa_downloader
image_os: centos
+ capm3_target_branch: release-0-5
jobs:
- integration_tests
jobs:
- integration_tests
image_os:
- ubuntu
- centos
image_os:
- ubuntu
- centos
+ capm3_target_branch:
+ - main:
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
exclude:
- image_os: centos
- capm3_main_integration_tests:
exclude:
- image_os: centos
- capm3_main_integration_tests:
+ capm3_target_branch:
+ - main:
capi_version: v1beta1
capm3_version: v1beta1
schedule: "H 4 * * *"
capi_version: v1beta1
capm3_version: v1beta1
schedule: "H 4 * * *"
capi_version: v1alpha4
capm3_version: v1alpha5
schedule: "30 4 * * *"
capi_version: v1alpha4
capm3_version: v1alpha5
schedule: "30 4 * * *"
image_os:
- ubuntu
- centos
image_os:
- ubuntu
- centos
+ capm3_target_branch:
+ - main:
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1beta1
capm3_version: v1beta1
target_branches:
- 'main'
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
capi_version: v1alpha4
capm3_version: v1alpha5
target_branches:
- capm3_e2e_upgrade_tests:
exclude:
- image_os: centos
- capm3_e2e_upgrade_tests:
exclude:
- image_os: centos
- - version:
- - v1b1
- - v1a5
+ - capm3_target_branch:
+ - main
+ - release-0-5
- capm3_e2e_tests_parallel:
exclude:
- capm3_e2e_tests_parallel:
exclude:
+ - capm3_target_branch:
+ - release-0-5
- capm3_e2e_tests:
- keep_capm3_e2e_tests:
- capm3_e2e_tests:
- keep_capm3_e2e_tests:
exclude:
- image_os: ubuntu
- capm3_main_e2e_tests:
exclude:
- image_os: ubuntu
- capm3_main_e2e_tests:
+ capm3_target_branch:
+ - main:
capi_version: v1beta1
capm3_version: v1beta1
capm3_branch: main
schedule: "H 20 * * *"
capi_version: v1beta1
capm3_version: v1beta1
capm3_branch: main
schedule: "H 20 * * *"
capi_version: v1alpha4
capm3_version: v1alpha5
capm3_branch: release-0.5
capi_version: v1alpha4
capm3_version: v1alpha5
capm3_branch: release-0.5