LF Jenkins CI | e31c7e6 | 2022-02-02 19:27:08 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: nonrtric-rapp-ransliceassurance-project-view |
| 4 | project-name: nonrtric-rapp-ransliceassurance |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: nonrtric-rapp-ransliceassurance-info |
| 10 | project: nonrtric/rapp/ransliceassurance |
| 11 | project-name: nonrtric-rapp-ransliceassurance |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
ychacon | 6402696 | 2022-02-18 09:51:37 +0100 | [diff] [blame] | 15 | |
| 16 | - ransliceassurance_common: &ransliceassurance_common |
| 17 | name: ransliceassurance-common |
| 18 | # git repo |
| 19 | project: nonrtric/rapp/ransliceassurance |
| 20 | # jenkins job name prefix |
| 21 | project-name: nonrtric-rapp-ransliceassurance |
| 22 | # maven settings file has docker credentials |
| 23 | mvn-settings: nonrtric-rapp-ransliceassurance-settings |
| 24 | |
| 25 | - project: |
| 26 | <<: *ransliceassurance_common |
| 27 | name: nonrtric-rapp-ransliceassurance-release |
| 28 | # maven release requires sigul which requires centos |
| 29 | # container release requires docker |
| 30 | build-node: centos7-docker-2c-8g |
| 31 | jobs: |
| 32 | - '{project-name}-gerrit-release-jobs' |
| 33 | |
| 34 | - project: |
| 35 | <<: *ransliceassurance_common |
| 36 | name: nonrtric-rapp-ransliceassurance |
| 37 | project-name: '{name}' |
| 38 | # image name |
| 39 | docker-name: 'o-ran-sc/nonrtric-rapp-ransliceassurance' |
| 40 | # get tag from YAML |
| 41 | container-tag-method: yaml-file |
| 42 | # use host network to clone from our gerrit |
| 43 | docker-build-args: '--network=host' |
| 44 | # Directory with Dockerfile |
| 45 | docker-root: 'smoversion' |
| 46 | # Directory where go test should be run |
| 47 | go-root: 'smoversion' |
| 48 | build-node: ubuntu1804-docker-4c-4g |
| 49 | # Includes verify and merge jobs |
| 50 | jobs: |
| 51 | - "{project-name}-gerrit-docker-jobs" |
| 52 | - gerrit-go-verify |
| 53 | stream: |
| 54 | - master: |
| 55 | branch: master |
| 56 | |
| 57 | - project: |
| 58 | <<: *ransliceassurance_common |
| 59 | name: nonrtric-rapp-ransliceassurance-sonar |
| 60 | project-name: nonrtric-rapp-ransliceassurance |
| 61 | # prescan script requires ubuntu |
| 62 | # golang is only on docker-enabled nodes |
| 63 | build-node: ubuntu1804-docker-4c-4g |
| 64 | sonar-prescan-script: !include-raw-escape: prescan-ransliceassurance-ubuntu.sh |
| 65 | sonar-project-file: "" |
| 66 | java-version: openjdk11 |
| 67 | # use sonarcloud values from defaults.yaml |
| 68 | sonar-properties: !include-raw: sonar-project.properties |
| 69 | jobs: |
| 70 | - gerrit-sonar-prescan-script |