-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (42 loc) · 1.05 KB
/
e2e-tests.yaml
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
name: e2e-tests
on:
schedule:
- cron: 0 0 * * *
push:
branches:
- main
paths-ignore:
- "charts/**"
pull_request:
branches:
- main
paths-ignore:
- "charts/**"
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
env:
IMG: coralogix-operator-image:latest
CORALOGIX_REGION: ${{ secrets.CORALOGIX_REGION }}
CORALOGIX_API_KEY: ${{ secrets.CORALOGIX_API_KEY }}
ENABLE_WEBHOOKS: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build the controller-manager Docker image
run: |
make docker-build
- name: Create k8s Kind Cluster
uses: helm/[email protected]
- name: Load the controller-manager image into Kind
run: |
kind load docker-image ${{ env.IMG }} --name chart-testing
- name: Deploy the controller-manager
run: |
make deploy
- name: Run e2e Tests
run: |
make e2e-tests