diff options
author | Adin Scannell <ascannell@google.com> | 2020-12-03 11:04:34 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-03 11:06:57 -0800 |
commit | 3186b50dffc196755a3ce7ce0ab44253f78a2495 (patch) | |
tree | 26e87d31736d0d6bb56f625470411a98ba5c9089 /.buildkite | |
parent | 3ff1aef544b532c207cf55bcee64fe6717bfd3c4 (diff) |
Add BuildKite pipeline.
PiperOrigin-RevId: 345490319
Diffstat (limited to '.buildkite')
-rw-r--r-- | .buildkite/pipeline.yaml | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml new file mode 100644 index 000000000..a46e9a851 --- /dev/null +++ b/.buildkite/pipeline.yaml @@ -0,0 +1,103 @@ +_templates: + common: &common + retry: + automatic: + - exit_status: -1 + limit: 10 + - exit_status: "*" + limit: 2 + +steps: + # Run basic smoke tests before preceding to other tests. + - label: ":fire: Smoke tests" + command: make smoke-tests + - wait + + # Check that the Go branch builds. + - <<: *common + label: ":golang: Go branch" + commands: + - rm -rf bazel-bin/gopath + - make build TARGETS="//:gopath" + - tools/go_branch.sh + - git checkout go && git clean -f + - go build ./... + + # 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 + label: ":docker: Containerd 1.3.4 tests" + command: make containerd-test-1.3.4 + - <<: *common + label: ":docker: Containerd 1.4.1 tests" + command: make containerd-test-1.4.1 + + # 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 + + # Start heavy runtime tests. + - wait + - <<: *common + label: ":php: PHP runtime tests" + command: make php7.3.6-runtime-tests + parallelism: 10 + - <<: *common + label: ":java: Java runtime tests" + command: make java11-runtime-tests + parallelism: 40 + - <<: *common + label: ":golang: Go runtime tests" + command: make go1.12-runtime-tests + parallelism: 10 + - <<: *common + label: ":node: NodeJS runtime tests" + command: make nodejs12.4.0-runtime-tests + parallelism: 10 + - <<: *common + label: ":node: Python runtime tests" + command: make python3.7.3-runtime-tests + parallelism: 10 |