LF Jenkins CI | b6d1ce6 | 2022-02-02 19:35:46 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: nonrtric-rapp-orufhrecovery-project-view |
| 4 | project-name: nonrtric-rapp-orufhrecovery |
| 5 | views: |
| 6 | - project-view |
| 7 | |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 8 | - project: &orufhrecovery_common |
LF Jenkins CI | b6d1ce6 | 2022-02-02 19:35:46 +0000 | [diff] [blame] | 9 | name: nonrtric-rapp-orufhrecovery-info |
| 10 | project: nonrtric/rapp/orufhrecovery |
| 11 | project-name: nonrtric-rapp-orufhrecovery |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 12 | # maven settings file has docker credentials |
| 13 | mvn-settings: nonrtric-rapp-orufhrecovery-settings |
LF Jenkins CI | b6d1ce6 | 2022-02-02 19:35:46 +0000 | [diff] [blame] | 14 | build-node: centos7-builder-1c-1g |
| 15 | jobs: |
| 16 | - gerrit-info-yaml-verify |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 17 | |
| 18 | - project: |
| 19 | <<: *orufhrecovery_common |
elinuxhenrik | 28c3a86 | 2022-04-13 07:41:40 +0200 | [diff] [blame] | 20 | name: nonrtric-rapp-orufhrecovery-release |
| 21 | # maven release requires sigul which requires centos |
| 22 | # container release requires docker |
| 23 | build-node: centos7-docker-2c-8g |
| 24 | jobs: |
| 25 | - '{project-name}-gerrit-release-jobs' |
| 26 | |
| 27 | - project: |
| 28 | <<: *orufhrecovery_common |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 29 | name: nonrtric-rapp-orufhrecovery |
| 30 | project-name: '{name}' |
| 31 | # image name |
| 32 | docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery' |
| 33 | # get tag from YAML |
| 34 | container-tag-method: yaml-file |
| 35 | # use host network to clone from our gerrit |
| 36 | docker-build-args: '--network=host' |
| 37 | # Directory with Dockerfile |
| 38 | docker-root: 'scriptversion/app' |
| 39 | # Limit build trigger to appropriate files |
| 40 | gerrit_trigger_file_paths: |
| 41 | - compare-type: REG_EXP |
| 42 | pattern: 'scriptversion/app/.*' |
| 43 | build-node: ubuntu1804-docker-4c-4g |
| 44 | # Includes verify and merge jobs |
| 45 | jobs: |
| 46 | - "{project-name}-gerrit-docker-jobs" |
elinuxhenrik | c6be42a | 2022-06-09 13:10:12 +0200 | [diff] [blame] | 47 | - gerrit-maven-docker-stage |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 48 | stream: |
| 49 | - master: |
| 50 | branch: master |
| 51 | |
| 52 | - project: |
| 53 | <<: *orufhrecovery_common |
| 54 | name: nonrtric-rapp-orufhrecovery-consumer |
| 55 | project-name: '{name}' |
| 56 | # image name |
| 57 | docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery-consumer' |
| 58 | # get tag from YAML |
| 59 | container-tag-method: yaml-file |
| 60 | # use host network to clone from our gerrit |
| 61 | docker-build-args: '--network=host' |
| 62 | # Directory with Dockerfile |
| 63 | docker-root: 'goversion' |
| 64 | # Directory where go test should be run |
| 65 | go-root: 'goversion' |
| 66 | # Limit build trigger to appropriate files |
| 67 | gerrit_trigger_file_paths: |
| 68 | - compare-type: REG_EXP |
| 69 | pattern: 'goversion/.*' |
| 70 | build-node: ubuntu1804-docker-4c-4g |
| 71 | # Includes verify and merge jobs |
| 72 | jobs: |
| 73 | - "{project-name}-gerrit-docker-jobs" |
| 74 | - gerrit-go-verify |
elinuxhenrik | c6be42a | 2022-06-09 13:10:12 +0200 | [diff] [blame] | 75 | - gerrit-maven-docker-stage |
elinuxhenrik | d6c0f97 | 2022-04-07 16:59:45 +0200 | [diff] [blame] | 76 | stream: |
| 77 | - master: |
| 78 | branch: master |
| 79 | |
| 80 | - project: |
| 81 | <<: *orufhrecovery_common |
| 82 | name: nonrtric-rapp-orufhrecovery-consumer-sonar |
| 83 | project-name: '{name}' |
| 84 | # prescan script requires ubuntu |
| 85 | # golang is only on docker-enabled nodes |
| 86 | build-node: ubuntu1804-docker-4c-4g |
| 87 | sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh |
| 88 | sonar-project-file: "" |
| 89 | java-version: openjdk11 |
| 90 | # use sonarcloud values from defaults.yaml |
| 91 | sonar-properties: | |
| 92 | # Required metadata |
| 93 | sonar.login={sonarcloud_api_token} |
| 94 | sonar.projectKey={sonarcloud_project_organization}_nonrtric-rapp-orufhrecovery-consumer |
| 95 | sonar.organization={sonarcloud_project_organization} |
| 96 | # Encoding |
| 97 | sonar.build.sourceEncoding=UTF-8 |
| 98 | # Language |
| 99 | sonar.language=go |
| 100 | # Source |
| 101 | sonar.sources=. |
| 102 | # Unit tests |
| 103 | sonar.go.coverage.reportPaths=goversion/coverage.txt |
| 104 | # Inclusions |
| 105 | sonar.inclusions=goversion/internal/**/**.go,goversion/**.go |
| 106 | # Exclusions |
| 107 | sonar.exclusions=goversion/mocks/**.go,goversion/internal/**/**_test.go,goversion/**_test.go,goversion/simulator/**.go |
| 108 | jobs: |
| 109 | - gerrit-sonar-prescan-script |