fix: deadlock if reboot pods are missing, adds them back #16
Workflow file for this run
This file contains hidden or 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: Operator unit and functional tests | |
| on: | |
| pull_request: | |
| paths: | |
| - operator/** | |
| - .github/workflows/operator-ci.yaml | |
| env: | |
| REGISTRY: ghcr.io | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go 1.23 | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| - name: Unit tests | |
| run: | | |
| cd operator | |
| make unit-tests | |
| k8s-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 | |
| - name: Setup Go 1.23 | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| - name: Log in to the Container registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Kubernetes KinD Cluster | |
| id: kind | |
| uses: helm/kind-action@v1 | |
| with: | |
| version: v0.26.0 | |
| install_only: true | |
| - name: end-to-end-tests | |
| run: | | |
| cd operator | |
| GITHUB_TOKEN=${{ secrets.github_token }} make create-kind-cluster | |
| make e2e-tests |