[VOL-5059] Disable v2.8 flavored job, branch the rest.
jjb/voltha-test/voltha-certification.yaml
jjb/voltha-test/voltha-certification/voltha-2.11.yaml
jjb/voltha-test/voltha-certification/voltha-2.12.yaml
-----------------------------------------------------
o Refactor monolithic voltha.certification.yaml job for release branching.
o String "voltha-{version}" helps normalize regex matching for job views.
o Distinguishing templated jobs is not an easy task. Extract one
versioned set of release jobs distinguished by a single value:
"extraHelmFlags=--set onos-classic.image.tag=master".
o Run "make lint-jjb" to syntax check generated pipeline scripts.
jjb/voltha-test/voltha-certification/voltha-2.8.yaml
-----------------------------------------------------
o v2.8 periodic job still running.
o Relocate into voltha-certification/voltha-2.8.yaml and decorate with
disable-job : true.
jjb/voltha-test/voltha-certification/master.yaml
------------------------------------------------
o Strange, branch=master job not explicitly in voltha-certification.yaml
but 'make lint-jjb' complains about a duplicate when explciitly defined
in master.yaml. Define but comment a job on branch=master until the
derived job source can be identified.
JOB: build_menlo-certification-pod-radisys-3200g_1T8GEM_DT*
Change-Id: I21508cc3a0f830bfe7449192de2216756080a565
diff --git a/jjb/voltha-test/voltha-certification.yaml b/jjb/voltha-test/voltha-certification.yaml
index f4e7783..583b324 100644
--- a/jjb/voltha-test/voltha-certification.yaml
+++ b/jjb/voltha-test/voltha-certification.yaml
@@ -83,7 +83,7 @@
power-switch: true
pipeline-script: 'voltha/master/voltha-dt-physical-functional-tests.groovy'
- # Certification (Radisys) pod with olt/onu - master versions timer based job
+ # Certification (Radisys) pod with olt/onu - master versions timer based job (ZZ)
- 'build_voltha_pod_release_timer':
build-node: 'menlo-certification-pod-3'
config-pod: 'menlo-certification-pod-radisys-3200g'
@@ -94,7 +94,7 @@
time: '1'
extraHelmFlags: "--set onos-classic.image.tag=master --set voltha.global.rw_core.rpc_timeout=30s --set voltha.global.rw_core.internal_timeout=30s"
- # Certification (Radisys) POD test job - master versions: uses 1T8GEM tech profile on voltha branch
+ # Certification (Radisys) POD test job - master versions: uses 1T8GEM tech profile on voltha branch (ZZ)
- 'build_voltha_pod_test':
timeout: 330
build-node: 'menlo-certification-pod-3'
@@ -108,35 +108,35 @@
power-switch: true
pipeline-script: 'voltha/master/voltha-dt-physical-functional-tests.groovy'
- # Certification (Radisys) pod with olt/onu - 2.11 version timer based job
- - 'build_voltha_pod_release_timer':
- build-node: 'menlo-certification-pod-3'
- config-pod: 'menlo-certification-pod-radisys-3200g'
- disable-job: false
- reinstall-olt: true
- release: '2.11'
- branch: 'voltha-2.11'
- name-extension: '_DT'
- work-flow: 'DT'
- profile: '1T8GEM'
- time: '9'
- pipeline-script: 'voltha/voltha-2.11/physical-build.groovy'
- extraHelmFlags: "--set onos-classic.image.tag=master"
+ # Certification (Radisys) pod with olt/onu - 2.11 version timer based job (ZZ)
+# - 'build_voltha_pod_release_timer':
+# build-node: 'menlo-certification-pod-3'
+# config-pod: 'menlo-certification-pod-radisys-3200g'
+# disable-job: false
+# reinstall-olt: true
+# release: '2.11'
+# branch: 'voltha-2.11'
+# name-extension: '_DT'
+# work-flow: 'DT'
+# profile: '1T8GEM'
+# time: '9'
+# pipeline-script: 'voltha/voltha-2.11/physical-build.groovy'
+# extraHelmFlags: "--set onos-classic.image.tag=master"
- # Certification (Radisys) pod with olt/onu - 2.8 version timer based job
- - 'build_voltha_pod_release_timer':
- build-node: 'menlo-certification-pod-3'
- config-pod: 'menlo-certification-pod-radisys-3200g'
- disable-job: false
- reinstall-olt: true
- release: '2.8'
- branch: 'voltha-2.8'
- name-extension: '_DT'
- work-flow: 'DT'
- profile: '1T8GEM'
- time: '9'
- pipeline-script: 'voltha/voltha-2.8/physical-build.groovy'
- extraHelmFlags: "--set onos-classic.image.tag=master"
+ # Certification (Radisys) pod with olt/onu - 2.8 version timer based job (ZZ)
+# - 'build_voltha_pod_release_timer':
+# build-node: 'menlo-certification-pod-3'
+# config-pod: 'menlo-certification-pod-radisys-3200g'
+# disable-job: false
+# reinstall-olt: true
+# release: '2.8'
+# branch: 'voltha-2.8'
+# name-extension: '_DT'
+# work-flow: 'DT'
+# profile: '1T8GEM'
+# time: '9'
+# pipeline-script: 'voltha/voltha-2.8/physical-build.groovy'
+# extraHelmFlags: "--set onos-classic.image.tag=master"
# Certification (Radisys) POD test job - master versions: uses 1T8GEM tech profile on voltha branch
- 'build_voltha_pod_test':
diff --git a/jjb/voltha-test/voltha-certification/master.yaml b/jjb/voltha-test/voltha-certification/master.yaml
index e69de29..2384394 100644
--- a/jjb/voltha-test/voltha-certification/master.yaml
+++ b/jjb/voltha-test/voltha-certification/master.yaml
@@ -0,0 +1,59 @@
+---
+# POD Build Pipeline Jobs for Voltha Releases
+
+# - project:
+# name: voltha-certification-jobs-master
+#
+# project-name: '{name}'
+#
+# build-timeout: '300'
+#
+# with-kind: false
+# power-switch: false
+# power-cycle-olt: false
+# work-flow: 'ATT'
+# in-band-management: false
+# num-of-openonu: 1
+# num-of-onos: 1
+# num-of-atomix: 1
+# num-of-kafka: 1
+# num-of-etcd: 1
+# reinstall-olt: true
+# test-type: ''
+# volthaSystemTestsChange: ''
+# kindVolthaChange: ''
+# cordTesterChange: ''
+# oltAdapterAppLabel: 'adapter-open-olt'
+# num-of-onus: ''
+# num-of-ponports: ''
+#
+# jobs:
+#
+# # -----------------------------------------------------------------------
+# # VOL-5059
+# # -----------------------------------------------------------------------
+# # o v2.8 and v2.11 release jobs exist.
+# # o Job does not exist on branch=master ?!?
+# # o Create a certification master job just in case, far easier to
+# # than recreate from scratch depending on need later on.
+# #
+# # Duplicate job detected somewhere, likely drived
+# INFO:jenkins_jobs.local_yaml:Lazy loading of file template 'ScalarNode(tag='!include-raw:', value='{docker-get-container-tag-script}')' enabled
+# ERROR:jenkins_jobs.parser:Duplicate definitions for job 'build_menlo-certification-pod-radisys-3200g_1T8GEM_DT_voltha_master' specified
+# # -----------------------------------------------------------------------
+# # Certification (Radisys) pod with olt/onu - branch=master timer based job
+# - 'build_voltha_pod_release_timer':
+# build-node: 'menlo-certification-pod-3'
+# config-pod: 'menlo-certification-pod-radisys-3200g'
+# disable-job: false
+# reinstall-olt: true
+# release: 'master'
+# branch: 'master'
+# name-extension: '_DT'
+# work-flow: 'DT'
+# profile: '1T8GEM'
+# time: '9'
+# pipeline-script: 'voltha/master/physical-build.groovy'
+# extraHelmFlags: "--set onos-classic.image.tag=master"
+
+# [EOF]
diff --git a/jjb/voltha-test/voltha-certification/voltha-2.11.yaml b/jjb/voltha-test/voltha-certification/voltha-2.11.yaml
index e69de29..8b70352 100644
--- a/jjb/voltha-test/voltha-certification/voltha-2.11.yaml
+++ b/jjb/voltha-test/voltha-certification/voltha-2.11.yaml
@@ -0,0 +1,47 @@
+---
+# POD Build Pipeline Jobs for Voltha Releases
+
+- project:
+ name: voltha-certification-jobs-2.11
+
+ project-name: '{name}'
+
+ build-timeout: '300'
+
+ with-kind: false
+ power-switch: false
+ power-cycle-olt: false
+ work-flow: 'ATT'
+ in-band-management: false
+ num-of-openonu: 1
+ num-of-onos: 1
+ num-of-atomix: 1
+ num-of-kafka: 1
+ num-of-etcd: 1
+ reinstall-olt: true
+ test-type: ''
+ volthaSystemTestsChange: ''
+ kindVolthaChange: ''
+ cordTesterChange: ''
+ oltAdapterAppLabel: 'adapter-open-olt'
+ num-of-onus: ''
+ num-of-ponports: ''
+
+ jobs:
+
+ # Certification (Radisys) pod with olt/onu - 2.11 version timer based job
+ - 'build_voltha_pod_release_timer':
+ build-node: 'menlo-certification-pod-3'
+ config-pod: 'menlo-certification-pod-radisys-3200g'
+ disable-job: false
+ reinstall-olt: true
+ release: '2.11'
+ branch: 'voltha-2.11'
+ name-extension: '_DT'
+ work-flow: 'DT'
+ profile: '1T8GEM'
+ time: '9'
+ pipeline-script: 'voltha/voltha-2.11/physical-build.groovy'
+ extraHelmFlags: "--set onos-classic.image.tag=master"
+
+# [EOF]
diff --git a/jjb/voltha-test/voltha-certification/voltha-2.12.yaml b/jjb/voltha-test/voltha-certification/voltha-2.12.yaml
index e69de29..0016ea8 100644
--- a/jjb/voltha-test/voltha-certification/voltha-2.12.yaml
+++ b/jjb/voltha-test/voltha-certification/voltha-2.12.yaml
@@ -0,0 +1,47 @@
+---
+# POD Build Pipeline Jobs for Voltha Releases
+
+- project:
+ name: voltha-certification-jobs-2.12
+
+ project-name: '{name}'
+
+ build-timeout: '300'
+
+ with-kind: false
+ power-switch: false
+ power-cycle-olt: false
+ work-flow: 'ATT'
+ in-band-management: false
+ num-of-openonu: 1
+ num-of-onos: 1
+ num-of-atomix: 1
+ num-of-kafka: 1
+ num-of-etcd: 1
+ reinstall-olt: true
+ test-type: ''
+ volthaSystemTestsChange: ''
+ kindVolthaChange: ''
+ cordTesterChange: ''
+ oltAdapterAppLabel: 'adapter-open-olt'
+ num-of-onus: ''
+ num-of-ponports: ''
+
+ jobs:
+
+ # Certification (Radisys) pod with olt/onu - 2.12 version timer based job
+ - 'build_voltha_pod_release_timer':
+ build-node: 'menlo-certification-pod-3'
+ config-pod: 'menlo-certification-pod-radisys-3200g'
+ disable-job: false
+ reinstall-olt: true
+ release: '2.12'
+ branch: 'voltha-2.12'
+ name-extension: '_DT'
+ work-flow: 'DT'
+ profile: '1T8GEM'
+ time: '9'
+ pipeline-script: 'voltha/voltha-2.12/physical-build.groovy'
+ extraHelmFlags: "--set onos-classic.image.tag=master"
+
+# [EOF]
diff --git a/jjb/voltha-test/voltha-certification/voltha-2.8.yaml b/jjb/voltha-test/voltha-certification/voltha-2.8.yaml
index e69de29..f14c656 100644
--- a/jjb/voltha-test/voltha-certification/voltha-2.8.yaml
+++ b/jjb/voltha-test/voltha-certification/voltha-2.8.yaml
@@ -0,0 +1,47 @@
+---
+# POD Build Pipeline Jobs for Voltha Releases
+
+- project:
+ name: voltha-certification-jobs-2.8
+
+ project-name: '{name}'
+
+ build-timeout: '300'
+
+ with-kind: false
+ power-switch: false
+ power-cycle-olt: false
+ work-flow: 'ATT'
+ in-band-management: false
+ num-of-openonu: 1
+ num-of-onos: 1
+ num-of-atomix: 1
+ num-of-kafka: 1
+ num-of-etcd: 1
+ reinstall-olt: true
+ test-type: ''
+ volthaSystemTestsChange: ''
+ kindVolthaChange: ''
+ cordTesterChange: ''
+ oltAdapterAppLabel: 'adapter-open-olt'
+ num-of-onus: ''
+ num-of-ponports: ''
+
+ jobs:
+
+ # Certification (Radisys) pod with olt/onu - 2.8 version timer based job
+ - 'build_voltha_pod_release_timer':
+ build-node: 'menlo-certification-pod-3'
+ config-pod: 'menlo-certification-pod-radisys-3200g'
+ disable-job: true
+ reinstall-olt: true
+ release: '2.8'
+ branch: 'voltha-2.8'
+ name-extension: '_DT'
+ work-flow: 'DT'
+ profile: '1T8GEM'
+ time: '9'
+ pipeline-script: 'voltha/voltha-2.8/physical-build.groovy'
+ extraHelmFlags: "--set onos-classic.image.tag=master"
+
+# [EOF]