Updating Feature-Store-sdk and Model-Metric-sdk CI File for Tox and Sonar Jobs
Issue-Id: AIMLFW-5
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
Change-Id: I7ccd81c0b2e8199d73028780246dd461015c5156
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
diff --git a/jjb/aiml-fw-athp-sdk-feature-store/aiml-fw-athp-sdk-feature-store.yaml b/jjb/aiml-fw-athp-sdk-feature-store/aiml-fw-athp-sdk-feature-store.yaml
index e30c1c5..22b9b8a 100644
--- a/jjb/aiml-fw-athp-sdk-feature-store/aiml-fw-athp-sdk-feature-store.yaml
+++ b/jjb/aiml-fw-athp-sdk-feature-store/aiml-fw-athp-sdk-feature-store.yaml
@@ -12,4 +12,58 @@
build-node: centos7-builder-1c-1g
branch: master
jobs:
- - gerrit-info-yaml-verify
\ No newline at end of file
+ - gerrit-info-yaml-verify
+
+- aiml_fssdk_docker_common: &aiml_fssdk_docker_common
+ # values apply to all training manager projects
+ name: aiml-fw-athp-sdk-feature-store-docker-common
+ # git repo
+ project: aiml-fw/athp/sdk/feature-store
+ # jenkins job name prefix
+ project-name: aiml-fw-athp-sdk-feature-store
+ # maven settings file has docker credentials
+ mvn-settings: aiml-fw-athp-sdk-feature-store-settings
+
+- project:
+ <<: *aiml_fssdk_docker_common
+ name: aiml-fw-athp-sdk-feature-store-tox-verify
+ # the install script assumes an ubuntu image
+ build-node: ubuntu1804-builder-2c-2g
+ python-version: python3
+ # skip docs on verify
+ tox-envs: code
+ tox-dir: '.'
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'featurestoresdk/.*'
+ stream:
+ # run verify on all branches
+ # the ANT pattern is **/{branch}, we are exploiting that.
+ - all:
+ branch: master
+ jobs:
+ - gerrit-tox-verify
+
+- project:
+ <<: *aiml_fssdk_docker_common
+ name: aiml-fw-athp-sdk-feature-store-sonarqube
+ python-version: python3
+ tox-dir: '.'
+ # the install script assumes an ubuntu image
+ build-node: ubuntu1804-builder-2c-2g
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'featurestoresdk/.*'
+ sonar-project-file: ""
+ sonar-properties: |
+ sonar.login={sonarcloud_api_token}
+ sonar.projectKey={sonarcloud_project_organization}_{project-name}
+ sonar.projectName={project-name}
+ sonar.organization={sonarcloud_project_organization}
+ sonar.build.sourceEncoding=UTF-8
+ sonar.sources=featurestoresdk
+ sonar.python.coverage.reportPaths=coverage.xml
+ jobs:
+ - gerrit-tox-sonarqube
\ No newline at end of file
diff --git a/jjb/aiml-fw-athp-sdk-model-storage/aiml-fw-athp-sdk-model-storage.yaml b/jjb/aiml-fw-athp-sdk-model-storage/aiml-fw-athp-sdk-model-storage.yaml
index 924e0e7..8a3c87d 100644
--- a/jjb/aiml-fw-athp-sdk-model-storage/aiml-fw-athp-sdk-model-storage.yaml
+++ b/jjb/aiml-fw-athp-sdk-model-storage/aiml-fw-athp-sdk-model-storage.yaml
@@ -12,4 +12,58 @@
build-node: centos7-builder-1c-1g
branch: master
jobs:
- - gerrit-info-yaml-verify
\ No newline at end of file
+ - gerrit-info-yaml-verify
+
+- aiml_mssdk_docker_common: &aiml_mssdk_docker_common
+ # values apply to all training manager projects
+ name: aiml-fw-athp-sdk-model-storage-docker-common
+ # git repo
+ project: aiml-fw/athp/sdk/model-storage
+ # jenkins job name prefix
+ project-name: aiml-fw-athp-sdk-model-storage
+ # maven settings file has docker credentials
+ mvn-settings: aiml-fw-athp-sdk-model-storage-settings
+
+- project:
+ <<: *aiml_mssdk_docker_common
+ name: aiml-fw-athp-sdk-model-storage-tox-verify
+ # the install script assumes an ubuntu image
+ build-node: ubuntu1804-builder-2c-2g
+ python-version: python3
+ # skip docs on verify
+ tox-envs: code
+ tox-dir: '.'
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'modelmetricsdk/.*'
+ stream:
+ # run verify on all branches
+ # the ANT pattern is **/{branch}, we are exploiting that.
+ - all:
+ branch: master
+ jobs:
+ - gerrit-tox-verify
+
+- project:
+ <<: *aiml_mssdk_docker_common
+ name: aiml-fw-athp-sdk-model-storage-sonarqube
+ python-version: python3
+ tox-dir: '.'
+ # the install script assumes an ubuntu image
+ build-node: ubuntu1804-builder-2c-2g
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'modelmetricsdk/.*'
+ sonar-project-file: ""
+ sonar-properties: |
+ sonar.login={sonarcloud_api_token}
+ sonar.projectKey={sonarcloud_project_organization}_{project-name}
+ sonar.projectName={project-name}
+ sonar.organization={sonarcloud_project_organization}
+ sonar.build.sourceEncoding=UTF-8
+ sonar.sources=modelmetricsdk
+ sonar.python.coverage.reportPaths=coverage.xml
+ jobs:
+ - gerrit-tox-sonarqube
\ No newline at end of file