metal3: parameterize image_os
[infra/cicd.git] / jjb / metal3 / job_capm3_v1a5_main_integration_tests.yml
similarity index 94%
rename from jjb/metal3/job_capm3_v1a5_main_integration_tests_centos.yml
rename to jjb/metal3/job_capm3_v1a5_main_integration_tests.yml
index dddd8312573b107bbc66b3e65e4d78f4ed38216c..05c65ed0dc87a748df7300b10a3b02aab74edae5 100644 (file)
@@ -25,9 +25,9 @@
 # pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository.
 
 - job-template:
-    id: capm3_v1a5_main_integration_tests_centos
-    name: '{job_prefix}_main_v1a5_integration_test_centos'
-    description: "CAPM3 v1alpha5 main integration tests for {repo[org]}/{repo[name]} on CentOS."
+    id: capm3_v1a5_main_integration_tests
+    name: '{job_prefix}_main_v1a5_integration_test_{image_os}'
+    description: "CAPM3 v1alpha5 main integration tests for {repo[org]}/{repo[name]} on {image_os}."
     project-type: pipeline
     defaults: global
     disabled: False
@@ -55,7 +55,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