Skip to content

Commit f41c46b

Browse files
committed
Debugging
1 parent e03c135 commit f41c46b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

wercker.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,29 @@ integration-test:
105105
# install opensll
106106
yum install -y openssl
107107
108+
echo @@ "Calling 'kubectl version'"
109+
kubectl version
110+
108111
export HOST_PATH="/scratch"
109112
export PV_ROOT=$HOST_PATH
110-
export RESULT_ROOT="/pipeline/output/k8s_dir"
113+
export RESULT_ROOT="$WERCKER_OUTPUT_DIR/k8s_dir"
111114
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
114117
115118
# create pull secrets
119+
echo @@ "Creating pull secrets"
116120
kubectl delete secret docker-store --ignore-not-found=true
117121
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+
118123
kubectl delete ns test1 --ignore-not-found=true
119124
kubectl create ns test1
120125
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
121126
122127
kubectl delete ns test2 --ignore-not-found=true
123128
kubectl create ns test2
124129
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+
125131
kubectl delete ns weblogic-operator-1 --ignore-not-found=true
126132
kubectl create ns weblogic-operator-1
127133
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

0 commit comments

Comments
 (0)