Tuned circle
@@ -25,7 +25,7 @@ dependencies:
- mvn --batch-mode -DskipTests package dependency:go-offline
test:
override:
- - mvn --batch-mode -Ddocker.push.username=$DOCKER_USERNAME -Ddocker.push.password=$DOCKER_PASSWORD -Ddocker.push.email=$DOCKER_EMAIL fabric8:build fabric8:push install
+ - mvn --batch-mode fabric8:build install
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/.*-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
@@ -39,10 +39,5 @@ deployment:
owner: redhat-ipaas
branch: master
commands:
- - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD -e $DOCKER_EMAIL
- - docker push rhipaas/ipaas-verifier:latest | cat -
- - curl -sSL https://github.com/openshift/origin/releases/download/v1.4.1/openshift-origin-client-tools-v1.4.1-3f9807a-linux-64bit.tar.gz | sudo tar xz -C /usr/bin --strip-components 1
- - oc login --server=${OPENSHIFT_APISERVER} --token=${OPENSHIFT_TOKEN}
- - oc project ipaas-staging
- - oc import-image --confirm=true rhipaas/ipaas-rest:latest
+ - mvn -Ddocker.push.username=$DOCKER_USERNAME -Ddocker.push.password=$DOCKER_PASSWORD fabric8:push
