Kind Netpol Cyclonus #969
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: 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 |