Airship: Update triggers after capm3 release
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a3_integration_tests_centos.yml
index 4333a6769017492a72c32f537171167a3c8f6f93..72bdc02e9e156c54be76def64356035a34031c04 100644 (file)
         name: ghprbAuthorRepoGitUrl
         default: 'https://github.com/{repo[org]}/{repo[name]}.git'
         description: 'CI Repo URL for triggering manual build'
+    - string:
+        name: ghprbTargetBranch
+        default: 'master'
+        description: 'Target branch of the PR'
     - string:
         name: DISTRIBUTION
         default: 'centos'
     - string:
         name: CAPI_VERSION
         default: 'v1alpha3'
-        description: 'Cluster API version. Can be v1alpha1, v1alpha2 or v1alpha3.'
+        description: 'Cluster API version. Can be v1alpha3.'
+    - string:
+        name: CAPM3_VERSION
+        default: 'v1alpha3'
+        description: 'Cluster API provider Metal3 version. Can be v1alpha3 or v1alpha4.'
     - string:
         name: TARGET_NODE_OS
-        default: 'Ubuntu'
+        default: 'Centos'
         description: 'Distribution to use for the target host.'
     - string:
         name: TARGET_NODE_MEMORY
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '/test-v1a3-centos-integration'
+        trigger-phrase: '((.|\n)*\s)?/test-v1a3-centos-integration(\s(.|\n)*)?'
         skip-build-phrase: '/skip-test'
         only-trigger-phrase: True
-        github-hooks: False
+        github-hooks: True
         permit-all: False
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
           - 'master'
-          - 'v1alpha3'
-        status-context: "test-v1a3-centos-integration"
+          - 'release-0.3'
+        status-context: "test-centos-integration"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"