blob: 3dcdbabdfca3ed799168ecc397001287c9b357f9 [file] [log] [blame]
---
# jobs for 'sdfabric-onos' repo
- project:
name: sdfabric-onos
project: '{name}'
jobs:
- 'verify-sdfabric-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- 'publish-sdfabric-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- 'release-sdfabric-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- job-group:
name: 'verify-sdfabric-onos-jobs'
jobs:
- 'verify-licensed'
# Tag check is currently disabled because we have temporarily
# abandoned the SemVer format
- 'tag-check':
disable-job: true
dependency-jobs: 'license-check_sdfabric-onos'
# Job based on the SemVer DOCKER_TAG
- 'private-make-test':
disable-job: true
make-test-targets: 'docker-build'
junit-allow-empty-results: true
build-node: '{bigger-build-node}'
# Verify only for changes in files different from Makefile.vars.stable
- 'private-make-test':
target: 'master'
name-extension: '-{target}'
make-test-vars: 'DOCKER_TAG={target}'
make-test-targets: 'docker-build'
junit-allow-empty-results: true
build-node: '{bigger-build-node}'
all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
# Verify only for changes in files different from Makefile.vars.master
- 'private-make-test':
target: 'stable'
name-extension: '-{target}'
make-test-vars: 'DOCKER_TAG={target}'
make-test-targets: 'docker-build'
junit-allow-empty-results: true
build-node: '{bigger-build-node}'
all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
- job-group:
name: 'publish-sdfabric-onos-jobs'
jobs:
# Tag check is currently disabled because we have temporarily
# abandoned the SemVer format
- 'version-tag':
disable-job: true
# Job based on the SemVer DOCKER_TAG
- 'private-docker-publish':
disable-job: true
docker-repo: 'opennetworking/sdfabric-onos'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
dependency-jobs: 'version-tag_sdfabric-onos'
# Post-merge and nightly triggered - on merge build only for changes
# in files different from Makefile.vars.stable
- 'sdfabric-onos-docker-publish':
target: 'master'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'opennetworking/sdfabric-onos'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
buildDate: ''
all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
# Weekly triggered
- 'weekly-sdfabric-onos-docker-publish':
target: 'master'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'opennetworking/sdfabric-onos'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
timed: 'H 0 * * 5'
# Post-merge only - on merge build only for changes in files
# different from Makefile.vars.master
- 'sdfabric-onos-docker-publish':
target: 'stable'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'opennetworking/sdfabric-onos'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
timed: ''
all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
- job-group:
name: 'release-sdfabric-onos-jobs'
# To be used only with trellis-t3 and trellis-control
jobs:
- 'artifact-release'