Change-Id: I411ad3a3815a515ff245f5b63b0e043c8c2083b6
- job-template:
id: capm3_e2e_tests
- job-template:
id: capm3_e2e_tests
- name: '{job_prefix}_{name}_{version}_e2e_test_{image_os}'
- description: "CAPM3 {capm3_version} e2e tests for {repo[org]}/{repo[name]} on {image_os}."
+ name: '{job_prefix}_{proj}_{version}_e2e_test_{image_os}'
+ description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
disabled: False
project-type: pipeline
defaults: global
disabled: False
parameters:
- string:
name: PROJECT_REPO_ORG
parameters:
- string:
name: PROJECT_REPO_ORG
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
- default: '{repo[name]}'
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'CI Repo branch for triggering manual build'
- string:
name: ghprbAuthorRepoGitUrl
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
description: 'CI Repo URL for triggering manual build'
- string:
name: ghprbTargetBranch
artifact-days-to-keep: -1
artifact-num-to-keep: -1
- github:
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:
triggers:
- github-pull-request:
- job-template:
id: capm3_e2e_upgrade_tests
- 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}_v1b1_e2e_upgrade_test_{image_os}'
+ description: "CAPM3 e2e upgrade tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
disabled: False
project-type: pipeline
defaults: global
disabled: False
parameters:
- string:
name: PROJECT_REPO_ORG
parameters:
- string:
name: PROJECT_REPO_ORG
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
- default: '{repo[name]}'
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'CI Repo branch for triggering manual build'
- string:
name: ghprbAuthorRepoGitUrl
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
description: 'CI Repo URL for triggering manual build'
- string:
name: ghprbTargetBranch
artifact-days-to-keep: -1
artifact-num-to-keep: -1
- github:
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:
triggers:
- github-pull-request:
- job-template:
id: keep_capm3_e2e_tests
- job-template:
id: keep_capm3_e2e_tests
- name: '{job_prefix}_keep_{name}_{version}_e2e_test_{image_os}'
- description: "CAPM3 {capm3_version} e2e tests for {repo[org]}/{repo[name]} on {image_os}."
+ name: '{job_prefix}_keep_{proj}_{version}_e2e_test_{image_os}'
+ description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
disabled: False
project-type: pipeline
defaults: global
disabled: False
parameters:
- string:
name: PROJECT_REPO_ORG
parameters:
- string:
name: PROJECT_REPO_ORG
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
description: 'Project github repo org name'
- string:
name: PROJECT_REPO_NAME
- default: '{repo[name]}'
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'Project github repo name'
- string:
name: ghprbActualCommit
description: 'CI Repo branch for triggering manual build'
- string:
name: ghprbAuthorRepoGitUrl
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
description: 'CI Repo URL for triggering manual build'
- string:
name: ghprbTargetBranch
artifact-days-to-keep: -1
artifact-num-to-keep: -1
- github:
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:
triggers:
- github-pull-request:
- repo:
- org: "metal3-io"
- name: "cluster-api-provider-metal3"
+ org: metal3-io
+ proj:
+ - capm3:
+ repo: cluster-api-provider-metal3
+ - project_infra:
+ repo: project-infra
+ branch: '${{ghprbActualCommit}}'
+ ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
image_os:
- ubuntu
- centos
image_os:
- ubuntu
- centos
capm3_version: v1alpha5
target_branches:
- 'release-0.5'
capm3_version: v1alpha5
target_branches:
- 'release-0.5'
+
+- project:
+ name: "capm3-main-tests"
+ repo:
+ org: "metal3-io"
+ name: "cluster-api-provider-metal3"
+ image_os:
+ - ubuntu
+ - centos
+ jobs:
- capm3_main_e2e_upgrade_tests:
exclude:
- image_os: centos
- capm3_main_e2e_upgrade_tests:
exclude:
- image_os: centos