fix: add permission to delete pods #247
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: E2E Manifest Test (PR) | |
on: | |
workflow_dispatch: # For manually triggering workflow | |
pull_request: | |
branches: [ main ] | |
merge_group: | |
branches: [ main ] | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create Kind Cluster | |
uses: helm/[email protected] | |
- name: Install Cert Manager | |
shell: bash | |
working-directory: ./ | |
run: | | |
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml | |
- name: Wait Cert Manager | |
working-directory: ./ | |
if: ${{ always() }} | |
run: | | |
curl -sSL -o cmctl.tar.gz https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cmctl-linux-amd64.tar.gz | |
tar xzf cmctl.tar.gz | |
sudo mv cmctl /usr/local/bin | |
cmctl check api --wait=2m | |
- name: Install Operator | |
shell: bash | |
working-directory: ./ | |
if: ${{ always() }} | |
run: | | |
kubectl apply --server-side -f config/risingwave-operator.yaml | |
- name: Wait Operator | |
shell: bash | |
working-directory: ./ | |
if: ${{ always() }} | |
run: | | |
kubectl wait --for=condition=Ready Pods --all --namespace risingwave-operator-system --timeout=5m | |
- name: E2E Manifest Test | |
shell: bash | |
working-directory: ./ | |
if: ${{ always() }} | |
run: | | |
make manifest-test |