Skip to content

Kind Netpol Cyclonus #1239

Kind Netpol Cyclonus

Kind Netpol Cyclonus #1239

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