[CORD-3256] Generate TT/TP community test job.
jjb/voltha-test/voltha.yaml
jjb/voltha-test/voltha-nightly-jobs.yaml
----------------------------------------
- First attempt at cloning a voltha pipeline job from DT to TT.
- Add a few placeholders for future work to split yaml configs
into a more modular setup.
Makefile
config.mk
makefiles/lint/groovy.mk
makefiles/lint/yaml.mk
makefiles/virtualenv.mk
------------------------
- Copy in makefile libraries from repo::voltha-docs.
- lint/yaml and lint/groovy.
Misc / Fixes
------------
- Fixed colorization in tree output.
- Comment out jjb import in requirements.txt, Makefile still configured to use an older version.
- Move README.md outside jjb/ lf-env scripts blindly grep for error patterns beneath jjb/
Change-Id: I36e304f6ca9d54dc26fa5d36b17373cbb00f5afd
diff --git a/jjb/voltha-test/voltha-nightly-jobs.yaml b/jjb/voltha-test/voltha-nightly-jobs.yaml
index 0b287a4..e99e3ba 100644
--- a/jjb/voltha-test/voltha-nightly-jobs.yaml
+++ b/jjb/voltha-test/voltha-nightly-jobs.yaml
@@ -212,7 +212,7 @@
artifact-num-to-keep: '{big-artifact-num-to-keep}'
# -----------------------------------------------------------------------
-# VOLTHA Build Jobs
+# VOLTHA Build Job (manual)
# -----------------------------------------------------------------------
- job-template:
name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
@@ -256,7 +256,7 @@
dsl: !include-raw-escape: ../pipeline/{pipeline-script}
# -----------------------------------------------------------------------
-# VOLTHA Build Jobs
+# VOLTHA Build Jobs (periodic)
# -----------------------------------------------------------------------
- job-template:
name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
@@ -305,6 +305,55 @@
H {time} * * *
# -----------------------------------------------------------------------
+# VOLTHA Build Jobs (periodic: playground
+# -----------------------------------------------------------------------
+- job-template:
+ name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}-debug'
+ id: build_voltha_pod_release_timer_playground
+ disabled: '{disable-job}'
+ description: |
+ Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
+ Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
+ Created by QA (Suchitra Vemuri) <br />
+ Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
+
+ <<: *voltha-pipe-job-boiler-plate
+ # default values
+ pipeline-script: 'voltha/playground/physical-build.groovy'
+ VolthaEtcdPort: 2379
+ num-of-openonu: 1
+ num-of-onos: 3
+ num-of-atomix: 3
+ num-of-kafka: 3
+ num-of-etcd: 3
+ test-repo: 'voltha-system-tests'
+ release: 'master'
+ name-extension: ''
+ branch: 'master'
+ configurePod: true
+ volthaHelmChartsChange: ''
+ profile: 'Default'
+ logLevel: 'DEBUG'
+ enableMultiUni: false
+ withFttb: false
+ uniPortMask: '0x0001'
+ bbsimReplicas: 0
+ num-of-onus: 0
+ num-of-ponports: 0
+ extraHelmFlags: ''
+
+ <<: *voltha-build-job-parameters
+
+ concurrent: true
+ project-type: pipeline
+ dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+
+ triggers:
+ - timed: |
+ TZ=America/Los_Angeles
+ H {time} * * *
+
+# -----------------------------------------------------------------------
# VOLTHA Test Job
# This job is automatically triggered after a build job has successfully completed
# -----------------------------------------------------------------------
diff --git a/jjb/voltha-test/voltha-nightly-jobs/master.yaml b/jjb/voltha-test/voltha-nightly-jobs/master.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-test/voltha-nightly-jobs/master.yaml
diff --git a/jjb/voltha-test/voltha-nightly-jobs/playground.yaml b/jjb/voltha-test/voltha-nightly-jobs/playground.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-test/voltha-nightly-jobs/playground.yaml
diff --git a/jjb/voltha-test/voltha-nightly-jobs/voltha-2.11.yaml b/jjb/voltha-test/voltha-nightly-jobs/voltha-2.11.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-test/voltha-nightly-jobs/voltha-2.11.yaml
diff --git a/jjb/voltha-test/voltha-nightly-jobs/voltha-2.8.yaml b/jjb/voltha-test/voltha-nightly-jobs/voltha-2.8.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-test/voltha-nightly-jobs/voltha-2.8.yaml
diff --git a/jjb/voltha-test/voltha.yaml b/jjb/voltha-test/voltha.yaml
index 5e56486..5106546 100644
--- a/jjb/voltha-test/voltha.yaml
+++ b/jjb/voltha-test/voltha.yaml
@@ -823,7 +823,7 @@
power-switch: true
pipeline-script: 'voltha/master/voltha-dt-physical-functional-tests.groovy'
- # TT workflow on Zyxel XGSPON OLT at Berlin pod - build job
+ # TT workflow on Zyxel XGSPON OLT at Berlin pod - build job
- 'build_voltha_pod_release_timer':
disable-job: false
build-node: 'berlin-community-pod-2'
@@ -838,7 +838,7 @@
num-of-onos: '3'
num-of-atomix: '3'
- # TT workflow on Zyxel XGSPON OLT at Berlin pod - test job
+ # TT workflow on Zyxel XGSPON OLT at Berlin pod - test job
- 'build_voltha_pod_test':
disable-job: false
build-node: 'berlin-community-pod-2'
@@ -854,6 +854,38 @@
profile: 'TP'
timeout: 360
+ # TT workflow on Zyxel XGSPON OLT at Berlin pod - build job
+ - 'build_voltha_pod_release_timer_playground':
+ disable-job: false
+ build-node: 'berlin-community-pod-2'
+ config-pod: 'berlin-community-pod-2-xgspon-zyxel'
+ release: 'master'
+ branch: 'master'
+ name-extension: '_TT'
+ work-flow: 'TT'
+ profile: 'TP'
+ time: '10'
+ VolthaEtcdPort: 9999
+ num-of-onos: '3'
+ num-of-atomix: '3'
+
+ ## NOT NEEDED (?) configured job used default=physical-build.groovy
+ # TT workflow on Zyxel XGSPON OLT at Berlin pod - test job
+# - 'build_voltha_pod_test_playground':
+# disable-job: false
+# build-node: 'berlin-community-pod-2'
+# config-pod: 'berlin-community-pod-2-xgspon-zyxel'
+# release: 'master'
+# branch: 'master'
+# name-extension: '_TT'
+# work-flow: 'TT'
+# power-switch: true
+# power-cycle-olt: true
+# pipeline-script: 'voltha/master/voltha-tt-physical-functional-tests.groovy'
+# test-repo: 'voltha-system-tests'
+# profile: 'TP'
+# timeout: 360
+
# Berlin pod with adtran gpon olt/onu - 2.8 1T8GEM tech profile and timer based job
- 'build_voltha_pod_release_timer':
build-node: 'berlin-community-pod-1'