File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -105,23 +105,29 @@ integration-test:
105
105
# install opensll
106
106
yum install -y openssl
107
107
108
+ echo @@ "Calling 'kubectl version'"
109
+ kubectl version
110
+
108
111
export HOST_PATH="/scratch"
109
112
export PV_ROOT=$HOST_PATH
110
- export RESULT_ROOT="/pipeline/output /k8s_dir"
113
+ export RESULT_ROOT="$WERCKER_OUTPUT_DIR /k8s_dir"
111
114
mkdir -m 777 -p $RESULT_ROOT
112
- export PROJECT_ROOT="/pipeline/source "
113
- /pipeline/source /src/integration-tests/bash/cleanup.sh
115
+ export PROJECT_ROOT="${WERCKER_SOURCE_DIR} "
116
+ $WERCKER_SOURCE_DIR /src/integration-tests/bash/cleanup.sh
114
117
115
118
# create pull secrets
119
+ echo @@ "Creating pull secrets"
116
120
kubectl delete secret docker-store --ignore-not-found=true
117
121
kubectl create secret docker-registry docker-store --docker-server=index.docker.io/v1/ --docker-username=$DOCKER_USERNAME --docker-password=$DOCKER_PASSWORD --docker-email=$DOCKER_EMAIL
122
+
118
123
kubectl delete ns test1 --ignore-not-found=true
119
124
kubectl create ns test1
120
125
kubectl create secret docker-registry docker-store -n test1 --docker-server=index.docker.io/v1/ --docker-username=$DOCKER_USERNAME --docker-password=$DOCKER_PASSWORD --docker-email=$DOCKER_EMAIL
121
126
122
127
kubectl delete ns test2 --ignore-not-found=true
123
128
kubectl create ns test2
124
129
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
130
+
125
131
kubectl delete ns weblogic-operator-1 --ignore-not-found=true
126
132
kubectl create ns weblogic-operator-1
127
133
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
You can’t perform that action at this time.
0 commit comments