From 6dc53ad48a7fc0622ec141d30bc29ab5b0d2342a Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 4 Apr 2018 12:27:38 -0700 Subject: Rename robot docker from openecomp to onap Also remove an unused job template that was only used by the testsuite repo. Change-Id: Ie024864a2c5f0710f3d9bf2adaf3c356075d2c67 Issue-ID: INT-459 Signed-off-by: Gary Wu --- jjb/global-templates-python.yaml | 65 --------------------------------------- jjb/testsuite/testsuite-docker.sh | 6 ++-- 2 files changed, 3 insertions(+), 68 deletions(-) (limited to 'jjb') diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml index acd5e17f0..966ecb324 100644 --- a/jjb/global-templates-python.yaml +++ b/jjb/global-templates-python.yaml @@ -70,71 +70,6 @@ - infra-shiplogs: maven-version: '{maven-version}' -- job-template: - # Job template for docker daily jobs - # - # The purpose of this job template is to run: - # 1. login into the docker registry - # 2. docker build - # 3. docker tag - # 4. docker push - # - # Required Variables: - # branch: git branch (eg. stable/lithium or master) - - name: '{project-name}-{stream}-docker-shell-daily' - project-type: freestyle - node: 'ubuntu1604-docker-8c-8g' - - properties: - - infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - maven-exec: - maven-version: '{maven-version}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - submodule-recursive: '{submodule-recursive}' - - wrappers: - - infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - # 12 AM UTC - - timed: 'H 12 * * *' - - gerrit-trigger-release-manually: - server: '{server-name}' - project: '{project}' - branch: '{branch}' - - builders: - - provide-maven-settings: - global-settings-file: 'global-settings' - settings-file: '{mvn-settings}' - - - docker-login - - - shell: | - cp $WORKSPACE/docker/* . - docker -D build -t openecomp/testsuite . - export REPO="nexus3.onap.org:10003" - docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:1.0-STAGING-latest - docker push $REPO/openecomp/testsuite:1.0-STAGING-latest - - publishers: - - infra-shiplogs: - maven-version: '{maven-version}' - - job-template: # Job template for docker daily jobs for 2 SCMs # diff --git a/jjb/testsuite/testsuite-docker.sh b/jjb/testsuite/testsuite-docker.sh index 33eea4f81..d29d43c97 100644 --- a/jjb/testsuite/testsuite-docker.sh +++ b/jjb/testsuite/testsuite-docker.sh @@ -2,10 +2,10 @@ # echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES =================' cp $WORKSPACE/docker/* . -docker -D build -t openecomp/testsuite . +docker -D build -t onap/testsuite . export REPO="nexus3.onap.org:10003" for tag in $tags do - docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:$tag - docker push $REPO/openecomp/testsuite:$tag + docker tag onap/testsuite:latest $REPO/onap/testsuite:$tag + docker push $REPO/onap/testsuite:$tag done -- cgit 1.2.3-korg