Airship Parameterize the script path for e2e metal3 tests
[infra/cicd.git] / jjb / airship / job_capi_bm_integration_tests_centos.yml
index b46c3fc42a64ee55dbe6d68b29d0d4002ddeaf2c..b0cab355f386f39e8174abdcd05158c9cf51ed20 100644 (file)
         name: DISTRIBUTION
         default: 'centos'
         description: 'Distribution to use for the tests. Can be ubuntu or centos'
+    - string:
+        name: CAPI_VERSION
+        default: 'v1alpha1'
+        description: 'Cluster API version. Can be v1alpha1 or v1alpha2'
+    - string:
+        name: TARGET_NODE_OS
+        default: 'Centos'
+        description: 'Distribution to use for the target host.'
+    - string:
+        name: TARGET_NODE_MEMORY
+        default: 8192
+        description: 'RAM size of the target host.'
 
     properties:
     - build-discarder:
@@ -74,8 +86,9 @@
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
-          - master
-        status-context: "integration-tests-centos"
+          - 'master'
+          - 'v1alpha1'
+        status-context: "test-centos-integration"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
-      script-path: 'ci/jobs/capi_bm_integration_tests.pipeline'
+      script-path: "{ci_github_pipeline}"
       lightweight-checkout: False