Skip to content

Commit 7b77455

Browse files
author
John Griffith
authored
Merge branch 'master' into modify_container_restart_policy
2 parents 537bcd0 + 9ad0788 commit 7b77455

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

cluster/up.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ if [[ $image == $KUBERNETES_IMAGE ]]; then
2222
./cluster/.kubectl config set-cluster kubernetes --insecure-skip-tls-verify=true
2323

2424
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}
2632
cluster_port=$($gocli ports ocp | tr -d '\r')
2733
$gocli scp /etc/origin/master/admin.kubeconfig - > ./cluster/.kubeconfig
2834
$gocli ssh node01 -- sudo cp /etc/origin/master/admin.kubeconfig ~vagrant/

hack/build/run-lint-checks.sh

-8
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,4 @@ for p in "${LINTABLE[@]}"; do
3838
fi
3939
done
4040

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-
4941
exit ${ec}

0 commit comments

Comments
 (0)