-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 920 Bytes
/
e2e.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
name: E2E Tests
on:
pull_request:
permissions:
contents: read
jobs:
e2e-tests:
name: Build provider images
runs-on: ubuntu-22.04
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install requirements
run: |
sudo apt install make
sudo snap install go --classic
sudo docker network create kind --driver=bridge -o com.docker.network.bridge.enable_ip_masquerade=true
- name: Build provider images
run: sudo make docker-build-e2e
- name: Build images
run: |
cd templates/docker
sudo docker build . -t k8s-snap:dev
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Run e2e tests
run: sudo make test-e2e