Skip to content

Kind Netpol Cyclonus #1030

Kind Netpol Cyclonus

Kind Netpol Cyclonus #1030

name: Kind Netpol Cyclonus
on:
schedule:
# run once a day at midnight
- cron: '0 0 * * *'
jobs:
test-netpol-cyclonus:
name: Run Cyclonus network policy generator tests on Kind cluster
if: github.repository == 'antrea-io/antrea'
runs-on: [ubuntu-latest]
steps:
- name: Free disk space
# https://github.com/actions/virtual-environments/issues/709
run: |
sudo apt-get clean
df -h
- uses: actions/checkout@v4
- run: make
- name: Install Kind
run: |
KIND_VERSION=$(head -n1 ./ci/kind/version)
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64
chmod +x ./kind
sudo mv kind /usr/local/bin
- name: Run cyclonus tests
working-directory: hack/netpol-generator
run: ./test-kind.sh