airshipctl/manifests/function/phase-helpers/wait_deploy/kubectl_wait_deploy.sh
Ruslan Aliev 1faeb29f43 Disable capd job from voting
* slightly increase timeout for gate script runner job
* disable capd job from voting due to instability
* fix validate_docs script:
  we should either filter site to validate from command line or
  from sites_to_skip variable
* enable document validation for docker test site

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: If38e6e24f7187d59072bc7435c700b829e2dafba
Closes: #649
2021-10-01 13:37:44 -05:00

19 lines
813 B
Bash

#!/bin/sh
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -xe
kubectl --kubeconfig $KUBECONFIG --context $KCTL_CONTEXT wait --for=condition=Established crd --all --timeout=300s -A 1>&2
kubectl --kubeconfig $KUBECONFIG --context $KCTL_CONTEXT wait --for=condition=available deploy --all --timeout=1000s -A 1>&2