CI: Add tests for onf-make
Since this is a library of makefiles, standard code tests can't be
implemented. Instead, this change introduces modified versions of
build & test jobs for other repos, which are kicked off by pushes
to onf-make, and test those builds with the change to the onf-make
library.
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I1e40e2a49996c5a04f0d5bc6cba7a0eb603ed8e5
diff --git a/jjb/onf-make/onf-make.yaml b/jjb/onf-make/onf-make.yaml
new file mode 100644
index 0000000..8888a83
--- /dev/null
+++ b/jjb/onf-make/onf-make.yaml
@@ -0,0 +1,74 @@
+---
+
+- project:
+ name: onf-make-tests
+
+ project-name: '{name}'
+ project: 'onf-make'
+ manualBranch: ''
+ olts: 1
+ onus: 1
+ pons: 1
+ withAlarms: true
+ make-target-failtest: bbsim-failurescenarios
+ make-target-errortest: bbsim-errorscenarios
+ make-target-alarmtest: bbsim-alarms-kind
+ make-target-multipleolt: bbsim-multiolt-kind
+ make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
+ make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
+ make-target-reconciletest: reconcile-openonu-go-adapter-test-att
+ make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
+ make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
+
+ jobs:
+ - 'voltha-make-test':
+ name: 'onf-make-voltha-dt-fttb-test-bbsim-master'
+ code-branch: 'master'
+ extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF --set onu=2'
+ testTargets: |
+ - target: sanity-kind-dt-fttb
+ workflow: dt-fttb
+ flags: ""
+ teardown: true
+ logging: true
+
+ - 'voltha-make-test':
+ name: 'onf-make-voltha-sanity-test-multi-runs'
+ code-branch: 'master'
+ extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
+ testTargets: |
+ - target: sanity-kind
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: sanity-kind
+ workflow: att
+ flags: ""
+ teardown: false
+ logging: true
+ - target: sanity-kind
+ workflow: att
+ flags: ""
+ teardown: false
+ logging: true
+ - target: sanity-kind
+ workflow: att
+ flags: ""
+ teardown: false
+ logging: true
+ - target: sanity-kind
+ workflow: att
+ flags: ""
+ teardown: false
+ logging: true
+
+ - 'onf-make-unit-test':
+ test-repo: 'bbsim'
+ build-node: 'ubuntu18.04-basebuild-4c-8g'
+ branch-regexp: '^master$'
+ dest-gopath: "github.com/opencord"
+ unit-test-targets: 'lint sca test'
+ unit-test-keep-going: 'false'
+
+# [EOF]