Change default BMO branch to main
[infra/cicd.git] / jjb / airship / job_ipa_image_building_test.yml
index 013542a47fd553ffc2a338ed44505584609e8556..c06fed1aba9fc18052232eb34a1780d87d3f72a3 100644 (file)
 # The pipeline scripts are maintained in Nordix/airship-dev-tools repository.
 
 - job-template:
-    id: metal3_ipa_and_ironic_image_building_test_centos
-    name: '{job_prefix}_openstack_ipa_and_ironic_image_building_centos'
-    description: "IPA and Ironic image building test on Centos."
+    id: metal3_ipa_and_ironic_image_building_test
+    name: '{job_prefix}_openstack_ipa_and_ironic_image_building'
+    description: "IPA and Ironic image building test."
     project-type: pipeline
     defaults: global
     disabled: False
     concurrent: True
     parameters:
+    - string:
+        name: IRONIC_REFSPEC
+        default: ''
+        description: 'Gerrit refspec of the patch we want to test. Example: refs/changes/84/800084/22'
+    - string:
+        name: IRONIC_IMAGE_REPO_COMMIT
+        default: 'HEAD'
+        description: 'Ironic Image repository commit hash to build'
+    - string:
+        name: IRONIC_IMAGE_BRANCH
+        default: 'master'
+        description: 'Ironic image repository branch to build'
+    - string:
+        name: IRONIC_INSPECTOR_REFSPEC
+        default: ''
+        description: 'Gerrit refspec of the patch we want to test. Example: refs/changes/84/800084/22'
+    - string:
+        name: IPA_COMMIT
+        default: 'HEAD'
+        description: 'Ironic Python Agent repository commit hash to build'
+    - string:
+        name: IPA_BRANCH
+        default: 'master'
+        description: 'Ironic Python Agent repository branch to build'
+    - string:
+        name: BMO_COMMIT
+        default: 'HEAD'
+        description: 'Bare Metal Operator repository commit hash to build'
+    - string:
+        name: BMO_BRANCH
+        default: 'main'
+        description: 'Bare Metal Operator repository branch to build'
+    - string:
+        name: IPA_BUILDER_BRANCH
+        default: 'master'
+        description: 'Ironic Python Agent builder repository tool branch'
+    - string:
+        name: IPA_BUILDER_COMMIT
+        default: 'HEAD'
+        description: 'Ironic Python Agent builder repository tool commit'
+    - string:
+        name: METAL3_DEV_ENV_BRANCH
+        default: 'master'
+        description: 'Metal3 dev env repository branch'
+    - string:
+        name: METAL3_DEV_ENV_COMMIT
+        default: 'HEAD'
+        description: 'Metal3 dev env repository commit'
     - string:
         name: PROJECT_REPO_ORG
         default: '{repo[org]}'
         name: ghprbTargetBranch
         default: 'master'
         description: 'Target branch of the PR'
+    - string:
+        name: STAGING
+        default: 'false'
+        description: 'Configures IPA builder upload mode (staging/review)'
 
     properties:
     - build-discarder:
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
           - 'master'
+          - 'main'
         status-context: "test-ipa"
         success-status: "Passed"
         failure-status: "Failed"