-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (57 loc) · 1.73 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: End to End
on:
- pull_request
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tests:
- TestBuildBundle
- TestEmbedAndInstall
- TestMultiNodeInstallation
- TestSingleNodeInstallation
- TestTokenBasedMultiNodeInstallation
- TestSingleNodeInstallationRockyLinux8
- TestSingleNodeInstallationDebian12
- TestSingleNodeInstallationCentos8Stream
- TestVersion
- TestMultiNodeInteractiveInstallation
- TestInstallWithDisabledAddons
- TestEmbedAddonsOnly
- TestHostPreflight
steps:
- name: Move Docker aside
run: |
sudo systemctl stop docker
sudo iptables -F
sudo iptables -P FORWARD ACCEPT
- name: Checkout
uses: actions/checkout@v4
- name: Install and Configure LXD
run: |
sudo lxd init --auto
sudo snap set lxd daemon.group=adm
sudo snap restart lxd
sudo lxd waitready
- name: Install and configure OVN
run: |
sudo apt-get update -y
sudo apt-get install ovn-host ovn-central -y
sudo ovs-vsctl set open_vswitch . \
external_ids:ovn-remote=unix:/var/run/ovn/ovnsb_db.sock \
external_ids:ovn-encap-type=geneve \
external_ids:ovn-encap-ip=127.0.0.1
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21.0"
- name: Free up runner disk space
run: |
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Python
- name: E2E
run: |
make e2e-test TEST_NAME=${{ matrix.tests }}