add job bml master integration test centos
[infra/cicd.git] / jjb / airship / job_bml_master_integration_tests_centos.yml
similarity index 76%
rename from jjb/airship/job_bml_integration_test_ubuntu.yml
rename to jjb/airship/job_bml_master_integration_tests_centos.yml
index fc7bd32c101a42c9c19af03a777d3655570d50d8..eb967e38093c402a4fa05af379ecca849a073400 100644 (file)
@@ -25,9 +25,9 @@
 # pipeline job. The pipeline scripts are maintained in Airship CI repository.
 
 - job-template:
-    id: bml_integration_test_ubuntu
-    name: '{job_prefix}_{name}_bml_integration_test_ubuntu'
-    description: "K8s CAPIM3 v1alpha5 integration tests for {repo[org]}/{repo[name]} on Ubuntu in Bare Metal Lab."
+    id: bml_master_integration_tests_centos
+    name: '{job_prefix}_{name}_bml_master_integration_tests_centos'
+    description: "K8s CAPIM3 v1alpha5 integration tests for {repo[org]}/{repo[name]} on CentOS in Bare Metal Lab."
     project-type: pipeline
     defaults: global
     disabled: False
@@ -55,7 +55,7 @@
         description: 'Target branch of the PR'
     - string:
         name: DISTRIBUTION
-        default: 'ubuntu'
+        default: 'centos'
         description: 'Distribution to use for the tests. Can be ubuntu or centos'
     - string:
         name: CAPI_VERSION
@@ -67,7 +67,7 @@
         description: 'Cluster API provider Metal3 version.'
     - string:
         name: TARGET_NODE_OS
-        default: 'Ubuntu'
+        default: 'Centos'
         description: 'Distribution to use for the target host.'
     - string:
         name: TARGET_NODE_MEMORY
         num-to-keep: 300
         artifact-days-to-keep: -1
         artifact-num-to-keep: -1
-    - github:
-        url: https://github.com/{repo[org]}/{repo[name]}
 
     triggers:
-    - github-pull-request:
-        admin-list:
-          - '{ci_github_admin_user}'
-        org-list: "{ci_github_whitelist_org}"
-        cron: 'H/5 * * * *'
-        auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-integration-bml-ubuntu(\s(.|\n)*)?'
-        skip-build-phrase: '/skip-test'
-        only-trigger-phrase: True
-        github-hooks: True
-        permit-all: False
-        auto-close-on-fail: False
-        allow-whitelist-orgs-as-admins: True
-        white-list-target-branches:
-          - 'master'
-          - 'main'
-        status-context: "test-integration-bml-ubuntu"
-        success-status: "Passed"
-        failure-status: "Failed"
-        error-status: "Error"
-        cancel-builds-on-update: True
+    - timed: "H 2 * * *"
+    
     pipeline-scm:
       scm:
       - git: