-
Notifications
You must be signed in to change notification settings - Fork 20
48 lines (46 loc) · 1.46 KB
/
e2e_pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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