X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fairship%2Fjob_ipa_image_building_test.yml;h=c06fed1aba9fc18052232eb34a1780d87d3f72a3;hb=refs%2Fchanges%2F80%2F11980%2F1;hp=013542a47fd553ffc2a338ed44505584609e8556;hpb=348a095e79c6ce49d63c00d249b594b121fd087a;p=infra%2Fcicd.git diff --git a/jjb/airship/job_ipa_image_building_test.yml b/jjb/airship/job_ipa_image_building_test.yml index 013542a4..c06fed1a 100644 --- a/jjb/airship/job_ipa_image_building_test.yml +++ b/jjb/airship/job_ipa_image_building_test.yml @@ -25,14 +25,62 @@ # 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]}' @@ -53,6 +101,10 @@ 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: @@ -79,6 +131,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' status-context: "test-ipa" success-status: "Passed" failure-status: "Failed"