From faa78c69f51765cced12c7505ed6efc2f43a70f4 Mon Sep 17 00:00:00 2001 From: Cristina Pauna Date: Thu, 5 Sep 2019 16:14:59 +0300 Subject: 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 Change-Id: I4d68dbde3c3b959c8323cb02e5e935aa18be8c4d --- jjb/policy/policy-api.yaml | 63 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) (limited to 'jjb') 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' @@ -32,6 +30,65 @@ archive-artifacts: '' 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: -- cgit 1.2.3-korg