Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 1 | --- |
| 2 | # CORD API tests using cord-tester |
| 3 | |
| 4 | - job-template: |
| 5 | id: api-test |
Zack Williams | 9d68aa3 | 2018-07-12 11:50:37 -0700 | [diff] [blame] | 6 | name: 'verify_{project}{name-extension}_api-test' |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 7 | description: | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 8 | Created by {id} job-template from ci-management/jjb/api-test.yaml, using script: {pipeline-script} |
Zack Williams | 0efdd26 | 2018-06-28 14:17:29 -0700 | [diff] [blame] | 9 | |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 10 | |
| 11 | triggers: |
| 12 | - cord-infra-gerrit-trigger-patchset: |
| 13 | gerrit-server-name: '{gerrit-server-name}' |
| 14 | project-regexp: '^{project}$' |
| 15 | branch-regexp: '{branch-regexp}' |
Kailash | 672d2c7 | 2019-02-14 09:31:24 -0800 | [diff] [blame] | 16 | file-include-regexp: '{api-test-files-regexp}' |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 17 | dependency-jobs: '{dependency-jobs}' |
| 18 | |
| 19 | properties: |
| 20 | - cord-infra-properties: |
| 21 | build-days-to-keep: '{build-days-to-keep}' |
| 22 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 23 | |
| 24 | wrappers: |
| 25 | - lf-infra-wrappers: |
| 26 | build-timeout: '60' |
| 27 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 28 | |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 29 | parameters: |
| 30 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 31 | name: buildNode |
Joey Armstrong | c5194c4 | 2024-07-23 15:31:18 -0400 | [diff] [blame] | 32 | # default: 'ubuntu18.04-basebuild-4c-8g' |
Joey Armstrong | 6fb53fb | 2024-08-27 16:44:29 -0400 | [diff] [blame] | 33 | default: 'ubuntu18.04-basebuild-8c-15g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 34 | description: 'Name of the Jenkins node to run the job on' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 35 | |
| 36 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 37 | name: manifestUrl |
| 38 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 39 | description: 'URL to the repo manifest' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 40 | |
| 41 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 42 | name: manifestBranch |
| 43 | default: '$GERRIT_BRANCH' |
| 44 | description: 'Name of the repo branch to use' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 45 | |
| 46 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 47 | name: gerritProject |
| 48 | default: '$GERRIT_PROJECT' |
| 49 | description: 'Name of the Gerrit project' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 50 | |
| 51 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 52 | name: gerritChangeNumber |
| 53 | default: '$GERRIT_CHANGE_NUMBER' |
| 54 | description: 'Changeset number in Gerrit' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 55 | |
| 56 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 57 | name: gerritPatchsetNumber |
| 58 | default: '$GERRIT_PATCHSET_NUMBER' |
| 59 | description: 'PatchSet number in Gerrit' |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 60 | |
Daniele Moro | dcf10ba | 2020-02-24 10:36:09 -0800 | [diff] [blame] | 61 | - bool: |
| 62 | name: ArchiveLogs |
| 63 | default: true |
| 64 | description: 'Archive all pod logs after test run' |
| 65 | |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 66 | project-type: pipeline |
| 67 | concurrent: true |
| 68 | |
Eric Ball | 9ecb7ad | 2024-09-12 12:52:26 -0700 | [diff] [blame] | 69 | dsl: !include-raw-verbatim: pipeline/{pipeline-script} |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 70 | |
| 71 | # [EOF] |