blob: a46502f592d1c1491004ed383932c8cfddf93203 [file] [log] [blame]
Zack Williams92f9b1f2018-04-11 09:58:49 -07001---
2# CORD API tests using cord-tester
3
4- job-template:
5 id: api-test
Zack Williams9d68aa32018-07-12 11:50:37 -07006 name: 'verify_{project}{name-extension}_api-test'
Zack Williams92f9b1f2018-04-11 09:58:49 -07007 description: |
Zack Williamsb3292082019-10-11 17:15:18 -07008 Created by {id} job-template from ci-management/jjb/api-test.yaml, using script: {pipeline-script}
Zack Williams0efdd262018-06-28 14:17:29 -07009
Zack Williams92f9b1f2018-04-11 09:58:49 -070010
11 triggers:
12 - cord-infra-gerrit-trigger-patchset:
13 gerrit-server-name: '{gerrit-server-name}'
14 project-regexp: '^{project}$'
15 branch-regexp: '{branch-regexp}'
Kailash672d2c72019-02-14 09:31:24 -080016 file-include-regexp: '{api-test-files-regexp}'
Zack Williams92f9b1f2018-04-11 09:58:49 -070017 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 Khalasif0cb0822018-05-18 13:08:02 -070029 parameters:
30 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070031 name: buildNode
Joey Armstrongc5194c42024-07-23 15:31:18 -040032 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -040033 default: 'ubuntu18.04-basebuild-8c-15g'
hwchiu14f97852019-10-08 10:51:11 -070034 description: 'Name of the Jenkins node to run the job on'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070035
36 - string:
hwchiu14f97852019-10-08 10:51:11 -070037 name: manifestUrl
38 default: '{gerrit-server-url}/{cord-repo-manifest}'
39 description: 'URL to the repo manifest'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070040
41 - string:
hwchiu14f97852019-10-08 10:51:11 -070042 name: manifestBranch
43 default: '$GERRIT_BRANCH'
44 description: 'Name of the repo branch to use'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070045
46 - string:
hwchiu14f97852019-10-08 10:51:11 -070047 name: gerritProject
48 default: '$GERRIT_PROJECT'
49 description: 'Name of the Gerrit project'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070050
51 - string:
hwchiu14f97852019-10-08 10:51:11 -070052 name: gerritChangeNumber
53 default: '$GERRIT_CHANGE_NUMBER'
54 description: 'Changeset number in Gerrit'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070055
56 - string:
hwchiu14f97852019-10-08 10:51:11 -070057 name: gerritPatchsetNumber
58 default: '$GERRIT_PATCHSET_NUMBER'
59 description: 'PatchSet number in Gerrit'
Kailash Khalasif0cb0822018-05-18 13:08:02 -070060
Daniele Morodcf10ba2020-02-24 10:36:09 -080061 - bool:
62 name: ArchiveLogs
63 default: true
64 description: 'Archive all pod logs after test run'
65
Zack Williams92f9b1f2018-04-11 09:58:49 -070066 project-type: pipeline
67 concurrent: true
68
Eric Ball9ecb7ad2024-09-12 12:52:26 -070069 dsl: !include-raw-verbatim: pipeline/{pipeline-script}
Joey Armstrongaf679da2023-01-31 14:22:41 -050070
71# [EOF]