Update Makefile versions #360
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End to End | |
on: | |
- pull_request | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tests: | |
- TestEmbedAndInstall | |
- TestSingleNodeInstallation | |
- TestSingleNodeInstallationRockyLinux8 | |
- TestSingleNodeInstallationDebian12 | |
- TestSingleNodeInstallationCentos8Stream | |
- TestVersion | |
- TestMultiNodeInteractiveInstallation | |
- TestInstallWithDisabledAddons | |
- 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 }} |