-- rmr_docker_common: &rmr_docker_common
- # values apply to all RIC docker-build projects.
- # factored out in case rmr needs multiple projects.
- # use a specific name to prevent reuse attempts
- # bcos anchors don't cross document boundaries.
- name: rmr-docker-common
- build-node: ubuntu1804-docker-4c-4g
- # pull from the public mirror + releases registry
- container-public-registry: nexus3.o-ran-sc.org:10001
- # push to the staging repo bcos all builds are RCs
- container-push-registry: nexus3.o-ran-sc.org:10004
+- project:
+ name: ric-plt-lib-rmr-info
+ project: ric-plt/lib/rmr
+ project-name: ric-plt-lib-rmr
+ build-node: centos7-builder-1c-1g
+ jobs:
+ - gerrit-info-yaml-verify
+
+- rmr_common: &rmr_common
+ name: rmr-common
+ # git repo
+ project: ric-plt/lib/rmr
+ # jenkins job name prefix
+ project-name: ric-plt-lib-rmr
+ # maven settings file has credentials
+ mvn-settings: ric-plt-lib-rmr-settings
+ # image is not pushed, use trivial tag
+ container-tag-method: latest
+ # image name
+ docker-name: '{name}'
+ # use host network for network resources
+ docker-build-args: '--network=host -f ci/Dockerfile'
+ # exclude changes in the bindings subdirectory
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!src/bindings|\/COMMIT_MSG).)*$'
+
+# verify RMR changes targeted at any branch
+- project:
+ <<: *rmr_common
+ name: ric-plt-lib-rmr-verify
+ jobs:
+ - gerrit-docker-verify
+ stream:
+ - all:
+ branch: '*'
+
+# build RMR and publish to PackageCloud.io on merge to master branch
+- project:
+ <<: *rmr_common
+ name: ric-plt-lib-rmr-merge
+ jobs:
+ - oran-gerrit-docker-ci-pc-merge