Skip to content

Commit

Permalink
helm.yaml: update ci
Browse files Browse the repository at this point in the history
- use ubuntu 20.04
- set nf_conntrack_max to avoid CrashLoopBackOff for kube proxy (see
kubernetes-sigs/kind#2240 (comment))
- print cluster info as soon as KinD is up
- use kind-action v1.4.0
- bump KinD to v0.10.0

Signed-off-by: Mattia Mazzucato <matt.mazzucato@gmail.com>
  • Loading branch information
matt-mazzucato committed Jul 1, 2021
1 parent a1fce38 commit 4b7a800
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Fetch history
Expand All @@ -44,9 +44,14 @@ jobs:
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- uses: container-tools/kind-action@v1
- name: Set nf_conntrack_max value
# This step is required to avoid CrashLoopBackOff for kube-proxy
# see https://github.com/kubernetes-sigs/kind/issues/2240#issuecomment-838510890
run: |
sudo sysctl net/netfilter/nf_conntrack_max=131072
- uses: container-tools/kind-action@v1.4.0
with:
version: "v0.8.1"
version: "v0.10.0"
node_image: "kindest/node:v1.18.2@sha256:7b27a6d0f2517ff88ba444025beae41491b016bc6af573ba467b70c5e8e0d85f"
- name: Build test image
run: |
Expand All @@ -61,6 +66,9 @@ jobs:
run: |
kubectl cluster-info
kubectl get pods -n kube-system
- name: Dump cluster info
run: |
kubectl cluster-info dump
- name: Install cert-manager chart as dependency
run: |
kubectl create namespace cert-manager
Expand Down

0 comments on commit 4b7a800

Please sign in to comment.