Enable dynamic pipelines
This runs jobs in parallel for real now! Should be much faster when the
cluster is idle.
This only works with the webhook pass/fail detection.
Change-Id: I1380ebcc53030b92ad8e01d534054fbc2746baa0
diff --git a/tools/ci/run-tests.sh b/tools/ci/run-tests.sh
index c0f9c93..867e9c3 100755
--- a/tools/ci/run-tests.sh
+++ b/tools/ci/run-tests.sh
@@ -5,6 +5,11 @@
# No need to pass this through. It hurts caching.
unset SSH_AUTH_SOCK
+if [ -n ${BUILDKITE+x} ]; then
+ buildkite-agent pipeline upload tools/ci/buildkite.yaml
+ exit 0
+fi
+
readonly TARGETS='//... @com_github_google_glog//... @com_google_ceres_solver//...'
readonly M4F_TARGETS='//...'
# Sanity check that we are able to build the y2020 roborio code, which confirms