Use KIND v0.24.0 (#1634) #538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install link checker | |
run: | | |
curl -fsSL -o liche https://github.com/appscodelabs/liche/releases/download/v0.1.0/liche-linux-amd64 | |
chmod +x liche | |
sudo mv liche /usr/local/bin/liche | |
- name: Install codespan schema checker | |
run: | | |
curl -fsSL -o codespan-schema-checker https://github.com/kmodules/codespan-schema-checker/releases/download/v0.0.1/codespan-schema-checker-linux-amd64 | |
chmod +x codespan-schema-checker | |
sudo mv codespan-schema-checker /usr/local/bin/codespan-schema-checker | |
- name: Check links | |
run: | | |
liche -r docs -d $(pwd) -c 10 -p -h -l -x '^*(voyager.appscode.ninja|www.kiteci.pro)*$' | |
- name: Create Kubernetes cluster | |
id: kind | |
uses: engineerd/[email protected] | |
with: | |
version: v0.24.0 | |
- name: Prepare cluster for testing | |
id: local-path | |
run: | | |
echo "waiting for nodes to be ready ..." | |
kubectl wait --for=condition=Ready nodes --all --timeout=5m | |
kubectl get nodes | |
echo | |
echo "install helm 3" | |
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash | |
kubectl create -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.crds.yaml | |
kubectl create -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.60.1/stripped-down-crds.yaml | |
kubectl create -f https://github.com/voyagermesh/installer/raw/master/crds/voyager-crds.yaml | |
- name: Check codespan schema | |
run: | | |
codespan-schema-checker --content=./docs |