metal3: Rename DISTRIBUTION -> IMAGE_OS
[infra/cicd.git] / jjb / metal3 / job_capm3_v1a4_integration_tests.yml
index feb4d7d2b8dbb6a73a11d72bcf418c33a77e14ab..0dc65995cb4fa76b800fb70bcb34c3ec716277ad 100644 (file)
@@ -26,8 +26,8 @@
 
 - job-template:
     id: capm3_v1a4_integration_tests
-    name: '{job_prefix}_{name}_v1a4_integration_test_{distribution}'
-    description: "CAPM3 v1alpha4 integration tests for {repo[org]}/{repo[name]} on {distribution}."
+    name: '{job_prefix}_{name}_v1a4_integration_test_{image_os}'
+    description: "CAPM3 v1alpha4 integration tests for {repo[org]}/{repo[name]} on {image_os}."
     project-type: pipeline
     defaults: global
     disabled: False
@@ -54,9 +54,9 @@
         default: 'master'
         description: 'Target branch of the PR'
     - string:
-        name: DISTRIBUTION
-        default: '{distribution}'
-        description: 'Distribution to use for the target host and the tests. Can be ubuntu or centos'
+        name: IMAGE_OS
+        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
         default: 'v1alpha3'
@@ -86,7 +86,7 @@
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-v1a4-{distribution}-integration(\s(.|\n)*)?'
+        trigger-phrase: '((.|\n)*\s)?/test-v1a4-{image_os}-integration(\s(.|\n)*)?'
         skip-build-phrase: '/skip-test'
         only-trigger-phrase: True
         github-hooks: True
@@ -98,7 +98,7 @@
           - 'main'
           - 'release-0.4'
           - 'release-0.0'
-        status-context: "test-v1a4-{distribution}-integration"
+        status-context: "test-v1a4-{image_os}-integration"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"