blob: 3dcdbabdfca3ed799168ecc397001287c9b357f9 [file] [log] [blame]
Zack Williams5d2123b2020-06-25 17:10:02 -07001---
Charles Chanf73d2402022-02-09 22:38:19 -08002# jobs for 'sdfabric-onos' repo
Zack Williams5d2123b2020-06-25 17:10:02 -07003
4- project:
Charles Chanf73d2402022-02-09 22:38:19 -08005 name: sdfabric-onos
Zack Williams5d2123b2020-06-25 17:10:02 -07006 project: '{name}'
7
8 jobs:
Charles Chanf73d2402022-02-09 22:38:19 -08009 - 'verify-sdfabric-onos-jobs':
Zack Williams5d2123b2020-06-25 17:10:02 -070010 branch-regexp: '{supported-branches-regexp}'
11
Charles Chanf73d2402022-02-09 22:38:19 -080012 - 'publish-sdfabric-onos-jobs':
Zack Williams1eb40302020-07-01 14:29:52 -070013 branch-regexp: '{supported-branches-regexp}'
14
Charles Chanf73d2402022-02-09 22:38:19 -080015 - 'release-sdfabric-onos-jobs':
pierventre0289d492020-09-04 21:26:53 +020016 branch-regexp: '{supported-branches-regexp}'
17
Zack Williams5d2123b2020-06-25 17:10:02 -070018- job-group:
Charles Chanf73d2402022-02-09 22:38:19 -080019 name: 'verify-sdfabric-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
Charles Chanf73d2402022-02-09 22:38:19 -080027 dependency-jobs: 'license-check_sdfabric-onos'
pierventre9692bbf2020-11-12 14:34:31 +010028 # 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:
Charles Chanf73d2402022-02-09 22:38:19 -080054 name: 'publish-sdfabric-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
Carmelo Cascone79805492022-02-04 17:27:21 -080064 docker-repo: 'opennetworking/sdfabric-onos'
pierventref41b90c2020-07-15 16:26:02 +020065 maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
66 build-timeout: 30
Charles Chanf73d2402022-02-09 22:38:19 -080067 dependency-jobs: 'version-tag_sdfabric-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
Charles Chanf73d2402022-02-09 22:38:19 -080070 - 'sdfabric-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010071 target: 'master'
72 name-extension: '-{target}'
73 extraEnvironmentVars: 'DOCKER_TAG={target}'
Carmelo Cascone79805492022-02-04 17:27:21 -080074 docker-repo: 'opennetworking/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
Charles Chanf73d2402022-02-09 22:38:19 -080080 - 'weekly-sdfabric-onos-docker-publish':
pierventre9692bbf2020-11-12 14:34:31 +010081 target: 'master'
82 name-extension: '-{target}'
83 extraEnvironmentVars: 'DOCKER_TAG={target}'
Carmelo Cascone79805492022-02-04 17:27:21 -080084 docker-repo: 'opennetworking/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
Charles Chanf73d2402022-02-09 22:38:19 -080090 - 'sdfabric-onos-docker-publish':
pierventre4a959602020-11-02 14:46:19 +010091 target: 'stable'
92 name-extension: '-{target}'
93 extraEnvironmentVars: 'DOCKER_TAG={target}'
Carmelo Cascone79805492022-02-04 17:27:21 -080094 docker-repo: 'opennetworking/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:
Charles Chanf73d2402022-02-09 22:38:19 -0800101 name: 'release-sdfabric-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'