3 # Default "type" of job is "pull", as in pull request with the default set (all tests required in BMO PRs) the default trigger is then also for PR comments,
4 # and the default GINKGO_FOCUS is empty
8 # Trigger the job based on comments on a GH pull request.
11 - "{ci_github_admin_user}"
12 org-list: "{ci_github_whitelist_org}"
13 auth-id: "{ci_ghprb_auth_id}"
14 trigger-phrase: '((.|\n)*\s)?/{job_prefix}-{name}-e2e-test(\s(.|\n)*)?'
15 skip-build-phrase: '/skip-test'
16 only-trigger-phrase: True
19 auto-close-on-fail: False
20 allow-whitelist-orgs-as-admins: True
21 white-list-target-branches:
24 status-context: "{job_prefix}-{name}-e2e-test"
25 success-status: "Passed"
26 failure-status: "Failed"
28 cancel-builds-on-update: True
31 - "{job_prefix}-{name}-e2e-test-{type}"
32 # This job runs the "optional" set, which currently includes only "upgrade" tests
33 - "{job_prefix}-{name}-e2e-test-{type}":
35 GINKGO_FOCUS: "upgrade"
37 - github-pull-request:
39 - "{ci_github_admin_user}"
40 org-list: "{ci_github_whitelist_org}"
41 auth-id: "{ci_ghprb_auth_id}"
42 trigger-phrase: '((.|\n)*\s)?/{job_prefix}-{name}-e2e-optional-test(\s(.|\n)*)?'
43 skip-build-phrase: '/skip-test'
44 only-trigger-phrase: True
47 auto-close-on-fail: False
48 allow-whitelist-orgs-as-admins: True
49 white-list-target-branches:
52 status-context: "{job_prefix}-{name}-e2e-optional-test"
53 success-status: "Passed"
54 failure-status: "Failed"
56 cancel-builds-on-update: True
57 - "{job_prefix}-{name}-e2e-test-{type}":
60 # Run at 02:45 (UTC) every day
64 name: "{job_prefix}-{name}-e2e-test-{type}"
65 project-type: pipeline
71 # Parameters set by Prow
74 description: 'Used by Prow when triggering jobs'
77 description: 'Used by Prow when triggering jobs'
80 description: 'Project github repo org name'
83 description: 'Project github repo name'
87 description: 'Ref name of the base branch'
90 description: 'Pull request head SHA'
91 # End of Prow parameters
94 default: '{GINKGO_FOCUS}'
95 description: 'The focus test to run'
101 artifact-days-to-keep: -1
102 artifact-num-to-keep: -1
104 url: https://github.com/metal3-io/baremetal-operator
106 triggers: "{triggers}"
111 url: "{ci_github_repo}"
112 credentials-id: "{ci_github_jenkins_credentials_id}"
116 refspec: "+refs/heads/*:refs/remotes/origin/*"
120 script-path: "jenkins/jobs/bmo_e2e_tests.pipeline"
121 lightweight-checkout: False