# pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository.
- job-template:
- id: feature_tests_centos
- name: '{job_prefix}_{name}_feature_tests_centos'
- description: "Inspection, remediation, pivoting, node reuse and repivoting feature tests on Centos."
+ id: feature_tests
+ name: '{job_prefix}_{name}_feature_tests_{image_os}'
+ description: "Inspection, remediation, pivoting, node reuse and repivoting feature tests on {image_os}."
project-type: pipeline
defaults: global
disabled: False
description: 'Target branch of the PR'
- string:
name: IMAGE_OS
- default: 'centos'
+ default: '{image_os}'
description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos'
- string:
name: CAPI_VERSION
description: 'Number of libvirt VMs.'
- string:
name: TESTS_FOR
- default: "feature_tests_centos"
+ default: "feature_tests_{image_os}"
description: 'Tests for pivoting and remediation.'
properties:
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-features-centos(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-features-{image_os}(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
- 'main'
- 'release-0.5'
- 'release-0.1'
- status-context: "test-features-centos"
+ status-context: "test-features-{image_os}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"