blob: 4315ed7d325b993a452259546775ca8ad6c4b2ab [file] [log] [blame]
Zack Williams5d2123b2020-06-25 17:10:02 -07001---
2# jobs for 'tost-onos' repo
3
4- project:
5 name: tost-onos
6 project: '{name}'
7
8 jobs:
9 - 'verify-tost-onos-jobs':
10 branch-regexp: '{supported-branches-regexp}'
11
Zack Williams1eb40302020-07-01 14:29:52 -070012 - 'publish-tost-onos-jobs':
13 branch-regexp: '{supported-branches-regexp}'
14
pierventre0289d492020-09-04 21:26:53 +020015 - 'release-tost-onos-jobs':
16 branch-regexp: '{supported-branches-regexp}'
17
Zack Williams5d2123b2020-06-25 17:10:02 -070018- job-group:
19 name: 'verify-tost-onos-jobs'
pierventree1433022020-07-06 09:34:32 +020020
Zack Williams5d2123b2020-06-25 17:10:02 -070021 jobs:
22 - 'verify-licensed'
pierventre9692bbf2020-11-12 14:34:31 +010023 # Tag check is currently disabled because we have temporarily
24 # abandoned the SemVer format
Zack Williams5d2123b2020-06-25 17:10:02 -070025 - 'tag-check':
pierventre4a959602020-11-02 14:46:19 +010026 disable-job: true
pierventre9692bbf2020-11-12 14:34:31 +010027 dependency-jobs: 'license-check_tost-onos'
28 # Job based on the SemVer DOCKER_TAG
pierventre65d85a22020-07-21 20:30:20 +020029 - 'private-make-test':
pierventre9692bbf2020-11-12 14:34:31 +010030 disable-job: true
pierventree1433022020-07-06 09:34:32 +020031 make-test-targets: 'docker-build'
32 junit-allow-empty-results: true
33 build-node: '{bigger-build-node}'
pierventre21758c92020-11-20 08:47:12 +010034 # Verify only for changes in files different from Makefile.vars.stable
pierventre4a959602020-11-02 14:46:19 +010035 - 'private-make-test':
pierventre4a959602020-11-02 14:46:19 +010036 target: 'master'
37 name-extension: '-{target}'
38 make-test-vars: 'DOCKER_TAG={target}'
39 make-test-targets: 'docker-build'
40 junit-allow-empty-results: true
41 build-node: '{bigger-build-node}'
pierventre21758c92020-11-20 08:47:12 +010042 all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
43 # Verify only for changes in files different from Makefile.vars.master
pierventre4a959602020-11-02 14:46:19 +010044 - 'private-make-test':
pierventre4a959602020-11-02 14:46:19 +010045 target: 'stable'
46 name-extension: '-{target}'
47 make-test-vars: 'DOCKER_TAG={target}'
48 make-test-targets: 'docker-build'
49 junit-allow-empty-results: true
50 build-node: '{bigger-build-node}'
pierventre21758c92020-11-20 08:47:12 +010051 all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
Zack Williams1eb40302020-07-01 14:29:52 -070052
53- job-group:
54 name: 'publish-tost-onos-jobs'
pierventre4a959602020-11-02 14:46:19 +010055
Zack Williams1eb40302020-07-01 14:29:52 -070056 jobs:
pierventre9692bbf2020-11-12 14:34:31 +010057 # Tag check is currently disabled because we have temporarily
58 # abandoned the SemVer format
pierventre4a959602020-11-02 14:46:19 +010059 - 'version-tag':
60 disable-job: true
pierventre9692bbf2020-11-12 14:34:31 +010061 # Job based on the SemVer DOCKER_TAG
pierventre65d85a22020-07-21 20:30:20 +020062 - 'private-docker-publish':
pierventre9692bbf2020-11-12 14:34:31 +010063 disable-job: true
Charles Chan89e04a42022-02-03 22:55:19 -080064 docker-repo: 'sdfabric-onos'
pierventref41b90c2020-07-15 16:26:02 +020065 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
66 build-timeout: 30
pierventre037d22e2020-09-11 16:30:06 +020067 dependency-jobs: 'version-tag_tost-onos'
pierventre21758c92020-11-20 08:47:12 +010068 # Post-merge and nightly triggered - on merge build only for changes
69 # in files different from Makefile.vars.stable
pierventre4a959602020-11-02 14:46:19 +010070 - 'tost-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010071 target: 'master'
72 name-extension: '-{target}'
73 extraEnvironmentVars: 'DOCKER_TAG={target}'
Charles Chan89e04a42022-02-03 22:55:19 -080074 docker-repo: 'sdfabric-onos'
pierventre4a959602020-11-02 14:46:19 +010075 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
76 build-timeout: 30
pierventre9692bbf2020-11-12 14:34:31 +010077 buildDate: ''
pierventre21758c92020-11-20 08:47:12 +010078 all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
pierventre9692bbf2020-11-12 14:34:31 +010079 # Weekly triggered
80 - 'weekly-tost-onos-docker-publish':
81 target: 'master'
82 name-extension: '-{target}'
83 extraEnvironmentVars: 'DOCKER_TAG={target}'
Charles Chan89e04a42022-02-03 22:55:19 -080084 docker-repo: 'sdfabric-onos'
pierventre9692bbf2020-11-12 14:34:31 +010085 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
86 build-timeout: 30
87 timed: 'H 0 * * 5'
pierventre21758c92020-11-20 08:47:12 +010088 # Post-merge only - on merge build only for changes in files
89 # different from Makefile.vars.master
pierventre4a959602020-11-02 14:46:19 +010090 - 'tost-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010091 target: 'stable'
92 name-extension: '-{target}'
93 extraEnvironmentVars: 'DOCKER_TAG={target}'
Charles Chan89e04a42022-02-03 22:55:19 -080094 docker-repo: 'sdfabric-onos'
pierventre4a959602020-11-02 14:46:19 +010095 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
96 build-timeout: 30
pierventre9692bbf2020-11-12 14:34:31 +010097 timed: ''
pierventre21758c92020-11-20 08:47:12 +010098 all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
pierventre0289d492020-09-04 21:26:53 +020099
100- job-group:
101 name: 'release-tost-onos-jobs'
pierventre4a959602020-11-02 14:46:19 +0100102 # To be used only with trellis-t3 and trellis-control
pierventre0289d492020-09-04 21:26:53 +0200103 jobs:
pierventre4a959602020-11-02 14:46:19 +0100104 - 'artifact-release'