Build docker containers on voltha 2.x repos, test openonu
Change-Id: I375c9968b273a78af47bbb072719f53301c4456e
diff --git a/jjb/verify/voltha-go.yaml b/jjb/verify/voltha-go.yaml
index ddbbfe7..ea6b690 100644
--- a/jjb/verify/voltha-go.yaml
+++ b/jjb/verify/voltha-go.yaml
@@ -8,6 +8,8 @@
jobs:
- 'verify-voltha-go-jobs':
branch-regexp: '{supported-branches-regexp}'
+ - 'publish-voltha-go-jobs':
+ branch-regexp: '{supported-branches-regexp}'
- job-group:
name: 'verify-voltha-go-jobs'
@@ -27,3 +29,10 @@
name-extension: "-tests"
unit-test-targets: 'test'
unit-test-keep-going: 'true'
+
+- job-group:
+ name: 'publish-voltha-go-jobs'
+ jobs:
+ - 'docker-publish':
+ docker-repo: 'voltha'
+ dependency-jobs: 'version-tag'
diff --git a/jjb/verify/voltha-openolt-adapter.yaml b/jjb/verify/voltha-openolt-adapter.yaml
index 432405a..04c6c00 100644
--- a/jjb/verify/voltha-openolt-adapter.yaml
+++ b/jjb/verify/voltha-openolt-adapter.yaml
@@ -8,6 +8,8 @@
jobs:
- 'verify-voltha-openolt-adapter-jobs':
branch-regexp: '{supported-branches-regexp}'
+ - 'publish-voltha-openolt-adapter-jobs':
+ branch-regexp: '{supported-branches-regexp}'
- job-group:
name: 'verify-voltha-openolt-adapter-jobs'
@@ -22,10 +24,15 @@
unit-test-keep-going: 'true'
junit-allow-empty-results: true
- 'make-unit-test':
- build-node: 'ubuntu16.04-basebuild-2c-4g'
dest-gopath: "github.com/opencord"
name-extension: "-tests"
unit-test-targets: 'test'
unit-test-keep-going: 'true'
junit-allow-empty-results: true
+- job-group:
+ name: 'publish-voltha-openolt-adapter-jobs'
+ jobs:
+ - 'docker-publish':
+ docker-repo: 'voltha'
+ dependency-jobs: 'version-tag'
diff --git a/jjb/verify/voltha-openonu-adapter.yaml b/jjb/verify/voltha-openonu-adapter.yaml
index 9eca5dc..578b525 100644
--- a/jjb/verify/voltha-openonu-adapter.yaml
+++ b/jjb/verify/voltha-openonu-adapter.yaml
@@ -8,6 +8,8 @@
jobs:
- 'verify-voltha-openonu-adapter-jobs':
branch-regexp: '{supported-branches-regexp}'
+ - 'publish-voltha-openonu-adapter-jobs':
+ branch-regexp: '{supported-branches-regexp}'
- job-group:
name: 'verify-voltha-openonu-adapter-jobs'
@@ -15,7 +17,13 @@
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_voltha-openonu-adapter_licensed'
-# - 'verify-sonarqube':
-# dependency-jobs: 'verify_voltha-openonu-adapter_tag-collision'
-# - 'python-unit-test':
-# dependency-jobs: 'verify_voltha-openonu-adapter_sonarqube'
+ - 'make-unit-test':
+ unit-test-targets: 'test'
+ unit-test-keep-going: 'true'
+
+- job-group:
+ name: 'publish-voltha-openonu-adapter-jobs'
+ jobs:
+ - 'docker-publish':
+ docker-repo: 'voltha'
+ dependency-jobs: 'version-tag'