File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,13 @@ if [[ $image == $KUBERNETES_IMAGE ]]; then
22
22
./cluster/.kubectl config set-cluster kubernetes --insecure-skip-tls-verify=true
23
23
24
24
elif [[ $image == $OPENSHIFT_IMAGE ]]; then
25
- $gocli run --random-ports --reverse --nodes ${num_nodes} --background kubevirtci/${image}
25
+
26
+ # If on a developer setup, expose ocp on 8443, so that the openshift web console can be used (the port is important because of auth redirects)
27
+ if [ -z " ${JOB_NAME} " ]; then
28
+ KUBEVIRT_PROVIDER_EXTRA_ARGS=" ${KUBEVIRT_PROVIDER_EXTRA_ARGS} --ocp-port 8443"
29
+ fi
30
+
31
+ $gocli run --random-ports --reverse --nodes ${num_nodes} --background kubevirtci/${image} ${KUBEVIRT_PROVIDER_EXTRA_ARGS}
26
32
cluster_port=$( $gocli ports ocp | tr -d ' \r' )
27
33
$gocli scp /etc/origin/master/admin.kubeconfig - > ./cluster/.kubeconfig
28
34
$gocli ssh node01 -- sudo cp /etc/origin/master/admin.kubeconfig ~ vagrant/
Original file line number Diff line number Diff line change @@ -38,12 +38,4 @@ for p in "${LINTABLE[@]}"; do
38
38
fi
39
39
done
40
40
41
- # echo "running golint on the pkg directory (golint pkg/...)"
42
- # out="$(golint pkg/...)"
43
- # if [[ ${out} ]]; then
44
- # echo "FAIL: following golint errors found:"
45
- # echo "${out}"
46
- # ec=1
47
- # fi
48
-
49
41
exit ${ec}
You can’t perform that action at this time.
0 commit comments