Add set -xe
to deployment shell phase-helpers
This allows errors to be passed from a container to the airshipctl itself. Without this flags container will never fail. Relates-To: #517 Change-Id: I20254f868bd85af44980acc656ca0fb401779bbc
This commit is contained in:
parent
fcfad3533a
commit
014e24cd15
@ -12,6 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set -xe
|
||||
|
||||
N=0
|
||||
MAX_RETRY=30
|
||||
DELAY=60
|
||||
|
@ -12,6 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set -xe
|
||||
|
||||
echo "Wait for Calico to be deployed using tigera" 1>&2
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KCTL_CONTEXT wait --all-namespaces --for=condition=Ready pods --all --timeout=1000s 1>&2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user