You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/07/18 11:20:25 UTC

[airflow] 08/29: Fix timing out tests for public GitHub Runners. (#16750)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit fa813c2b87cdc6b85ef8159eefe5d3aa2c254019
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu Jul 1 14:29:52 2021 +0200

    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
    (cherry picked from commit e40c5a268d8dc24d1e6b00744308ef705224cb66)
---
 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 2082744a..d199367 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -2444,9 +2444,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 9e21c2c..65a3ee0 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_postgres_versions="9.6 10 11 12 13"
 _breeze_allowed_kind_operations="start stop restart status deploy test shell k9s"
diff --git a/scripts/ci/libraries/_initialization.sh b/scripts/ci/libraries/_initialization.sh
index 034cd37..2b5458e 100644
--- a/scripts/ci/libraries/_initialization.sh
+++ b/scripts/ci/libraries/_initialization.sh
@@ -489,7 +489,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 085dfac..7e06ed3 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 \