add UTs for ip clean up fix #7505
Workflow file for this run
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: crdgen | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
crdgen119: | |
strategy: | |
matrix: | |
go-version: ['1.20'] | |
os: [ubuntu-latest] | |
name: CRDs are Generated | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Regenerate NodeNetworkConfig CRD | |
run: make -C crd/nodenetworkconfig | |
- name: Regenerate MultitenantNetworkContainer CRD | |
run: make -C crd/multitenantnetworkcontainer | |
- name: Regenerate Multitenancy CRDs | |
run: make -C crd/multitenancy | |
- name: Fail if the tree is dirty | |
run: test -z "$(git status --porcelain)" |