metal3: parameterize image_os
[infra/cicd.git] / jjb / metal3 / job_main_feature_tests.yml
similarity index 94%
rename from jjb/metal3/job_main_feature_tests_centos.yml
rename to jjb/metal3/job_main_feature_tests.yml
index f4a5b61b27e0fbdecf16ab53435552704f48fa93..bedd509406de26b5bd5f0430be0887e154de24ba 100644 (file)
@@ -26,9 +26,9 @@
 # pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository.
 
 - job-template:
-    id: main_feature_tests_centos
-    name: '{job_prefix}_main_feature_tests_centos'
-    description: "Inspection, remediation, pivoting, node reuse and repivoting main feature tests on Centos."
+    id: main_feature_tests
+    name: '{job_prefix}_main_feature_tests_{image_os}'
+    description: "Inspection, remediation, pivoting, node reuse and repivoting main feature tests on {image_os}."
     project-type: pipeline
     defaults: global
     disabled: False
@@ -56,7 +56,7 @@
         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
@@ -76,7 +76,7 @@
         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: