blob: d1f978a82cc36f321d6cec47cb8c6bda3c324e15 [file] [log] [blame]
---
- project:
name: ric-plt-lib-rmr-project-view
project-name: ric-plt-lib-rmr
views:
- project-view
- 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
# because 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 because all builds are RCs
container-push-registry: nexus3.o-ran-sc.org:10004
stream:
- master:
branch: master
- project:
name: ric-plt-lib-rmr
# git repo
project: ric-plt/lib/rmr
# jenkins job name prefix
project-name: '{name}'
# use host network to clone from our gerrit
docker-build-args: '--network=host -f ci/Dockerfile'
# image name
docker-name: '{name}'
# image tag; use a fixed value
container-tag-method: latest
# maven settings file has docker credentials
mvn-settings: ric-plt-lib-rmr-settings
# copy deb to Jenkins filesystem
post_docker_build_script: !include-raw-escape:
- shell/copy-rmr-packages.sh
jobs:
# TODO: define a merge template to push package, not image
- gerrit-docker-verify
<<: *rmr_docker_common
- 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