blob: fbd27770572fc05fa7c0973058d99c8afb3ccfef [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
pierventre0ac63812020-07-27 11:59:49 +020064 docker-repo: 'tost'
65 docker-registry: 'registry.aetherproject.org'
pierventref41b90c2020-07-15 16:26:02 +020066 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
67 build-timeout: 30
pierventre037d22e2020-09-11 16:30:06 +020068 dependency-jobs: 'version-tag_tost-onos'
pierventre21758c92020-11-20 08:47:12 +010069 # Post-merge and nightly triggered - on merge build only for changes
70 # in files different from Makefile.vars.stable
pierventre4a959602020-11-02 14:46:19 +010071 - 'tost-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010072 target: 'master'
73 name-extension: '-{target}'
74 extraEnvironmentVars: 'DOCKER_TAG={target}'
75 docker-repo: 'tost'
76 docker-registry: 'registry.aetherproject.org'
77 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
78 build-timeout: 30
pierventre9692bbf2020-11-12 14:34:31 +010079 buildDate: ''
pierventre21758c92020-11-20 08:47:12 +010080 all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
pierventre9692bbf2020-11-12 14:34:31 +010081 # Weekly triggered
82 - 'weekly-tost-onos-docker-publish':
83 target: 'master'
84 name-extension: '-{target}'
85 extraEnvironmentVars: 'DOCKER_TAG={target}'
86 docker-repo: 'tost'
87 docker-registry: 'registry.aetherproject.org'
88 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
89 build-timeout: 30
90 timed: 'H 0 * * 5'
pierventre21758c92020-11-20 08:47:12 +010091 # Post-merge only - on merge build only for changes in files
92 # different from Makefile.vars.master
pierventre4a959602020-11-02 14:46:19 +010093 - 'tost-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010094 target: 'stable'
95 name-extension: '-{target}'
96 extraEnvironmentVars: 'DOCKER_TAG={target}'
97 docker-repo: 'tost'
98 docker-registry: 'registry.aetherproject.org'
99 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
100 build-timeout: 30
pierventre9692bbf2020-11-12 14:34:31 +0100101 timed: ''
pierventre21758c92020-11-20 08:47:12 +0100102 all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
pierventre0289d492020-09-04 21:26:53 +0200103
104- job-group:
105 name: 'release-tost-onos-jobs'
pierventre4a959602020-11-02 14:46:19 +0100106 # To be used only with trellis-t3 and trellis-control
pierventre0289d492020-09-04 21:26:53 +0200107 jobs:
pierventre4a959602020-11-02 14:46:19 +0100108 - 'artifact-release'