diff options
author | Andrew Gauld <agauld@att.com> | 2019-11-14 20:23:23 +0000 |
---|---|---|
committer | Andrew Gauld <agauld@att.com> | 2019-11-15 16:32:26 +0000 |
commit | bc09618f1e0921d23fc4b7581d5b106d3e4f576e (patch) | |
tree | a986b10c505856d80c08dc6042709f802e6e4bc7 | |
parent | 9d33b0421e206d24efd385f811e11732ec960b41 (diff) |
Add JJB for Acumos Adapter
Signed-off-by: Andrew Gauld <agauld@att.com>
Issue-ID: DCAEGEN2-1861
Change-Id: I10e767cd8b5c1740043b5cb4cb258b996c444458
Signed-off-by: Andrew Gauld <agauld@att.com>
-rw-r--r-- | jjb/dcaegen2/dcaegen2-platform-adapter.yaml | 60 | ||||
-rw-r--r-- | jjb/global-defaults.yaml | 7 |
2 files changed, 67 insertions, 0 deletions
diff --git a/jjb/dcaegen2/dcaegen2-platform-adapter.yaml b/jjb/dcaegen2/dcaegen2-platform-adapter.yaml new file mode 100644 index 000000000..bb0a9f73b --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-adapter.yaml @@ -0,0 +1,60 @@ +--- +- dcaegen2_platform_common: &dcaegen2_platform_common + # values apply to all dcaegen2_platform docker projects + name: dcaegen2-platform-docker-common + # git repo + project: dcaegen2/platform + # maven settings file has docker credentials + mvn-settings: dcaegen2-platform-settings + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # source of docker tag + # container-tag-method: yaml-file + # until everything needed for yaml-file is in place + container-tag-method: latest + build-node: ubuntu1604-docker-8c-8g + # jenkins job name prefix + project-name: '{name}' + tox-dir: '{docker-root}' + # build only on relevant changes + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '{docker-root}/.*' + +- project: + name: dcaegen2-platform-aoadapter-project-view + project-name: dcaegen2-platform-aoadapter + views: + - project-view + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-aoadapter + # root of docker build + docker-root: adapter/acumos + # image name + docker-name: '{name}' + stream: + - master: + branch: master + jobs: + - '{project-name}-gerrit-docker-jobs' + +- project: + <<: *dcaegen2_platform_common + name: dcagen2-platform-aoadapter-verify + docker-root: adapter/acumos + stream: + - all: + branch: '*' + jobs: + - gerrit-tox-verify + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-aoadapter-sonar + docker-root: adapter/acumos + branch: master + jobs: + - gerrit-tox-sonar + cron: '@daily' diff --git a/jjb/global-defaults.yaml b/jjb/global-defaults.yaml index fc6044f37..2117c9134 100644 --- a/jjb/global-defaults.yaml +++ b/jjb/global-defaults.yaml @@ -56,3 +56,10 @@ # SonarCloud sonarcloud_project_organization: onap sonarcloud_api_token: da97604dfdc36ec82488a97ebea96ad01f7b10ff + + # Nexus3 docker registries + container-public-registry: nexus3.onap.org:10001 + container-snapshot-registry: nexus3.onap.org:10003 + container-staging-registry: nexus3.onap.org:10004 + # the quotes here are REQUIRED + container-push-registry: '{container-staging-registry}' |