Skip to content

Commit

Permalink
Update kindest image
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Dec 2, 2020
1 parent 35338c4 commit e23a6b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
uses: engineerd/[email protected]
with:
version: v0.9.0
image: kindest/node:v1.18.8
image: kindest/node:v1.19.4

- name: Test
env:
Expand All @@ -144,7 +144,7 @@ jobs:
strategy:
matrix:
k8s: [v1.16.15, v1.17.11, v1.18.8, v1.19.1]
k8s: [v1.16.15, v1.17.11, v1.18.8, v1.19.4]

steps:

Expand Down
2 changes: 1 addition & 1 deletion build/dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ echo "[dev-env] building image"
make build image
docker tag "${REGISTRY}/controller:${TAG}" "${DEV_IMAGE}"

export K8S_VERSION=${K8S_VERSION:-v1.19.0@sha256:3b0289b2d1bab2cb9108645a006939d2f447a10ad2bb21919c332d06b548bbc6}
export K8S_VERSION=${K8S_VERSION:-v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b}

KIND_CLUSTER_NAME="ingress-nginx-dev"

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/run-chart-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fi
if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then
echo "[dev-env] creating Kubernetes cluster with kind"

export K8S_VERSION=${K8S_VERSION:-v1.19.1@sha256:98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600}
export K8S_VERSION=${K8S_VERSION:-v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b}

kind create cluster \
--verbosity=${KIND_LOG_LEVEL} \
Expand Down
7 changes: 1 addition & 6 deletions test/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export KUBECONFIG="${KUBECONFIG:-$HOME/.kube/kind-config-$KIND_CLUSTER_NAME}"
if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then
echo "[dev-env] creating Kubernetes cluster with kind"

export K8S_VERSION=${K8S_VERSION:-v1.19.1@sha256:98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600}
export K8S_VERSION=${K8S_VERSION:-v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b}

kind create cluster \
--verbosity=${KIND_LOG_LEVEL} \
Expand All @@ -87,18 +87,13 @@ if [ "${SKIP_IMAGE_CREATION:-false}" = "false" ]; then
make -C ${DIR}/../e2e-image image
fi

#make -C ${DIR}/../../images/fastcgi-helloserver/ build image
#make -C ${DIR}/../../images/echo/ image

# Preload images used in e2e tests
KIND_WORKERS=$(kind get nodes --name="${KIND_CLUSTER_NAME}" | grep worker | awk '{printf (NR>1?",":"") $1}')

echo "[dev-env] copying docker images to cluster..."

kind load docker-image --name="${KIND_CLUSTER_NAME}" --nodes=${KIND_WORKERS} nginx-ingress-controller:e2e
kind load docker-image --name="${KIND_CLUSTER_NAME}" --nodes=${KIND_WORKERS} ${REGISTRY}/controller:${TAG}
#kind load docker-image --name="${KIND_CLUSTER_NAME}" --nodes=${KIND_WORKERS} ${REGISTRY}/fastcgi-helloserver:${TAG}
#kind load docker-image --name="${KIND_CLUSTER_NAME}" --nodes=${KIND_WORKERS} ${REGISTRY}/echo:${TAG}

echo "[dev-env] running e2e tests..."
make -C ${DIR}/../../ e2e-test

0 comments on commit e23a6b6

Please sign in to comment.