Skip to content

Commit d325c7a

Browse files
committed
Add Fedora 28-31 to CI
Fedora 28,29 supports BPF but needs BTF which our loader doesn't do for BPF, also likely doesn't support bpf ring buffers. Fedora 30 doesn't support bpf ring buffers. Fedora 31 supports everything.
1 parent 6d7377e commit d325c7a

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

.buildkite/pipeline.yml

+44
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,50 @@ steps:
3838
machineType: n2-standard-2
3939
enableNestedVirtualization: true
4040

41+
- label: "quark-test on fedora 28 (no bpf)"
42+
key: test_fedora_28
43+
command: "./.buildkite/runtest_fedora.sh 28 -k"
44+
depends_on:
45+
- make_docker
46+
agents:
47+
image: family/core-ubuntu-2204
48+
provider: gcp
49+
machineType: n2-standard-2
50+
enableNestedVirtualization: true
51+
52+
- label: "quark-test on fedora 29 (no bpf)"
53+
key: test_fedora_29
54+
command: "./.buildkite/runtest_fedora.sh 29 -k"
55+
depends_on:
56+
- make_docker
57+
agents:
58+
image: family/core-ubuntu-2204
59+
provider: gcp
60+
machineType: n2-standard-2
61+
enableNestedVirtualization: true
62+
63+
- label: "quark-test on fedora 30 (no bpf)"
64+
key: test_fedora_30
65+
command: "./.buildkite/runtest_fedora.sh 30 -k"
66+
depends_on:
67+
- make_docker
68+
agents:
69+
image: family/core-ubuntu-2204
70+
provider: gcp
71+
machineType: n2-standard-2
72+
enableNestedVirtualization: true
73+
74+
- label: "quark-test on fedora 31 (no bpf)"
75+
key: test_fedora_31
76+
command: "./.buildkite/runtest_fedora.sh 31 -k"
77+
depends_on:
78+
- make_docker
79+
agents:
80+
image: family/core-ubuntu-2204
81+
provider: gcp
82+
machineType: n2-standard-2
83+
enableNestedVirtualization: true
84+
4185
- label: "quark-test on fedora 32"
4286
key: test_fedora_32
4387
command: "./.buildkite/runtest_fedora.sh 32"

.buildkite/runtest_fedora.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
set -euo pipefail
44

55
FEDORAVER="$1"
6+
shift
67

78
function download {
89
buildkite-agent artifact download "$1" "$2"
@@ -32,6 +33,6 @@ sudo apt-get -qq install -y --no-install-recommends \
3233
sudo kvm-ok
3334

3435
# Run Forrest Run
35-
sudo ./krun-fedora.sh initramfs.gz $FEDORAVER quark-test
36+
sudo ./krun-fedora.sh initramfs.gz $FEDORAVER quark-test $@
3637

3738
exit $?

0 commit comments

Comments
 (0)