File tree Expand file tree Collapse file tree 5 files changed +13
-17
lines changed Expand file tree Collapse file tree 5 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 56
56
./hack/build-cross.sh
57
57
./hack/build-go.sh
58
58
./hack/cherry_pick_pull.sh
59
- ./hack/dev-build-and-push.sh
60
- ./hack/dev-build-and-up.sh
61
- ./hack/dev-push-conformance.sh
62
- ./hack/dev-push-hyperkube.sh
63
59
./hack/e2e-internal/e2e-cluster-size.sh
64
60
./hack/e2e-internal/e2e-down.sh
65
61
./hack/e2e-internal/e2e-grow-cluster.sh
Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ set -o errexit
20
20
set -o nounset
21
21
set -o pipefail
22
22
23
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
23
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
24
24
25
25
# Build a dev release
26
- make -f ${KUBE_ROOT} /Makefile quick-release
27
-
28
- if [ " $? " != " 0" ]; then
26
+ if ! make -f " ${KUBE_ROOT} " /Makefile quick-release
27
+ then
29
28
echo " Building a release failed!"
30
29
exit 1
31
30
fi
Original file line number Diff line number Diff line change @@ -21,12 +21,13 @@ set -o errexit
21
21
set -o nounset
22
22
set -o pipefail
23
23
24
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
24
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
25
25
26
26
# Build a dev release
27
- make -f ${KUBE_ROOT} /Makefile quick-release
28
27
29
- if [ " $? " != " 0" ]; then
28
+
29
+ if ! make -f " ${KUBE_ROOT} " /Makefile quick-release
30
+ then
30
31
echo " Building the release failed!"
31
32
exit 1
32
33
fi
Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ set -o errexit
26
26
set -o nounset
27
27
set -o pipefail
28
28
29
- KUBE_ROOT=" $( dirname " ${BASH_SOURCE} " ) /.."
29
+ KUBE_ROOT=" $( dirname " ${BASH_SOURCE[0] } " ) /.."
30
30
source " ${KUBE_ROOT} /build/common.sh"
31
31
32
32
if [[ -z " ${REGISTRY:- } " ]]; then
33
33
echo " REGISTRY must be set"
34
- exit - 1
34
+ exit 1
35
35
fi
36
36
if [[ -z " ${VERSION:- } " ]]; then
37
37
echo " VERSION must be set"
38
- exit - 1
38
+ exit 1
39
39
fi
40
40
41
41
IMAGE=" ${REGISTRY} /conformance-amd64:${VERSION} "
Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ set -o errexit
26
26
set -o nounset
27
27
set -o pipefail
28
28
29
- KUBE_ROOT=" $( dirname " ${BASH_SOURCE} " ) /.."
29
+ KUBE_ROOT=" $( dirname " ${BASH_SOURCE[0] } " ) /.."
30
30
source " ${KUBE_ROOT} /build/common.sh"
31
31
32
32
if [[ -z " ${REGISTRY:- } " ]]; then
33
33
echo " REGISTRY must be set"
34
- exit - 1
34
+ exit 1
35
35
fi
36
36
if [[ -z " ${VERSION:- } " ]]; then
37
37
echo " VERSION must be set"
38
- exit - 1
38
+ exit 1
39
39
fi
40
40
41
41
IMAGE=" ${REGISTRY} /hyperkube-amd64:${VERSION} "
You can’t perform that action at this time.
0 commit comments