-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (52 loc) · 2.2 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
name: "e2e"
on:
pull_request:
paths-ignore:
- "**/*.md"
- "CODEOWNERS"
push:
paths-ignore:
- "**/*.md"
- "CODEOWNERS"
branches:
- "main"
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- run: df -h; lsblk
- uses: actions/checkout@v4
- run: df -h; lsblk
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: df -h; lsblk
- run: sudo apt update
- run: sudo apt purge -y apport apport-symptoms fwupd nano netplan.io popularity-contest unattended-upgrades update-manager-core snapd
- run: sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
- run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup /usr/lib/jvm || true
- run: sudo apt purge -y $(dpkg-query -W | grep nginx | awk '{print $1}')
- run: sudo apt purge -y aria2 ansible azure-cli shellcheck rpm xorriso zsync esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable google-cloud-sdk
- run: sudo apt purge -y imagemagick libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional mercurial apt-transport-https
- run: sudo apt purge -y mono-complete unixodbc-dev yarn chrpath libxft-dev libfreetype6-dev libfontconfig1 libfontconfig1-dev
- run: sudo apt purge -y snmp pollinate libpq-dev postgresql-client powershell ruby-full sphinxsearch subversion mongodb-org azure-cli microsoft-edge-stable
- run: sudo apt purge -y $(dpkg-query -W | grep dotnet | awk '{print $1}')
- run: sudo apt autoremove -y >/dev/null 2>&1
- run: sudo apt autoclean -y >/dev/null 2>&1
- run: df -h; lsblk
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- run: df -h; lsblk
- name: cache go dependencies
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: go-${{ hashFiles('go.sum', 'Makefile', 'versions.mk') }}
restore-keys: |
go-
- run: df -h; lsblk
- run: make -C e2e setup-minikube-upstream-rook
- run: df -h; lsblk
- run: make -C e2e test-upstream-rook