- job-template:
id: capm3_e2e_upgrade_tests
- name: '{job_prefix}_{name}_v1b1_e2e_upgrade_test_{image_os}'
- description: "CAPM3 e2e upgrade tests for {repo[org]}/{repo[name]} on {image_os}."
+ name: '{job_prefix}_{proj}_main_e2e_upgrade_test_{image_os}'
+ description: "CAPM3 e2e upgrade tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
disabled: False
parameters:
- string:
name: PROJECT_REPO_ORG
- default: '{repo[org]}'
+ default: '{org}'
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
- default: '{repo[name]}'
+ default: '{repo}'
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'CI Repo branch for triggering manual build'
- string:
name: ghprbAuthorRepoGitUrl
- default: 'https://github.com/{repo[org]}/{repo[name]}.git'
+ default: 'https://github.com/{org}/{repo}.git'
description: 'CI Repo URL for triggering manual build'
- string:
name: ghprbTargetBranch
name: IMAGE_OS
default: '{image_os}'
description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos'
+ - string:
+ name: capm3_release_branch
+ default: 'main'
+ description: 'The target branch of CAPM3 to be used for this test'
- string:
name: CAPI_VERSION
default: 'v1beta1'
name: TESTS_FOR
default: "e2e_tests"
description: 'Tests using the e2e framework.'
- - bool:
- name: UPGRADE_TEST
- default: True
+ - string:
+ name: GINKGO_FOCUS
+ default: "upgrade"
description: 'Select the e2e upgrade test'
properties:
artifact-days-to-keep: -1
artifact-num-to-keep: -1
- github:
- url: https://github.com/{repo[org]}/{repo[name]}
+ url: https://github.com/{org}/{repo}
triggers:
- github-pull-request:
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-v1b1-upgrade-e2e(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-upgrade-e2e-main(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
allow-whitelist-orgs-as-admins: True
white-list-target-branches:
- 'main'
- status-context: "test-v1b1-upgrade-e2e"
+ status-context: "test-upgrade-e2e-main"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"