jobs:
- gerrit-info-yaml-verify
-- nonrtric_jdk_common: &nonrtric_jdk_common
+- _nonrtric_jdk_common: &nonrtric_jdk_common
name: nonrtric-jdk-common
# git repo
project: nonrtric
# maven settings file has docker credentials
mvn-settings: nonrtric-settings
mvn-version: mvn36
- java-version: openjdk11
+ java-version: openjdk17
- project:
<<: *nonrtric_jdk_common
- mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
+ name: nonrtric-test-kafka-procon
+ project-name: "{name}"
+ # image name
+ docker-name: "kafka-procon"
+ # get tag from YAML
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: "--network=host"
+ # Directory with Dockerfile
+ docker-root: "test/kafka-procon"
+ # Directory where go test should be run
+ # Limit build trigger to appropriate files
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: "test/kafka-procon/.*"
+ build-node: ubuntu1804-docker-4c-4g
+ # Includes verify and merge jobs
jobs:
- - gerrit-maven-docker-verify
- - gerrit-maven-docker-merge
- - gerrit-maven-docker-stage
+ - "{project-name}-gerrit-docker-jobs"
stream:
- - e-release:
- branch: e-release
+ - master:
+ branch: master
-# nonrtric:policy-agent/
-# Maven artifacts for nonrtric-policy-agent/
- project:
<<: *nonrtric_jdk_common
- name: nonrtric-policy-agent
- project-name: '{name}'
- mvn-opts: '-Ddocker.skip=true'
- mvn-params: '-f policy-agent/'
+ name: nonrtric-test-http-https-proxy
+ project-name: "{name}"
+ # image name
+ docker-name: "http-https-proxy"
+ # get tag from YAML
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: "--network=host"
+ # Directory with Dockerfile
+ docker-root: "test/http-https-proxy"
+ # Directory where go test should be run
+ # Limit build trigger to appropriate files
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'policy-agent/.*'
- build-node: ubuntu1804-builder-4c-4g
+ pattern: "test/http-https-proxy/.*"
+ build-node: ubuntu1804-docker-4c-4g
+ # Includes verify and merge jobs
jobs:
- - gerrit-maven-verify
- - gerrit-maven-merge
- - gerrit-maven-stage
- - gerrit-maven-clm
+ - "{project-name}-gerrit-docker-jobs"
stream:
- - dawn:
- branch: dawn
+ - master:
+ branch: master
-# nonrtric:sdnc-a1-controller
-# Maven artifacts for nonrtric-sdnc-a1-controller
- project:
<<: *nonrtric_jdk_common
- name: nonrtric-sdnc-a1-controller
- project-name: '{name}'
- mvn-opts: '-Ddocker.skip=true'
- mvn-params: '-f sdnc-a1-controller/northbound'
+ name: nonrtric-test-cr
+ project-name: "{name}"
+ # image name
+ docker-name: "cr"
+ # get tag from YAML
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: "--network=host"
+ # Directory with Dockerfile
+ docker-root: "test/cr"
+ # Directory where go test should be run
+ # Limit build trigger to appropriate files
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'sdnc-a1-controller/northbound/.*'
- build-node: ubuntu1804-builder-4c-4g
+ pattern: "test/cr/.*"
+ build-node: ubuntu1804-docker-4c-4g
+ # Includes verify and merge jobs
jobs:
- - gerrit-maven-verify
- - gerrit-maven-merge
- - gerrit-maven-stage
- - gerrit-maven-clm
+ - "{project-name}-gerrit-docker-jobs"
stream:
- - dawn:
- branch: dawn
- - e-release:
- branch: e-release
+ - master:
+ branch: master
-# nonrtric:enrichment-coordinator-service
-# Maven artifacts for nonrtric-enrichment-coordinator-service
- project:
<<: *nonrtric_jdk_common
- name: nonrtric-enrichment-coordinator-service
- project-name: '{name}'
- mvn-opts: '-Ddocker.skip=true'
- mvn-params: '-f enrichment-coordinator-service'
+ name: nonrtric-test-prodstub
+ project-name: "{name}"
+ # image name
+ docker-name: "prodstub"
+ # get tag from YAML
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: "--network=host"
+ # Directory with Dockerfile
+ docker-root: "test/prodstub"
+ # Directory where go test should be run
+ # Limit build trigger to appropriate files
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'enrichment-coordinator-service/.*'
- build-node: ubuntu1804-builder-4c-4g
+ pattern: "test/prodstub/.*"
+ build-node: ubuntu1804-docker-4c-4g
+ # Includes verify and merge jobs
jobs:
- - gerrit-maven-verify
- - gerrit-maven-merge
- - gerrit-maven-stage
- - gerrit-maven-clm
+ - "{project-name}-gerrit-docker-jobs"
stream:
- - dawn:
- branch: dawn
+ - master:
+ branch: master
- project:
<<: *nonrtric_jdk_common
- name: nonrtric-plt-auth-token-fetch
- project-name: '{name}'
+ name: nonrtric-test-mrstub
+ project-name: "{name}"
# image name
- docker-name: 'o-ran-sc/nonrtric-plt-auth-token-fetch'
+ docker-name: "mrstub"
# get tag from YAML
container-tag-method: yaml-file
# use host network to clone from our gerrit
- docker-build-args: '--network=host'
+ docker-build-args: "--network=host"
# Directory with Dockerfile
- docker-root: 'auth-token-fetch'
+ docker-root: "test/mrstub"
+ # Directory where go test should be run
+ # Limit build trigger to appropriate files
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: "test/mrstub/.*"
+ build-node: ubuntu1804-docker-4c-4g
+ # Includes verify and merge jobs
+ jobs:
+ - "{project-name}-gerrit-docker-jobs"
+ stream:
+ - master:
+ branch: master
+
+- project:
+ <<: *nonrtric_jdk_common
+ name: nonrtric-plt-auth-token-fetch
+ project-name: "{name}"
+ # image name
+ docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
+ # get tag from YAML
+ container-tag-method: yaml-file
# use host network to clone from our gerrit
- docker-build-args: '--network=host'
+ docker-build-args: "--network=host"
+ # Directory with Dockerfile
+ docker-root: "auth-token-fetch"
# Directory where go test should be run
- go-root: 'auth-token-fetch'
+ go-root: "auth-token-fetch"
# Limit build trigger to appropriate files
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'auth-token-fetch/.*'
+ pattern: "auth-token-fetch/.*"
build-node: ubuntu1804-docker-4c-4g
# Includes verify and merge jobs
jobs:
stream:
- master:
branch: master
+ - g-release:
+ java-version: openjdk11
+ branch: g-release
+ - h-release:
+ branch: h-release
- project:
<<: *nonrtric_jdk_common
sonar-project-file: ""
java-version: openjdk11
# use sonarcloud values from defaults.yaml
- sonar-properties: !include-raw: sonar-project.properties
+ sonar-properties: !include-raw-escape: sonar-project.properties
jobs:
- gerrit-sonar-prescan-script
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- - '{project-name}-gerrit-release-jobs'
+ - "{project-name}-gerrit-release-jobs"