Skip to content

Commit

Permalink
Fix timing out tests for public GitHub Runners. (#16750)
Browse files Browse the repository at this point in the history
This PR:

* upgrades kind to latest version with security fixes
* increases timeouts to account for low-resource GitHub Runners

Fixes: #16736
  • Loading branch information
potiuk authored Jul 1, 2021
1 parent fa81105 commit e40c5a2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions BREEZE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion breeze-complete
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/libraries/_initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 3 additions & 1 deletion scripts/ci/libraries/_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit e40c5a2

Please sign in to comment.