Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyuanpeng committed Aug 18, 2023
1 parent 7f6a3ff commit 72934cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/kind.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#!/bin/bash
#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail


wget -q https://github.com/kubernetes-sigs/kind/releases/download/v0.20.0/kind-linux-amd64
chmod +x kind-linux-amd64 && mv kind-linux-amd64 /usr/local/bin/kind

K8SVERSION=${K8SVERSION:-"v1.25.3"}
WORKSPACE=${WORKSPACE:-$PWD}
WORKSPACE=$PWD

sed -i 's/K8SVERSION/'$K8SVERSION'/g' $WORKSPACE/.github/scripts/kind.yaml
sed -i 's#WORKSPACE#'$WORKSPACE'#g' $WORKSPACE/.github/scripts/kind.yaml
Expand Down

0 comments on commit 72934cb

Please sign in to comment.