- 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
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}'
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"
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:
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'