diff options
author | Cristina Pauna <cristina.pauna@enea.com> | 2019-09-05 16:14:59 +0300 |
---|---|---|
committer | Cristina Pauna <cristina.pauna@enea.com> | 2019-09-18 14:16:58 +0300 |
commit | faa78c69f51765cced12c7505ed6efc2f43a70f4 (patch) | |
tree | 700b669b1b3d6e36447d17e5a50a7b4c55b3a7d7 /jjb | |
parent | 7ec70d5407723e1f9f88d64c01c7386ee045163d (diff) |
Added multiplatform jobs for policy-api image
This is a follow-up to patch https://gerrit.onap.org/r/c/ci-management/+/92707
Modified the policy-api project to use the multi-arch templates on
master branch
Issue-ID: CIMAN-217
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I4d68dbde3c3b959c8323cb02e5e935aa18be8c4d
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/policy/policy-api.yaml | 63 |
1 files changed, 60 insertions, 3 deletions
diff --git a/jjb/policy/policy-api.yaml b/jjb/policy/policy-api.yaml index ea20cea04..8a13714ed 100644 --- a/jjb/policy/policy-api.yaml +++ b/jjb/policy/policy-api.yaml @@ -1,6 +1,6 @@ --- - project: - name: policy-api + name: policy-api-elalto project-name: 'policy-api' jobs: - '{project-name}-{stream}-verify-java' @@ -23,8 +23,6 @@ project: 'policy/api' stream: - - 'master': - branch: 'master' - 'elalto': branch: 'elalto' mvn-settings: 'policy-api-settings' @@ -33,6 +31,65 @@ build-node: ubuntu1604-builder-4c-4g - project: + name: policy-api + project-name: 'policy-api' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java': + project-name: 'policy-api-amd64' + docker-pom: 'pom.xml' + mvn-params: '-P docker -Ddocker.pull.registry=docker.io -Ddocker.push.registry=registry-1.docker.io' + build-node: ubuntu1604-docker-8c-8g + pattern: 'do_not_match_any_file' + - '{project-name}-{stream}-merge-java': + project-name: 'policy-api-arm64' + docker-pom: 'pom.xml' + mvn-params: '-P docker -Dmaven.test.skip=true -Ddocker.pull.registry=docker.io -Ddocker.push.registry=registry-1.docker.io' + build-node: ubuntu1604-docker-arm64-4c-2g + pattern: 'do_not_match_any_file' + - '{project-name}-multiarch-{stream}-merge-java' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-builder-4c-4g + maven-versions-plugin: true + - gerrit-maven-docker-stage: + project-name: 'policy-api-amd64' + build-node: ubuntu1604-docker-8c-8g + maven-versions-plugin: true + mvn-params: '-P docker -Dmaven.test.skip=true -Ddocker.pull.registry=docker.io -Ddocker.push.registry=registry-1.docker.io' + container-public-registry: 'docker.io' + container-staging-registry: 'docker.io' + cron: '' + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: 'do_not_match_any_file' + - gerrit-maven-docker-stage: + project-name: 'policy-api-arm64' + build-node: ubuntu1604-docker-arm64-4c-2g + maven-versions-plugin: true + mvn-params: '-P docker -Dmaven.test.skip=true -Ddocker.pull.registry=docker.io -Ddocker.push.registry=registry-1.docker.io' + container-public-registry: 'docker.io' + container-staging-registry: 'docker.io' + cron: '' + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: 'do_not_match_any_file' + - '{project-name}-docker-manifest-{stream}': + build-node: ubuntu1604-docker-8c-8g + - '{project-name}-multiarch-docker-stage-{stream}' +# - '{project-name}-gerrit-release-jobs': +# build-node: centos7-docker-8c-8g + + project: 'policy/api' + stream: + - 'master': + branch: 'master' + mvn-settings: 'policy-api-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-builder-4c-4g + +- project: name: policy-api-sonar jobs: - gerrit-maven-sonar |