File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 7
7
#
8
8
# By default, no authentication, and only use pre-built images
9
9
#
10
- set -e
11
- set -oq pipefail
10
+ set -euxo pipefail
12
11
13
12
# use kubectl if available, else fall back to `minikube kubectl --`, else error
14
13
KUBECTL=kubectl
@@ -96,14 +95,14 @@ spec:
96
95
sourceNamespace: ${NAMESPACE}
97
96
EOF
98
97
99
- # If on MacOS, need to install `brew install coreutils` to get `timeout`
100
- timeout 600s bash -c " until $KUBECTL get customresourcedefinitions.apiextensions.k8s.io tackles.tackle.konveyor.io; do sleep 30; done" \
101
- || $KUBECTL get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out
98
+ # # If on MacOS, need to install `brew install coreutils` to get `timeout`
99
+ # timeout 600s bash -c "until $KUBECTL get customresourcedefinitions.apiextensions.k8s.io tackles.tackle.konveyor.io; do sleep 30; done" \
100
+ # || $KUBECTL get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out
102
101
103
- # $KUBECTL wait \
104
- # --namespace ${NAMESPACE} \
105
- # --for=condition=established \
106
- # customresourcedefinitions.apiextensions.k8s.io/tackles.tackle.konveyor.io
102
+ $KUBECTL wait \
103
+ --namespace ${NAMESPACE} \
104
+ --for=condition=established \
105
+ customresourcedefinitions.apiextensions.k8s.io/tackles.tackle.konveyor.io
107
106
}
108
107
109
108
install_tackle () {
You can’t perform that action at this time.
0 commit comments