2020-12-03 19:04:34 +00:00
|
|
|
_templates:
|
|
|
|
common: &common
|
2020-12-11 17:42:58 +00:00
|
|
|
timeout_in_minutes: 30
|
2020-12-03 19:04:34 +00:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1
|
|
|
|
limit: 10
|
|
|
|
- exit_status: "*"
|
|
|
|
limit: 2
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# Run basic smoke tests before preceding to other tests.
|
2020-12-10 02:48:52 +00:00
|
|
|
- <<: *common
|
|
|
|
label: ":fire: Smoke tests"
|
2020-12-03 19:04:34 +00:00
|
|
|
command: make smoke-tests
|
|
|
|
- wait
|
|
|
|
|
|
|
|
# Check that the Go branch builds.
|
|
|
|
- <<: *common
|
|
|
|
label: ":golang: Go branch"
|
|
|
|
commands:
|
2020-12-09 17:31:44 +00:00
|
|
|
- make go
|
2020-12-03 19:04:34 +00:00
|
|
|
- git checkout go && git clean -f
|
|
|
|
- go build ./...
|
|
|
|
|
2020-12-11 17:42:58 +00:00
|
|
|
# Release workflow.
|
|
|
|
- <<: *common
|
|
|
|
label: ":ship: Release tests"
|
|
|
|
commands: make release
|
|
|
|
|
2020-12-03 19:04:34 +00:00
|
|
|
# Basic unit tests.
|
|
|
|
- <<: *common
|
|
|
|
label: ":test_tube: Unit tests"
|
|
|
|
command: make unit-tests
|
|
|
|
|
|
|
|
# All system call tests.
|
|
|
|
- <<: *common
|
|
|
|
label: ":toolbox: System call tests"
|
|
|
|
command: make syscall-tests
|
|
|
|
parallelism: 20
|
|
|
|
|
|
|
|
# Integration tests.
|
|
|
|
- <<: *common
|
|
|
|
label: ":parachute: FUSE tests"
|
|
|
|
command: make fuse-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":docker: Docker tests"
|
|
|
|
command: make docker-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":goggles: Overlay tests"
|
|
|
|
command: make overlay-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":safety_pin: Host network tests"
|
|
|
|
command: make hostnet-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":satellite: SWGSO tests"
|
|
|
|
command: make swgso-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":coffee: Do tests"
|
|
|
|
command: make do-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":person_in_lotus_position: KVM tests"
|
|
|
|
command: make kvm-tests
|
|
|
|
- <<: *common
|
2020-12-04 00:53:22 +00:00
|
|
|
label: ":docker: Containerd 1.3.9 tests"
|
|
|
|
command: make containerd-test-1.3.9
|
2020-12-03 19:04:34 +00:00
|
|
|
- <<: *common
|
2020-12-04 23:03:21 +00:00
|
|
|
label: ":docker: Containerd 1.4.3 tests"
|
|
|
|
command: make containerd-test-1.4.3
|
2020-12-03 19:04:34 +00:00
|
|
|
|
|
|
|
# Check the website builds.
|
|
|
|
- <<: *common
|
|
|
|
label: ":earth_americas: Website tests"
|
|
|
|
command: make website-build
|
|
|
|
|
|
|
|
# Networking tests.
|
|
|
|
- <<: *common
|
|
|
|
label: ":table_tennis_paddle_and_ball: IPTables tests"
|
|
|
|
command: make iptables-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":construction_worker: Packetdrill tests"
|
|
|
|
command: make packetdrill-tests
|
|
|
|
- <<: *common
|
|
|
|
label: ":hammer: Packetimpact tests"
|
|
|
|
command: make packetimpact-tests
|
|
|
|
|
2020-12-10 02:48:52 +00:00
|
|
|
# Runtime tests.
|
2020-12-03 19:04:34 +00:00
|
|
|
- <<: *common
|
|
|
|
label: ":php: PHP runtime tests"
|
2020-12-10 02:48:52 +00:00
|
|
|
command: make php7.3.6-runtime-tests_vfs2
|
2020-12-03 19:04:34 +00:00
|
|
|
parallelism: 10
|
|
|
|
- <<: *common
|
|
|
|
label: ":java: Java runtime tests"
|
2020-12-10 02:48:52 +00:00
|
|
|
command: make java11-runtime-tests_vfs2
|
2020-12-03 19:04:34 +00:00
|
|
|
parallelism: 40
|
|
|
|
- <<: *common
|
|
|
|
label: ":golang: Go runtime tests"
|
2020-12-10 02:48:52 +00:00
|
|
|
command: make go1.12-runtime-tests_vfs2
|
2020-12-03 19:04:34 +00:00
|
|
|
parallelism: 10
|
|
|
|
- <<: *common
|
|
|
|
label: ":node: NodeJS runtime tests"
|
2020-12-10 02:48:52 +00:00
|
|
|
command: make nodejs12.4.0-runtime-tests_vfs2
|
2020-12-03 19:04:34 +00:00
|
|
|
parallelism: 10
|
|
|
|
- <<: *common
|
2020-12-04 23:03:21 +00:00
|
|
|
label: ":python: Python runtime tests"
|
2020-12-10 02:48:52 +00:00
|
|
|
command: make python3.7.3-runtime-tests_vfs2
|
2020-12-03 19:04:34 +00:00
|
|
|
parallelism: 10
|
2020-12-30 07:26:29 +00:00
|
|
|
|
|
|
|
# Runtime tests (VFS1).
|
|
|
|
- <<: *common
|
|
|
|
label: ":php: PHP runtime tests (VFS1)"
|
|
|
|
command: make php7.3.6-runtime-tests
|
|
|
|
parallelism: 10
|
|
|
|
if: build.message =~ /VFS1/ || build.branch == "master"
|
|
|
|
- <<: *common
|
|
|
|
label: ":java: Java runtime tests (VFS1)"
|
|
|
|
command: make java11-runtime-tests
|
|
|
|
parallelism: 40
|
|
|
|
if: build.message =~ /VFS1/ || build.branch == "master"
|
|
|
|
- <<: *common
|
|
|
|
label: ":golang: Go runtime tests (VFS1)"
|
|
|
|
command: make go1.12-runtime-tests
|
|
|
|
parallelism: 10
|
|
|
|
if: build.message =~ /VFS1/ || build.branch == "master"
|
|
|
|
- <<: *common
|
|
|
|
label: ":node: NodeJS runtime tests (VFS1)"
|
|
|
|
command: make nodejs12.4.0-runtime-tests
|
|
|
|
parallelism: 10
|
|
|
|
if: build.message =~ /VFS1/ || build.branch == "master"
|
|
|
|
- <<: *common
|
|
|
|
label: ":python: Python runtime tests (VFS1)"
|
|
|
|
command: make python3.7.3-runtime-tests
|
|
|
|
parallelism: 10
|
|
|
|
if: build.message =~ /VFS1/ || build.branch == "master"
|
2020-12-30 23:06:47 +00:00
|
|
|
|
|
|
|
# The final step here will aggregate data uploaded by all other steps into an
|
|
|
|
# annotation that will appear at the top of the build, with useful information.
|
|
|
|
#
|
|
|
|
# See .buildkite/summarize.sh and .buildkite/hooks/post-command for more.
|
|
|
|
- wait
|
|
|
|
- <<: *common
|
|
|
|
label: ":yawning_face: Wait"
|
|
|
|
command: "true"
|
|
|
|
key: "wait"
|
|
|
|
- <<: *common
|
|
|
|
label: ":thisisfine: Summarize"
|
|
|
|
command: .buildkite/summarize.sh
|
|
|
|
allow_dependency_failure: true
|
|
|
|
depends_on: "wait"
|