From e40c5a268d8dc24d1e6b00744308ef705224cb66 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 1 Jul 2021 14:29:52 +0200 Subject: [PATCH] Fix timing out tests for public GitHub Runners. (#16750) This PR: * upgrades kind to latest version with security fixes * increases timeouts to account for low-resource GitHub Runners Fixes: #16736 --- BREEZE.rst | 4 ++-- breeze-complete | 2 +- scripts/ci/libraries/_initialization.sh | 2 +- scripts/ci/libraries/_kind.sh | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/BREEZE.rst b/BREEZE.rst index 62e77034003b8..98af7ac8635ff 100644 --- a/BREEZE.rst +++ b/BREEZE.rst @@ -2445,9 +2445,9 @@ This is the current syntax for `./breeze <./breeze>`_: Kind version - only used in case one of kind-cluster commands is used. One of: - v0.10.0 + v0.11.1 - Default: v0.10.0 + Default: v0.11.1 --helm-version HELM_VERSION Helm version - only used in case one of kind-cluster commands is used. diff --git a/breeze-complete b/breeze-complete index 45a4f9cac5a0e..6b67d538667aa 100644 --- a/breeze-complete +++ b/breeze-complete @@ -32,7 +32,7 @@ _breeze_allowed_github_registrys="ghcr.io docker.pkg.github.com" _breeze_allowed_kubernetes_modes="image" _breeze_allowed_kubernetes_versions="v1.20.2 v1.19.7 v1.18.15" _breeze_allowed_helm_versions="v3.2.4" -_breeze_allowed_kind_versions="v0.10.0" +_breeze_allowed_kind_versions="v0.11.1" _breeze_allowed_mysql_versions="5.7 8" _breeze_allowed_mssql_versions="2017-latest 2019-latest" _breeze_allowed_postgres_versions="9.6 10 11 12 13" diff --git a/scripts/ci/libraries/_initialization.sh b/scripts/ci/libraries/_initialization.sh index 24fce97c7fc24..92c8aaaf3e3b7 100644 --- a/scripts/ci/libraries/_initialization.sh +++ b/scripts/ci/libraries/_initialization.sh @@ -511,7 +511,7 @@ function initialization::initialize_kubernetes_variables() { CURRENT_KUBERNETES_MODES+=("image") export CURRENT_KUBERNETES_MODES # Currently supported versions of Kind - CURRENT_KIND_VERSIONS+=("v0.10.0") + CURRENT_KIND_VERSIONS+=("v0.11.1") export CURRENT_KIND_VERSIONS # Currently supported versions of Helm CURRENT_HELM_VERSIONS+=("v3.2.4") diff --git a/scripts/ci/libraries/_kind.sh b/scripts/ci/libraries/_kind.sh index b53d22f8e07be..20a3d14465ead 100644 --- a/scripts/ci/libraries/_kind.sh +++ b/scripts/ci/libraries/_kind.sh @@ -335,7 +335,9 @@ function kind::deploy_airflow_with_helm() { pushd "${chartdir}/chart" >/dev/null 2>&1 || exit 1 helm repo add stable https://charts.helm.sh/stable/ helm dep update - helm install airflow . --namespace "${HELM_AIRFLOW_NAMESPACE}" \ + helm install airflow . \ + --timeout 10m0s \ + --namespace "${HELM_AIRFLOW_NAMESPACE}" \ --set "defaultAirflowRepository=${DOCKERHUB_USER}/${DOCKERHUB_REPO}" \ --set "images.airflow.repository=${DOCKERHUB_USER}/${DOCKERHUB_REPO}" \ --set "images.airflow.tag=${AIRFLOW_PROD_BASE_TAG}-kubernetes" -v 1 \