Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 1 | --- |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 2 | # jobs for 'sdfabric-onos' repo |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 3 | |
| 4 | - project: |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 5 | name: sdfabric-onos |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 6 | project: '{name}' |
| 7 | |
| 8 | jobs: |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 9 | - 'verify-sdfabric-onos-jobs': |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 10 | branch-regexp: '{supported-branches-regexp}' |
| 11 | |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 12 | - 'publish-sdfabric-onos-jobs': |
Zack Williams | 1eb4030 | 2020-07-01 14:29:52 -0700 | [diff] [blame] | 13 | branch-regexp: '{supported-branches-regexp}' |
| 14 | |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 15 | - 'release-sdfabric-onos-jobs': |
pierventre | 0289d49 | 2020-09-04 21:26:53 +0200 | [diff] [blame] | 16 | branch-regexp: '{supported-branches-regexp}' |
| 17 | |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 18 | - job-group: |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 19 | name: 'verify-sdfabric-onos-jobs' |
pierventre | e143302 | 2020-07-06 09:34:32 +0200 | [diff] [blame] | 20 | |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 21 | jobs: |
| 22 | - 'verify-licensed' |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 23 | # Tag check is currently disabled because we have temporarily |
| 24 | # abandoned the SemVer format |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 25 | - 'tag-check': |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 26 | disable-job: true |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 27 | dependency-jobs: 'license-check_sdfabric-onos' |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 28 | # Job based on the SemVer DOCKER_TAG |
pierventre | 65d85a2 | 2020-07-21 20:30:20 +0200 | [diff] [blame] | 29 | - 'private-make-test': |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 30 | disable-job: true |
pierventre | e143302 | 2020-07-06 09:34:32 +0200 | [diff] [blame] | 31 | make-test-targets: 'docker-build' |
| 32 | junit-allow-empty-results: true |
| 33 | build-node: '{bigger-build-node}' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 34 | # Verify only for changes in files different from Makefile.vars.stable |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 35 | - 'private-make-test': |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 36 | 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}' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 42 | all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$' |
| 43 | # Verify only for changes in files different from Makefile.vars.master |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 44 | - 'private-make-test': |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 45 | 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}' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 51 | all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$' |
Zack Williams | 1eb4030 | 2020-07-01 14:29:52 -0700 | [diff] [blame] | 52 | |
| 53 | - job-group: |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 54 | name: 'publish-sdfabric-onos-jobs' |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 55 | |
Zack Williams | 1eb4030 | 2020-07-01 14:29:52 -0700 | [diff] [blame] | 56 | jobs: |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 57 | # Tag check is currently disabled because we have temporarily |
| 58 | # abandoned the SemVer format |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 59 | - 'version-tag': |
| 60 | disable-job: true |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 61 | # Job based on the SemVer DOCKER_TAG |
pierventre | 65d85a2 | 2020-07-21 20:30:20 +0200 | [diff] [blame] | 62 | - 'private-docker-publish': |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 63 | disable-job: true |
Carmelo Cascone | 7980549 | 2022-02-04 17:27:21 -0800 | [diff] [blame] | 64 | docker-repo: 'opennetworking/sdfabric-onos' |
pierventre | f41b90c | 2020-07-15 16:26:02 +0200 | [diff] [blame] | 65 | maintainers: 'charles@opennetworking.org, pier@opennetworking.org' |
| 66 | build-timeout: 30 |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 67 | dependency-jobs: 'version-tag_sdfabric-onos' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 68 | # Post-merge and nightly triggered - on merge build only for changes |
| 69 | # in files different from Makefile.vars.stable |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 70 | - 'sdfabric-onos-docker-publish': |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 71 | target: 'master' |
| 72 | name-extension: '-{target}' |
| 73 | extraEnvironmentVars: 'DOCKER_TAG={target}' |
Carmelo Cascone | 7980549 | 2022-02-04 17:27:21 -0800 | [diff] [blame] | 74 | docker-repo: 'opennetworking/sdfabric-onos' |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 75 | maintainers: 'charles@opennetworking.org, pier@opennetworking.org' |
| 76 | build-timeout: 30 |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 77 | buildDate: '' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 78 | all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$' |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 79 | # Weekly triggered |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 80 | - 'weekly-sdfabric-onos-docker-publish': |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 81 | target: 'master' |
| 82 | name-extension: '-{target}' |
| 83 | extraEnvironmentVars: 'DOCKER_TAG={target}' |
Carmelo Cascone | 7980549 | 2022-02-04 17:27:21 -0800 | [diff] [blame] | 84 | docker-repo: 'opennetworking/sdfabric-onos' |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 85 | maintainers: 'charles@opennetworking.org, pier@opennetworking.org' |
| 86 | build-timeout: 30 |
| 87 | timed: 'H 0 * * 5' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 88 | # Post-merge only - on merge build only for changes in files |
| 89 | # different from Makefile.vars.master |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 90 | - 'sdfabric-onos-docker-publish': |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 91 | target: 'stable' |
| 92 | name-extension: '-{target}' |
| 93 | extraEnvironmentVars: 'DOCKER_TAG={target}' |
Carmelo Cascone | 7980549 | 2022-02-04 17:27:21 -0800 | [diff] [blame] | 94 | docker-repo: 'opennetworking/sdfabric-onos' |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 95 | maintainers: 'charles@opennetworking.org, pier@opennetworking.org' |
| 96 | build-timeout: 30 |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 97 | timed: '' |
pierventre | 21758c9 | 2020-11-20 08:47:12 +0100 | [diff] [blame] | 98 | all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$' |
pierventre | 0289d49 | 2020-09-04 21:26:53 +0200 | [diff] [blame] | 99 | |
| 100 | - job-group: |
Charles Chan | f73d240 | 2022-02-09 22:38:19 -0800 | [diff] [blame^] | 101 | name: 'release-sdfabric-onos-jobs' |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 102 | # To be used only with trellis-t3 and trellis-control |
pierventre | 0289d49 | 2020-09-04 21:26:53 +0200 | [diff] [blame] | 103 | jobs: |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 104 | - 'artifact-release' |