diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 504e66d..c505b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,7 +236,7 @@ jobs: set -x NET=`kubectl cluster-info dump | grep -- --cluster-cidr | cut -d'=' -f2 | sed s/\"\,//` # install calico - curl https://raw.githubusercontent.com/projectcalico/calico/v3.28.0/manifests/calico.yaml | sed "s,192.168.0.0/16,$NET," | sed "s/\(.*\) #\(.*CALICO_IPV4POOL_CIDR\)/\1\2/" | sed "s,\(.*\) #\(.*value.*`echo $NET`.*\),\1\2," | kubectl apply -f - + curl https://docs.projectcalico.org/v3.20/manifests/calico.yaml | sed "s,192.168.0.0/16,$NET," | sed "s/\(.*\) #\(.*CALICO_IPV4POOL_CIDR\)/\1\2/" | sed "s,\(.*\) #\(.*value.*`echo $NET`.*\),\1\2," | kubectl apply -f - sleep 30 DST=`kubectl get node -o wide | grep control-plane | awk '{print $6}'` bash -e ${{ github.workspace }}/test/k8s-test.sh $DST