Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 1 | --- |
| 2 | # CORD API tests using cord-tester, triggered by merge or schedule |
| 3 | |
| 4 | - job-template: |
| 5 | id: triggered-api-test |
| 6 | name: 'verify_{project}{name-extension}_triggered-api-test' |
| 7 | description: | |
Zack Williams | 50d451e | 2018-09-24 12:20:23 -0700 | [diff] [blame] | 8 | Triggers an api test in a pipeline post-merge and on a schedule. |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 9 | Created by {id} job-template from ci-management/jjb/triggered-api-test.yaml, using script: {pipeline-script} |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 10 | |
| 11 | triggers: |
| 12 | - cord-infra-gerrit-trigger-merge: |
| 13 | gerrit-server-name: '{gerrit-server-name}' |
| 14 | project-regexp: '^{project}$' |
Zack Williams | 50d451e | 2018-09-24 12:20:23 -0700 | [diff] [blame] | 15 | branch-regexp: '^{branch}$' |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 16 | file-include-regexp: '{all-files-regexp}' |
| 17 | dependency-jobs: '{dependency-jobs}' |
| 18 | - timed: '{timed-trigger}' |
| 19 | |
| 20 | properties: |
| 21 | - cord-infra-properties: |
| 22 | build-days-to-keep: '{build-days-to-keep}' |
| 23 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 24 | |
| 25 | wrappers: |
| 26 | - lf-infra-wrappers: |
| 27 | build-timeout: '60' |
| 28 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 29 | |
| 30 | parameters: |
| 31 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 32 | name: buildNode |
Joey Armstrong | c5194c4 | 2024-07-23 15:31:18 -0400 | [diff] [blame] | 33 | # default: 'ubuntu18.04-basebuild-4c-8g' |
Joey Armstrong | 6fb53fb | 2024-08-27 16:44:29 -0400 | [diff] [blame] | 34 | default: 'ubuntu18.04-basebuild-8c-15g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 35 | description: 'Name of the Jenkins node to run the job on' |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 36 | |
| 37 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 38 | name: manifestUrl |
| 39 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 40 | description: 'URL to the repo manifest' |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 41 | |
| 42 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 43 | name: manifestBranch |
| 44 | default: '{branch}' |
| 45 | description: 'Name of the repo branch to use' |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 46 | |
| 47 | project-type: pipeline |
| 48 | concurrent: true |
| 49 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 50 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 51 | |
| 52 | # [EOF] |