Airship Parameterize the script path for e2e metal3 tests
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a2_integration_tests_ubuntu.yml
index 305550fef3522525dfeab434c60bba4c559bdeb1..2b7686759f00c3964f6c28c640c3b71dcfc68126 100644 (file)
     - string:
         name: CAPI_VERSION
         default: 'v1alpha2'
-        description: 'Cluster API version. Can be v1alpha1 or v1alpha2'
+        description: 'Cluster API version. Can be v1alpha1 or v1alpha2.'
+    - string:
+        name: TARGET_NODE_OS
+        default: 'Ubuntu'
+        description: 'Distribution to use for the target host.'
+    - string:
+        name: TARGET_NODE_MEMORY
+        default: 4096
+        description: 'RAM size of the target host.'
 
     properties:
     - build-discarder:
@@ -70,7 +78,7 @@
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '/test-integration'
+        trigger-phrase: '/test-v1a2-integration'
         skip-build-phrase: '/skip-test'
         only-trigger-phrase: True
         github-hooks: False
@@ -79,8 +87,8 @@
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
           - 'master'
-          - 'v1alpha1'
-        status-context: "v1a2-integration-tests-ubuntu"
+          - 'v1alpha2'
+        status-context: "test-v1a2-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