|
56 | 56 | rpm -e --nodeps gzip
|
57 | 57 | yum clean all
|
58 | 58 | rm -rf /var/cache/yum
|
59 |
| - # push the image to quay.io using the GIT branch as the tag |
| 59 | + # push the image to Docker using the GIT branch as the tag |
60 | 60 | # this image needs to be available to the integration-test pipeline for testing
|
61 | 61 | - internal/docker-push:
|
62 | 62 | username: $REPO_USERNAME
|
@@ -215,19 +215,19 @@ integration-test:
|
215 | 215 | kubectl delete secret docker-store -n test2 --ignore-not-found=true
|
216 | 216 | kubectl create secret docker-registry docker-store -n test2 --docker-server=index.docker.io/v1/ --docker-username=$DOCKER_USERNAME --docker-password=$DOCKER_PASSWORD --docker-email=$DOCKER_EMAIL
|
217 | 217 |
|
218 |
| - kubectl delete secret quay-io -n weblogic-operator-1 --ignore-not-found=true |
219 |
| - kubectl create secret docker-registry quay-io -n weblogic-operator-1 --docker-server=quay.io --docker-username=$QUAY_USERNAME --docker-password=$QUAY_PASSWORD --docker-email=$QUAY_EMAIL |
| 218 | + kubectl delete secret test-registry -n weblogic-operator-1 --ignore-not-found=true |
| 219 | + kubectl create secret docker-registry test-registry -n weblogic-operator-1 --docker-server=$REPO_REGISTRY --docker-username=$REPO_USERNAME --docker-password=$REPO_PASSWORD |
220 | 220 |
|
221 |
| - kubectl delete secret quay-io -n weblogic-operator-2 --ignore-not-found=true |
222 |
| - kubectl create secret docker-registry quay-io -n weblogic-operator-2 --docker-server=quay.io --docker-username=$QUAY_USERNAME --docker-password=$QUAY_PASSWORD --docker-email=$QUAY_EMAIL |
| 221 | + kubectl delete secret test-registry -n weblogic-operator-2 --ignore-not-found=true |
| 222 | + kubectl create secret docker-registry test-registry -n weblogic-operator-2 --docker-server=$REPO_REGISTRY --docker-username=$REPO_USERNAME --docker-password=$REPO_PASSWORD |
223 | 223 |
|
224 |
| - export IMAGE_NAME_OPERATOR="quay.io/markxnelson/weblogic-kubernetes-operator" |
| 224 | + export IMAGE_NAME_OPERATOR="${REPO_REPOSITORY}" |
225 | 225 | export IMAGE_TAG_OPERATOR="${WERCKER_GIT_BRANCH//[_\/]/-}"
|
226 | 226 | if [ "$IMAGE_TAG_OPERATOR" = "master" ]; then
|
227 | 227 | export IMAGE_TAG_OPERATOR="latest"
|
228 | 228 | fi
|
229 | 229 | export IMAGE_PULL_POLICY_OPERATOR="Always"
|
230 |
| - export IMAGE_PULL_SECRET_OPERATOR="quay-io" |
| 230 | + export IMAGE_PULL_SECRET_OPERATOR="test-registry" |
231 | 231 | export IMAGE_PULL_SECRET_WEBLOGIC="docker-store"
|
232 | 232 |
|
233 | 233 | echo "Integration test suite against the test image which is:"
|
|
0 commit comments