diff options
author | 2019-11-14 20:23:23 +0000 | |
---|---|---|
committer | 2019-11-15 16:32:26 +0000 | |
commit | bc09618f1e0921d23fc4b7581d5b106d3e4f576e (patch) | |
tree | a986b10c505856d80c08dc6042709f802e6e4bc7 /jjb/dcaegen2/dcaegen2-platform-adapter.yaml | |
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>
Diffstat (limited to 'jjb/dcaegen2/dcaegen2-platform-adapter.yaml')
-rw-r--r-- | jjb/dcaegen2/dcaegen2-platform-adapter.yaml | 60 |
1 files changed, 60 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' |