blob: 44c082b2afb88e67a01f518072e1add40153b22b [file] [log] [blame]
---
- project:
name: sim-a1-interface-project-view
project-name: sim-a1-interface
views:
- project-view
- _sim_a1_interface_common:
&sim_a1_interface_common # values apply to all projects here
name: sim-a1-interface-common
# git repo
project: sim/a1-interface
# jenkins job name prefix
project-name: sim-a1-interface
# maven settings file has docker credentials
mvn-settings: sim-a1-interface-settings
java-version: openjdk17
- project:
<<: *sim_a1_interface_common
name: a1-simulator-verify
# the install script assumes an ubuntu image
build-node: ubuntu1804-builder-2c-2g
python-version: python3
tox-envs: code
stream:
- master:
branch: master
jobs:
- gerrit-tox-verify
- project:
<<: *sim_a1_interface_common
name: a1-simulator
# image name
docker-name: "o-ran-sc/{name}"
# source of docker tag
container-tag-method: yaml-file
docker-root: near-rt-ric-simulator
# use host network
docker-build-args: "--network=host"
build-node: ubuntu1804-docker-4c-4g
stream:
- master:
branch: master
- g-release:
branch: g-release
- h-release:
branch: h-release
- i-release:
branch: i-release
jobs:
- "{project-name}-gerrit-docker-jobs"
- project:
<<: *sim_a1_interface_common
name: sim-a1-interface-sonarqube
python-version: python3
build-node: ubuntu2004-builder-2c-2g
sonar-project-file: ""
sonar-jdk: openjdk17
sonar-properties: |
sonar.login={sonarcloud_api_token}
sonar.projectKey={sonarcloud_project_organization}_{project-name}
sonar.projectName={project-name}
sonar.organization={sonarcloud_project_organization}
sonar.build.sourceEncoding=UTF-8
sonar.sources=near-rt-ric-simulator
sonar.python.coverage.reportPaths=coverage.xml
jobs:
- gerrit-tox-sonarqube
- project:
<<: *sim_a1_interface_common
name: sim-a1-interface-release
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- "{project-name}-gerrit-release-jobs"
stream:
- master:
branch: master
- h-release:
branch: h-release
- i-release:
branch: i-release