From 4251aafd6f4f39064defd3b2916363ecd0fc7a99 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Wed, 6 Sep 2023 09:35:56 +0200 Subject: [PATCH] ci: update bsycorp/kind to latest version Latest version has less issues and looks more stable. --- .agola/config.jsonnet | 2 +- scripts/agola-k8s.sh | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.agola/config.jsonnet b/.agola/config.jsonnet index bed08e6..ce94430 100644 --- a/.agola/config.jsonnet +++ b/.agola/config.jsonnet @@ -147,7 +147,7 @@ local task_build_push_images(name, pgversions, istag, push) = arch: 'amd64', containers: [ { - image: 'bsycorp/kind:v1.19.4', + image: 'bsycorp/kind:latest-1.23', privileged: true, entrypoint: '/usr/bin/supervisord --nodaemon -c /etc/supervisord.conf', }, diff --git a/scripts/agola-k8s.sh b/scripts/agola-k8s.sh index 0ba331b..7c506cf 100755 --- a/scripts/agola-k8s.sh +++ b/scripts/agola-k8s.sh @@ -17,13 +17,12 @@ make PGVERSION=11 TAG=stolon:master-pg11 docker pushd examples/kubernetes -# TODO(sgotti) bsycorp kind:v1.19.4 doesn't correctly parse kubectl output and will never report kubernetes in ready state -#echo -n "Waiting for kubernetes to be ready" -#until curl -s --fail http://127.0.0.1:10080/kubernetes-ready; do -# sleep 1; -# echo -n "." -#done -#echo " Ready" +echo -n "Waiting for kubernetes to be ready" +until curl -s --fail http://127.0.0.1:10080/kubernetes-ready; do + sleep 1; + echo -n "." +done +echo " Ready" sed -i 's#sorintlab/stolon:master-pg10#stolon:master-pg11#' *.yaml