3 # Default "type" of job is "pull", as in pull request,
4 # and the default GINKGO_FOCUS is empty (all tests required in BMO PRs)
7 # Default BMO branch to trigger the test in is "main"
9 # These jobs are triggered by prow for PRs (empty trigger here) or by timer (see below)
13 - "{job_prefix}-{name}-e2e-test-{type}"
14 # This job runs the "optional" set, which currently includes only "upgrade" tests
15 - "{job_prefix}-{name}-e2e-test-{type}":
17 GINKGO_FOCUS: "upgrade"
18 - "{job_prefix}-{name}-e2e-test-{type}":
21 # Run at 02:45 (UTC) every day
23 - "{job_prefix}-{name}-e2e-test-{type}":
24 type: optional-periodic
25 GINKGO_FOCUS: "upgrade"
27 # Run at 03:45 (UTC) every day
30 # Pediodic jobs for release branches
31 - "{job_prefix}-{name}-e2e-test-{type}":
32 type: periodic-release-0.6
33 BRANCH_NAME: "release-0.6"
35 # Run at 01:45 (UTC) every odd day
36 - timed: "45 1 1-31/2 * *"
37 - "{job_prefix}-{name}-e2e-test-{type}":
38 type: periodic-release-0.5
39 BRANCH_NAME: "release-0.5"
41 # Run at 01:45 (UTC) every even day
42 - timed: "45 1 2-30/2 * *"
45 name: "{job_prefix}-{name}-e2e-test-{type}"
46 project-type: pipeline
52 # Parameters set by Prow
55 description: 'Used by Prow when triggering jobs'
58 description: 'Used by Prow when triggering jobs'
61 description: 'Project github repo org name'
64 description: 'Project github repo name'
67 default: '{BRANCH_NAME}'
68 description: 'Ref name of the base branch'
71 default: '{BRANCH_NAME}' # Default set to branch name. This is needed when running periodic jobs
72 description: 'Pull request head SHA'
73 # End of Prow parameters
76 default: '{GINKGO_FOCUS}'
77 description: 'The focus test to run'
83 artifact-days-to-keep: -1
84 artifact-num-to-keep: -1
86 url: https://github.com/metal3-io/baremetal-operator
88 triggers: "{triggers}"
93 url: "{ci_github_repo}"
94 credentials-id: "{ci_github_jenkins_credentials_id}"
98 refspec: "+refs/heads/*:refs/remotes/origin/*"
102 script-path: "jenkins/jobs/bmo_e2e_tests.pipeline"
103 lightweight-checkout: False