X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fmetal3%2Fjob_capm3_e2e_basic_tests.yml;h=eb21a4c2bb3fed8991b35eee060db72b3a2a28bc;hb=HEAD;hp=2104cae8a22247792cdac2f88cb0f178e37c30f6;hpb=cc53d6764a818bc400fe15a58a94b975a292f117;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 2104cae8..eb21a4c2 100644 --- a/jjb/metal3/job_capm3_e2e_basic_tests.yml +++ b/jjb/metal3/job_capm3_e2e_basic_tests.yml @@ -26,8 +26,8 @@ - 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 @@ -42,41 +42,22 @@ description: 'Used by Prow when triggering jobs' - string: name: REPO_OWNER - default: '{org}' description: 'Project github repo org name' - string: name: REPO_NAME - default: '{repo}' description: 'Project github repo name' - string: name: PULL_BASE_REF - default: 'main' + default: '{capm3_release_branch}' description: 'Ref name of the base branch' - string: name: PULL_PULL_SHA - default: 'main' + default: '{capm3_release_branch}' description: 'Pull request head SHA' - # End of Prow parameters - - string: - name: PROJECT_REPO_ORG - default: '{org}' - description: 'Project github repo org name' - - string: - name: PROJECT_REPO_NAME - default: '{repo}' - description: 'Project github repo name' - - string: - name: ghprbActualCommit - default: 'main' - description: 'CI Repo branch for triggering manual build' - - string: - name: ghprbAuthorRepoGitUrl - default: 'https://github.com/{org}/{repo}.git' - description: 'CI Repo URL for triggering manual build' - 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}' @@ -102,9 +83,9 @@ default: 4096 description: 'RAM size of the target host.' - string: - name: TESTS_FOR - default: "e2e_tests" - description: 'Tests using the e2e framework.' + name: NUM_NODES + default: 2 + description: 'Number of libvirt VMs.' - string: name: GINKGO_FOCUS default: "basic" @@ -116,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: '.*?/test-{image_os}-e2e-basic-{capm3_target_branch}.*?' - 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: @@ -151,5 +112,39 @@ wipe-workspace: True honor-refspec: True shallow-clone: False - script-path: "jenkins/jobs/prow_integration_tests.pipeline" + script-path: "{e2e_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-7: + capi_version: v1beta1 + capm3_version: v1beta1 + capm3_release_branch: release-1.7 + bmo_release_branch: release-0.6 + target_branches: + - 'main' + - 'release-1.7' + - 'release-0.6' + - 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'