lf-jobbuilder | 6007aeb | 2022-10-14 18:06:00 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: aiml-fw-athp-sdk-model-storage-project-view |
| 4 | project-name: aiml-fw-athp-sdk-model-storage |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: aiml-fw-athp-sdk-model-storage-info |
| 10 | project: aiml-fw/athp/sdk/model-storage |
| 11 | project-name: aiml-fw-athp-sdk-model-storage |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | branch: master |
| 14 | jobs: |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame^] | 15 | - gerrit-info-yaml-verify |
| 16 | |
| 17 | - aiml_mssdk_docker_common: &aiml_mssdk_docker_common |
| 18 | # values apply to all training manager projects |
| 19 | name: aiml-fw-athp-sdk-model-storage-docker-common |
| 20 | # git repo |
| 21 | project: aiml-fw/athp/sdk/model-storage |
| 22 | # jenkins job name prefix |
| 23 | project-name: aiml-fw-athp-sdk-model-storage |
| 24 | # maven settings file has docker credentials |
| 25 | mvn-settings: aiml-fw-athp-sdk-model-storage-settings |
| 26 | |
| 27 | - project: |
| 28 | <<: *aiml_mssdk_docker_common |
| 29 | name: aiml-fw-athp-sdk-model-storage-tox-verify |
| 30 | # the install script assumes an ubuntu image |
| 31 | build-node: ubuntu1804-builder-2c-2g |
| 32 | python-version: python3 |
| 33 | # skip docs on verify |
| 34 | tox-envs: code |
| 35 | tox-dir: '.' |
| 36 | # do not trigger on changes in docs, releases |
| 37 | gerrit_trigger_file_paths: |
| 38 | - compare-type: REG_EXP |
| 39 | pattern: 'modelmetricsdk/.*' |
| 40 | stream: |
| 41 | # run verify on all branches |
| 42 | # the ANT pattern is **/{branch}, we are exploiting that. |
| 43 | - all: |
| 44 | branch: master |
| 45 | jobs: |
| 46 | - gerrit-tox-verify |
| 47 | |
| 48 | - project: |
| 49 | <<: *aiml_mssdk_docker_common |
| 50 | name: aiml-fw-athp-sdk-model-storage-sonarqube |
| 51 | python-version: python3 |
| 52 | tox-dir: '.' |
| 53 | # the install script assumes an ubuntu image |
| 54 | build-node: ubuntu1804-builder-2c-2g |
| 55 | # do not trigger on changes in docs, releases |
| 56 | gerrit_trigger_file_paths: |
| 57 | - compare-type: REG_EXP |
| 58 | pattern: 'modelmetricsdk/.*' |
| 59 | sonar-project-file: "" |
| 60 | sonar-properties: | |
| 61 | sonar.login={sonarcloud_api_token} |
| 62 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 63 | sonar.projectName={project-name} |
| 64 | sonar.organization={sonarcloud_project_organization} |
| 65 | sonar.build.sourceEncoding=UTF-8 |
| 66 | sonar.sources=modelmetricsdk |
| 67 | sonar.python.coverage.reportPaths=coverage.xml |
| 68 | jobs: |
| 69 | - gerrit-tox-sonarqube |