Lennart Jern | c04111d | 2023-09-21 11:28:01 +0300 | [diff] [blame^] | 1 | - project: |
| 2 | name: baremetal-operator |
| 3 | |
| 4 | jobs: |
| 5 | - "{job_prefix}_{name}_e2e_tests" |
| 6 | |
| 7 | - job-template: |
| 8 | name: "{job_prefix}_{name}_e2e_tests" |
| 9 | project-type: pipeline |
| 10 | defaults: global |
| 11 | disabled: False |
| 12 | concurrent: True |
| 13 | |
| 14 | properties: |
| 15 | - build-discarder: |
| 16 | days-to-keep: 30 |
| 17 | num-to-keep: 300 |
| 18 | artifact-days-to-keep: -1 |
| 19 | artifact-num-to-keep: -1 |
| 20 | - github: |
| 21 | url: https://github.com/metal3-io/baremetal-operator.git |
| 22 | |
| 23 | triggers: |
| 24 | # Run at 02:45 (UTC) every day |
| 25 | - timed: "45 2 * * *" |
| 26 | - github-pull-request: |
| 27 | admin-list: |
| 28 | - "{ci_github_admin_user}" |
| 29 | org-list: "{ci_github_whitelist_org}" |
| 30 | auth-id: "{ci_ghprb_auth_id}" |
| 31 | trigger-phrase: '((.|\n)*\s)?/{job_prefix}_{name}_e2e_tests(\s(.|\n)*)?' |
| 32 | skip-build-phrase: '/skip-test' |
| 33 | only-trigger-phrase: True |
| 34 | github-hooks: True |
| 35 | permit-all: False |
| 36 | auto-close-on-fail: False |
| 37 | allow-whitelist-orgs-as-admins: True |
| 38 | white-list-target-branches: |
| 39 | - 'main' |
| 40 | status-context: "{job_prefix}_{name}_e2e_tests" |
| 41 | success-status: "Passed" |
| 42 | failure-status: "Failed" |
| 43 | error-status: "Error" |
| 44 | cancel-builds-on-update: True |
| 45 | |
| 46 | pipeline-scm: |
| 47 | scm: |
| 48 | - git: |
| 49 | url: "{ci_github_repo}" |
| 50 | credentials-id: "{ci_github_jenkins_credentials_id}" |
| 51 | branches: |
| 52 | - "{branch|main}" |
| 53 | name: 'origin' |
| 54 | refspec: "+refs/heads/*:refs/remotes/origin/*" |
| 55 | wipe-workspace: True |
| 56 | honor-refspec: True |
| 57 | shallow-clone: False |
| 58 | script-path: "jenkins/jobs/bmo_e2e_tests.pipeline" |
| 59 | lightweight-checkout: False |