blob: fbd27770572fc05fa7c0973058d99c8afb3ccfef [file] [log] [blame]
---
# jobs for 'tost-onos' repo
- project:
name: tost-onos
project: '{name}'
jobs:
- 'verify-tost-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- 'publish-tost-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- 'release-tost-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
- job-group:
name: 'verify-tost-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_tost-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-tost-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: 'tost'
docker-registry: 'registry.aetherproject.org'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
dependency-jobs: 'version-tag_tost-onos'
# Post-merge and nightly triggered - on merge build only for changes
# in files different from Makefile.vars.stable
- 'tost-onos-docker-publish':
target: 'master'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'tost'
docker-registry: 'registry.aetherproject.org'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
buildDate: ''
all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
# Weekly triggered
- 'weekly-tost-onos-docker-publish':
target: 'master'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'tost'
docker-registry: 'registry.aetherproject.org'
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
- 'tost-onos-docker-publish':
target: 'stable'
name-extension: '-{target}'
extraEnvironmentVars: 'DOCKER_TAG={target}'
docker-repo: 'tost'
docker-registry: 'registry.aetherproject.org'
maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
build-timeout: 30
timed: ''
all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
- job-group:
name: 'release-tost-onos-jobs'
# To be used only with trellis-t3 and trellis-control
jobs:
- 'artifact-release'