- job-template:
id: keep_integration_tests
- name: '{job_prefix}_{proj}_keep_{version}_test_{image_os}_alive'
+ name: '{job_prefix}_{proj}_keep_{capm3_target_branch}_test_{image_os}_alive'
description: "CAPM3 {capm3_version} integration tests for keeping the vm for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
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: '{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}'
default: 4096
description: 'RAM size of the target host.'
- string:
- name: SKIP_DELETION
+ name: KEEP_TEST_ENV
default: 'true'
- description: 'Whether tester VM should be deleted or not by the end of the test'
+ description: 'Whether tester VM and test env should be deleted or not by the end of the test'
properties:
- build-discarder:
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/keep-test-{version}-{image_os}-integration(\s(.|\n)*)?'
+ trigger-phrase: '.*?/keep-test-{image_os}-integration-{capm3_target_branch}.*?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
white-list-target-branches: "{target_branches}"
- status-context: "keep-test-{version}-{image_os}-integration"
+ status-context: "keep-test-{image_os}-integration-{capm3_target_branch}"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"