Lott, Christopher (cl778h) | 98ac590 | 2019-06-01 07:03:27 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-a1-project-view |
| 4 | project-name: ric-plt-a1 |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Andrew Grimberg | f075e01 | 2019-06-11 13:32:10 -0700 | [diff] [blame] | 8 | - project: |
| 9 | name: ric-plt-a1-info |
| 10 | project: ric-plt/a1 |
| 11 | project-name: ric-plt-a1 |
| 12 | build-node: centos7-builder-1c-1g |
Andrew Grimberg | f075e01 | 2019-06-11 13:32:10 -0700 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 16 | - a1_common: &a1_common |
| 17 | # values apply to all A1 projects |
| 18 | name: a1-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 19 | # git repo |
| 20 | project: ric-plt/a1 |
| 21 | # jenkins job name prefix |
| 22 | project-name: ric-plt-a1 |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: ric-plt-a1-settings |
| 25 | |
| 26 | - project: |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 27 | <<: *a1_common |
Lott, Christopher (cl778h) | a53794c | 2020-03-05 05:38:20 -0500 | [diff] [blame] | 28 | name: ric-plt-a1-docker |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 29 | # image name |
Lott, Christopher (cl778h) | 9748902 | 2020-03-20 13:48:33 -0400 | [diff] [blame] | 30 | docker-name: 'o-ran-sc/ric-plt-a1' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 31 | # source of docker tag |
| 32 | container-tag-method: yaml-file |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 33 | # use host network |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 34 | docker-build-args: '--network=host' |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 35 | build-node: ubuntu1804-docker-4c-4g |
Lott, Christopher (cl778h) | c48e438 | 2020-05-27 09:56:11 -0400 | [diff] [blame] | 36 | # do not trigger on changes in docs, releases |
| 37 | gerrit_trigger_file_paths: |
| 38 | - compare-type: REG_EXP |
Lott, Christopher (cl778h) | 4212ad7 | 2020-05-27 16:47:31 -0400 | [diff] [blame] | 39 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 40 | stream: |
| 41 | - master: |
| 42 | branch: master |
| 43 | jobs: |
| 44 | - '{project-name}-gerrit-docker-jobs' |
| 45 | |
| 46 | - project: |
| 47 | <<: *a1_common |
| 48 | name: ric-plt-a1-verify |
Lott, Christopher (cl778h) | bde567d | 2019-09-12 15:32:33 -0400 | [diff] [blame] | 49 | # the install script assumes an ubuntu image |
| 50 | build-node: ubuntu1804-builder-2c-2g |
| 51 | pre-build-script: !include-raw-escape: |
Lott, Christopher (cl778h) | 18c7159 | 2020-04-27 17:46:12 -0400 | [diff] [blame] | 52 | - ../shell/install-deb-rmr.sh |
Lott, Christopher (cl778h) | bde567d | 2019-09-12 15:32:33 -0400 | [diff] [blame] | 53 | python-version: python3 |
Lott, Christopher (cl778h) | 23a4f13 | 2020-04-27 20:11:37 -0400 | [diff] [blame] | 54 | # skip docs on verify |
| 55 | tox-envs: code,flake8 |
Lott, Christopher (cl778h) | c48e438 | 2020-05-27 09:56:11 -0400 | [diff] [blame] | 56 | # do not trigger on changes in docs, releases |
| 57 | gerrit_trigger_file_paths: |
| 58 | - compare-type: REG_EXP |
Lott, Christopher (cl778h) | 4212ad7 | 2020-05-27 16:47:31 -0400 | [diff] [blame] | 59 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Lott, Christopher (cl778h) | 3414844 | 2019-08-09 14:39:14 -0400 | [diff] [blame] | 60 | stream: |
Tommy Carpenter | 31c86f5 | 2019-11-04 14:36:17 -0500 | [diff] [blame] | 61 | # run verify on all branches |
| 62 | # the ANT pattern is **/{branch}, we are exploiting that. |
| 63 | - all: |
| 64 | branch: '*' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 65 | jobs: |
Lott, Christopher (cl778h) | bde567d | 2019-09-12 15:32:33 -0400 | [diff] [blame] | 66 | - gerrit-tox-verify |
Lott, Christopher (cl778h) | 3414844 | 2019-08-09 14:39:14 -0400 | [diff] [blame] | 67 | |
| 68 | - project: |
Lott, Christopher (cl778h) | 915e30b | 2019-09-15 20:05:03 -0400 | [diff] [blame] | 69 | <<: *a1_common |
Lott, Christopher (cl778h) | ec66eaa | 2020-04-21 17:23:00 -0400 | [diff] [blame] | 70 | name: ric-plt-a1-nexus-iq |
| 71 | build-node: centos7-builder-1c-1g |
| 72 | nexus-iq-namespace: oran- |
| 73 | jobs: |
| 74 | - gerrit-tox-nexus-iq-clm |
| 75 | |
| 76 | - project: |
| 77 | <<: *a1_common |
Lott, Christopher (cl778h) | a53794c | 2020-03-05 05:38:20 -0500 | [diff] [blame] | 78 | name: ric-plt-a1-sonarqube |
Lott, Christopher (cl778h) | bde567d | 2019-09-12 15:32:33 -0400 | [diff] [blame] | 79 | python-version: python3 |
| 80 | # the install script assumes an ubuntu image |
| 81 | build-node: ubuntu1804-builder-2c-2g |
| 82 | pre-build-script: !include-raw-escape: |
Lott, Christopher (cl778h) | 18c7159 | 2020-04-27 17:46:12 -0400 | [diff] [blame] | 83 | - ../shell/install-deb-rmr.sh |
Lott, Christopher (cl778h) | a53794c | 2020-03-05 05:38:20 -0500 | [diff] [blame] | 84 | sonar-project-file: "" |
| 85 | sonar-properties: | |
| 86 | sonar.login={sonarcloud_api_token} |
| 87 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 88 | sonar.projectName={project-name} |
| 89 | sonar.organization={sonarcloud_project_organization} |
| 90 | sonar.build.sourceEncoding=UTF-8 |
| 91 | sonar.sources=a1 |
| 92 | sonar.python.coverage.reportPaths=coverage.xml |
Lott, Christopher (cl778h) | 3414844 | 2019-08-09 14:39:14 -0400 | [diff] [blame] | 93 | jobs: |
Lott, Christopher (cl778h) | a53794c | 2020-03-05 05:38:20 -0500 | [diff] [blame] | 94 | - gerrit-tox-sonarqube |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 95 | |
| 96 | - project: |
| 97 | <<: *a1_common |
Lott, Christopher (cl778h) | a53794c | 2020-03-05 05:38:20 -0500 | [diff] [blame] | 98 | name: ric-plt-a1-release |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 99 | # maven release requires sigul which requires centos |
| 100 | # container release requires docker |
| 101 | build-node: centos7-docker-2c-8g |
| 102 | jobs: |
| 103 | - '{project-name}-gerrit-release-jobs' |