lf-jobbuilder | 85d3460 | 2022-10-03 17:07:40 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: aiml-fw-awmf-tm-project-view |
| 4 | project-name: aiml-fw-awmf-tm |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: aiml-fw-awmf-tm-info |
| 10 | project: aiml-fw/awmf/tm |
| 11 | project-name: aiml-fw-awmf-tm |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | branch: master |
| 14 | jobs: |
SANDEEP KUMAR JAISAWAL | 907ed20 | 2022-11-07 15:44:52 +0530 | [diff] [blame] | 15 | - gerrit-info-yaml-verify |
| 16 | |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 17 | - _aiml_tm_docker_common: &aiml_tm_docker_common |
SANDEEP KUMAR JAISAWAL | 907ed20 | 2022-11-07 15:44:52 +0530 | [diff] [blame] | 18 | # values apply to all training manager projects |
| 19 | name: aiml-fw-awmf-tm-docker-common |
| 20 | # git repo |
| 21 | project: aiml-fw/awmf/tm |
| 22 | # jenkins job name prefix |
| 23 | project-name: aiml-fw-awmf-tm |
| 24 | # maven settings file has docker credentials |
| 25 | mvn-settings: aiml-fw-awmf-tm-settings |
| 26 | |
| 27 | - project: |
| 28 | <<: *aiml_tm_docker_common |
SANDEEP KUMAR JAISAWAL | 5a8739d | 2022-11-17 13:46:41 +0530 | [diff] [blame] | 29 | name: aiml-fw-awmf-tm-release |
SANDEEP KUMAR JAISAWAL | 907ed20 | 2022-11-07 15:44:52 +0530 | [diff] [blame] | 30 | # maven release requires sigul which requires centos |
| 31 | # container release requires docker |
| 32 | build-node: centos7-docker-2c-8g |
| 33 | jobs: |
| 34 | - '{project-name}-gerrit-release-jobs' |
| 35 | |
| 36 | - project: |
| 37 | <<: *aiml_tm_docker_common |
| 38 | name: aiml-fw-awmf-tm-docker |
| 39 | project-name: '{name}' |
| 40 | # image name |
| 41 | docker-name: 'o-ran-sc/{name}' |
| 42 | # Dockerfile is in a subdir |
| 43 | docker-root: '.' |
| 44 | # source of docker tag |
| 45 | # dockerfile is in subdir of docker root |
| 46 | docker-build-args: '--network=host' |
| 47 | container-tag-method: yaml-file |
| 48 | build-node: ubuntu1804-docker-4c-4g |
| 49 | jobs: |
| 50 | - "{project-name}-gerrit-docker-jobs" |
| 51 | stream: |
| 52 | - master: |
| 53 | branch: master |
SANDEEP KUMAR JAISAWAL | 548264f | 2022-11-21 19:32:49 +0530 | [diff] [blame] | 54 | - project: |
| 55 | <<: *aiml_tm_docker_common |
| 56 | name: aiml-fw-awmf-tm-tox-verify |
| 57 | # the install script assumes an ubuntu image |
| 58 | build-node: ubuntu1804-builder-2c-2g |
| 59 | python-version: python3 |
| 60 | # skip docs on verify |
| 61 | tox-envs: code |
| 62 | tox-dir: '.' |
| 63 | # do not trigger on changes in docs, releases |
| 64 | gerrit_trigger_file_paths: |
| 65 | - compare-type: REG_EXP |
| 66 | pattern: 'trainingmgr/.*' |
| 67 | stream: |
| 68 | # run verify on all branches |
| 69 | # the ANT pattern is **/{branch}, we are exploiting that. |
| 70 | - all: |
| 71 | branch: master |
| 72 | jobs: |
| 73 | - gerrit-tox-verify |
| 74 | |
| 75 | - project: |
| 76 | <<: *aiml_tm_docker_common |
| 77 | name: aiml-fw-awmf-tm-sonarqube |
| 78 | python-version: python3 |
| 79 | tox-dir: '.' |
| 80 | # the install script assumes an ubuntu image |
| 81 | build-node: ubuntu1804-builder-2c-2g |
| 82 | # do not trigger on changes in docs, releases |
| 83 | gerrit_trigger_file_paths: |
| 84 | - compare-type: REG_EXP |
| 85 | pattern: 'trainingmgr/.*' |
| 86 | sonar-project-file: "" |
| 87 | sonar-properties: | |
| 88 | sonar.login={sonarcloud_api_token} |
| 89 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 90 | sonar.projectName={project-name} |
| 91 | sonar.organization={sonarcloud_project_organization} |
| 92 | sonar.build.sourceEncoding=UTF-8 |
SANDEEP KUMAR JAISAWAL | fc1cda3 | 2022-12-01 17:17:49 +0530 | [diff] [blame] | 93 | sonar.sources=trainingmgr |
| 94 | sonar.python.coverage.reportPaths=coverage.xml |
SANDEEP KUMAR JAISAWAL | 548264f | 2022-11-21 19:32:49 +0530 | [diff] [blame] | 95 | jobs: |
| 96 | - gerrit-tox-sonarqube |