buildkite: don't run docker tests on COS

On COS, buildkite agents are running inside docker containers and so
we can't modify a docker config and restart a docker daemon.

PiperOrigin-RevId: 449063929
This commit is contained in:
Andrei Vagin
2022-05-16 15:11:16 -07:00
committed by gVisor bot
parent 3b83c30622
commit 58e9ba2724
2 changed files with 32 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@ fi
# Clear existing profiles.
sudo rm -rf /tmp/profile
# Allow to read dmesg for all users. It is required for the syslog test.
sudo sysctl -w kernel.dmesg_restrict=0
# Download credentials, if a release agent.
if test "${BUILDKITE_AGENT_META_DATA_QUEUE}" = "release"; then
# Pull down secrets.
+29
View File
@@ -177,27 +177,32 @@ steps:
agents:
arch: "amd64"
cgroup: "v1"
os: "ubuntu"
- <<: *common
label: ":docker: Docker tests (cgroupv2)"
command: make docker-tests
agents:
arch: "amd64"
cgroup: "v2"
os: "ubuntu"
- <<: *common
label: ":goggles: Overlay tests"
command: make overlay-tests
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":safety_pin: Host network tests"
command: make hostnet-tests
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":satellite: SWGSO tests"
command: make swgso-tests
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":coffee: Do tests"
command: make do-tests
@@ -208,45 +213,53 @@ steps:
command: make kvm-tests
agents:
arch: "amd64"
kvm: "true"
- <<: *common
label: ":weight_lifter: Fsstress test"
command: make fsstress-test
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.3.9 tests"
command: make containerd-test-1.3.9
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.4.3 tests"
command: make containerd-test-1.4.3
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.5.4 tests (cgroupv1)"
command: make containerd-test-1.5.4
agents:
cgroup: "v1"
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.5.4 tests (cgroupv2)"
command: make containerd-test-1.5.4
agents:
cgroup: "v2"
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.6.0-rc.4 tests (cgroupv1)"
command: make containerd-test-1.6.0-rc.4
agents:
cgroup: "v1"
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":docker: Containerd 1.6.0-rc.4 tests (cgroupv2)"
command: make containerd-test-1.6.0-rc.4
agents:
cgroup: "v2"
arch: "amd64"
os: "ubuntu"
# Check the website builds.
- <<: *common
@@ -257,12 +270,18 @@ steps:
- <<: *common
label: ":table_tennis_paddle_and_ball: IPTables tests"
command: make iptables-tests
agents:
os: "ubuntu"
- <<: *common
label: ":construction_worker: Packetdrill tests"
command: make packetdrill-tests
agents:
os: "ubuntu"
- <<: *common
label: ":hammer: Packetimpact tests"
command: make packetimpact-tests
agents:
os: "ubuntu"
# Runtime tests.
- <<: *common
@@ -271,30 +290,35 @@ steps:
parallelism: 10
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":java: Java runtime tests"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} java17-runtime-tests
parallelism: 40
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":golang: Go runtime tests"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} go1.16-runtime-tests
parallelism: 10
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":node: NodeJS runtime tests"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} nodejs16.13.2-runtime-tests
parallelism: 10
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":python: Python runtime tests"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} python3.10.2-runtime-tests
parallelism: 10
agents:
arch: "amd64"
os: "ubuntu"
# Runtime tests (LISAFS).
- <<: *common
@@ -304,6 +328,7 @@ steps:
if: build.message =~ /lisafs/ || build.branch == "master"
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":java: Java runtime tests (LISAFS)"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} java17-runtime-tests_lisafs
@@ -311,6 +336,7 @@ steps:
if: build.message =~ /lisafs/ || build.branch == "master"
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":golang: Go runtime tests (LISAFS)"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} go1.16-runtime-tests_lisafs
@@ -318,6 +344,7 @@ steps:
if: build.message =~ /lisafs/ || build.branch == "master"
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":node: NodeJS runtime tests (LISAFS)"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} nodejs16.13.2-runtime-tests_lisafs
@@ -325,6 +352,7 @@ steps:
if: build.message =~ /lisafs/ || build.branch == "master"
agents:
arch: "amd64"
os: "ubuntu"
- <<: *common
label: ":python: Python runtime tests (LISAFS)"
command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} python3.10.2-runtime-tests_lisafs
@@ -332,6 +360,7 @@ steps:
if: build.message =~ /lisafs/ || build.branch == "master"
agents:
arch: "amd64"
os: "ubuntu"
# Build everything.
- <<: *common