views:
- project-view
-- hw-python_common: &hw-python_common
- # values apply to all projects
+- _hw-python_common: &hw-python_common # values apply to all projects
name: hw-python-common
# git repo
project: ric-app/hw-python
# maven settings file has docker credentials
mvn-settings: ric-app-hw-python-settings
-# verify INFO.yaml changes
+# create docker image when source changes
- project:
<<: *hw-python_common
- name: ric-app-hw-python-info
- build-node: centos7-builder-1c-1g
+ name: ric-app-hw-python
+ # image name
+ docker-name: "o-ran-sc/{name}"
+ # source of docker tag
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: "--network=host"
+ # trigger on any change other than a file in ./docs
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
jobs:
- - gerrit-info-yaml-verify
+ - "{project-name}-gerrit-docker-jobs"
+ stream:
+ - master:
+ branch: master
+
+# push nexus image from staging to release
+- project:
+ <<: *hw-python_common
+ name: ric-app-hw-python-release
+ # maven release requires sigul which requires centos
+ # container release requires docker
+ build-node: centos7-docker-2c-8g
+ jobs:
+ - "{project-name}-gerrit-release-jobs"