-
Notifications
You must be signed in to change notification settings - Fork 13
44 lines (34 loc) · 951 Bytes
/
e2e.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
---
name: E2E
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "${{env.GO_VERSION}}"
- name: Setup Docker Compose v2
run: curl -fL https://raw.githubusercontent.com/docker/compose-switch/master/install_on_linux.sh | sudo sh
- name: Generate certificates
run: make -C e2e/certs certs
- name: Build Docker image
run: make update-devel-image
- name: Run e2e test
run: make -C e2e run-e2e
- name: Docker Compose file
if: failure()
run: cat e2e/docker-compose.yaml
- name: Docker Logs
if: failure()
run: make -C e2e dump-logs