Skip to content

Workflow file for this run

name: build
on:
push:
pull_request:
env:
KIND_VERSION: v0.23.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- uses: actions/checkout@v4
- name: build
run: |
kcl run
test-kind-create:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
fail-fast: false
matrix:
image:
- kindest/node:v1.30.2
- kindest/node:v1.29.0
- kindest/node:v1.28.0
cpcount:
- 1
- 3
workercount:
- 1
- 3
steps:
- name: Install
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- name: install kind
run: |
curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/"
#wget https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-linux-amd64
#chmod +x kind-linux-amd64
#mv kind-linux-amd64 /usr/local/bin/kind
- uses: actions/checkout@v4
- name: build
run: |
kcl run -D image=${{ matrix.image }} -D cpcount=${{ matrix.cpcount }} -D workercount=${{ matrix.workercount }} | kind create cluster -v5 --wait 4m --retain --config=-