summaryrefslogtreecommitdiffhomepage
path: root/.buildkite
diff options
context:
space:
mode:
Diffstat (limited to '.buildkite')
-rw-r--r--.buildkite/hooks/post-command12
-rw-r--r--.buildkite/hooks/pre-command2
-rw-r--r--.buildkite/pipeline.yaml5
3 files changed, 13 insertions, 6 deletions
diff --git a/.buildkite/hooks/post-command b/.buildkite/hooks/post-command
index c4c6fc90c..5e6db407a 100644
--- a/.buildkite/hooks/post-command
+++ b/.buildkite/hooks/post-command
@@ -56,8 +56,10 @@ if test "${BUILDKITE_COMMAND_EXIT_STATUS}" -ne "0"; then
sudo rm -rf "${HOME}/go"
fi
-# Kill any running containers (clear state).
-CONTAINERS="$(docker ps -q)"
-if ! test -z "${CONTAINERS}"; then
- docker container kill ${CONTAINERS} 2>/dev/null || true
-fi
+# Kill any running containers (clear state), except for "bootstrap".
+for container in $(docker ps -q); do
+ maybe_kill="$(docker inspect -f '{{if ne "/bootstrap" .Name}}true{{ end }}' "${container}")"
+ if test -n "${maybe_kill}"; then
+ docker container kill "${container}"
+ fi
+done \ No newline at end of file
diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command
index fb2b1892d..9eb6d38f4 100644
--- a/.buildkite/hooks/pre-command
+++ b/.buildkite/hooks/pre-command
@@ -8,7 +8,7 @@ function install_pkgs() {
done
}
install_pkgs make "linux-headers-$(uname -r)" linux-libc-dev \
- graphviz jq curl binutils gnupg gnupg-agent golang-go \
+ graphviz jq curl binutils gnupg gnupg-agent gcc pkg-config \
apt-transport-https ca-certificates software-properties-common
# Setup for parallelization with PARTITION and TOTAL_PARTITIONS.
diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml
index c1b478dc3..adff70fee 100644
--- a/.buildkite/pipeline.yaml
+++ b/.buildkite/pipeline.yaml
@@ -169,6 +169,11 @@ steps:
label: ":mechanical_arm: ARM"
command: make arm-qemu-smoke-test
+ # Build everything.
+ - <<: *common
+ label: ":world_map: Build everything"
+ command: "make build OPTIONS=--build_tag_filters=-nogo TARGETS=//..."
+
# Run basic benchmarks smoke tests (no upload).
- <<: *common
label: ":fire: Benchmarks smoke test"