X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fmetal3%2Fjob_capm3_e2e_basic_tests.yml;h=80292e8d22bd0a528359771b42e5892c03ff84a3;hb=refs%2Fchanges%2F54%2F20854%2F1;hp=7336ec98f85db5678569dc1224cfba0c660f6dd5;hpb=e7617009775c6b945996524697854c31c9420911;p=infra%2Fcicd.git diff --git a/jjb/metal3/job_capm3_e2e_basic_tests.yml b/jjb/metal3/job_capm3_e2e_basic_tests.yml index 7336ec98..80292e8d 100644 --- a/jjb/metal3/job_capm3_e2e_basic_tests.yml +++ b/jjb/metal3/job_capm3_e2e_basic_tests.yml @@ -26,33 +26,38 @@ - job-template: id: capm3_e2e_basic_tests - name: '{job_prefix}_{proj}_{capm3_target_branch}_e2e_basic_test_{image_os}' - description: "CAPM3 {capm3_version} e2e basic integration tests for {org}/{repo} on {image_os}." + name: '{job_prefix}-{image_os}-e2e-basic-test-{capm3_target_branch}' + description: "CAPM3 {capm3_version} e2e basic integration tests on {image_os}." project-type: pipeline defaults: global disabled: False concurrent: True parameters: + # Parameters set by Prow - string: - name: PROJECT_REPO_ORG - default: '{org}' + name: BUILD_ID + description: 'Used by Prow when triggering jobs' + - string: + name: PROW_JOB_ID + description: 'Used by Prow when triggering jobs' + - string: + name: REPO_OWNER description: 'Project github repo org name' - string: - name: PROJECT_REPO_NAME - default: '{repo}' + name: REPO_NAME description: 'Project github repo name' - string: - name: ghprbActualCommit - default: 'main' - description: 'CI Repo branch for triggering manual build' + name: PULL_BASE_REF + default: '{capm3_release_branch}' + description: 'Ref name of the base branch' - string: - name: ghprbAuthorRepoGitUrl - default: 'https://github.com/{org}/{repo}.git' - description: 'CI Repo URL for triggering manual build' + name: PULL_PULL_SHA + default: '{capm3_release_branch}' + description: 'Pull request head SHA' - string: - name: ghprbTargetBranch - default: 'main' - description: 'Target branch of the PR' + name: PULL_NUMBER + description: 'Pull request number' + # End of Prow parameters - string: name: IMAGE_OS default: '{image_os}' @@ -61,6 +66,10 @@ name: capm3_release_branch default: '{capm3_release_branch}' description: 'The target branch of CAPM3 to be used for this test' + - string: + name: bmo_release_branch + default: '{bmo_release_branch}' + description: 'The target branch of BMO to be used for this test' - string: name: CAPI_VERSION default: '{capi_version}' @@ -88,29 +97,9 @@ num-to-keep: 300 artifact-days-to-keep: -1 artifact-num-to-keep: -1 - - github: - url: https://github.com/{org}/{repo} - 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-{image_os}-e2e-basic-{capm3_target_branch}(\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: "{target_branches}" - status-context: "test-{image_os}-e2e-basic-{capm3_target_branch}" - success-status: "Passed" - failure-status: "Failed" - error-status: "Error" - cancel-builds-on-update: True + triggers: [] + pipeline-scm: scm: - git: @@ -123,5 +112,30 @@ wipe-workspace: True honor-refspec: True shallow-clone: False - script-path: "{ci_github_pipeline}" + script-path: "jenkins/jobs/prow_integration_tests.pipeline" lightweight-checkout: False + +- project: + name: "capm3-basic" + image_os: + - ubuntu + - centos + jobs: + - capm3_e2e_basic_tests: + capm3_target_branch: + - main: + capi_version: v1beta1 + capm3_version: v1beta1 + capm3_release_branch: main + bmo_release_branch: main + target_branches: + - 'main' + - release-1-6: + capi_version: v1beta1 + capm3_version: v1beta1 + capm3_release_branch: release-1.6 + bmo_release_branch: release-0.5 + target_branches: + - 'main' + - 'release-1.6' + - 'release-0.5'