-- dbaas_docker_common: &dbaas_docker_common
- # values apply to all RIC docker-build projects.
- # factored out in case this needs multiple projects.
- # use a specific name to prevent reuse attempts
- # bcos anchors don't cross document boundaries.
- name: dbaas-docker-common
+- project:
+ name: ric-plt-dbaas-info
+ project: ric-plt/dbaas
+ project-name: ric-plt-dbaas
+ build-node: centos7-builder-1c-1g
+ jobs:
+ - gerrit-info-yaml-verify
+
+- dbaas_common: &dbaas_common
+ # values apply to all ric-plt/dbaas projects
+ name: dbaas-common
+ # git repo
+ project: ric-plt/dbaas
+ # jenkins job name prefix
+ project-name: ric-plt-dbaas
+ # maven settings file has credentials
+ mvn-settings: ric-plt-dbaas-settings
+
+# compile code and run tests
+- project:
+ <<: *dbaas_common
+ name: ric-plt-dbaas-lib
+ pre-build: !include-raw-escape: setup-dbaas-build-deb.sh
+ build-node: ubuntu1804-builder-2c-2g
+ make-opts: -j 2 test
+ jobs:
+ - gerrit-autotools-verify
+ stream:
+ - master:
+ branch: master
+
+# common settings for building DEB and RPM packages
+- dbaas_pkg_common: &dbaas_pkg_common
+ name: ric-plt-pkg-cmn
+ pre-build: !include-raw-escape: setup-dbaas-build-deb.sh
+ # directory with package files
+ build-dir: pkg
+ # docker image has the package_cloud gem