summaryrefslogtreecommitdiffhomepage
path: root/.buildkite/pipeline.yaml
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-12-30 15:06:47 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-30 15:09:12 -0800
commit899b9ba46a69094975b4f25c24a3c467c0c21276 (patch)
tree2d3e41fa6ce9bdbfa83d25f4a91f43d18fec7091 /.buildkite/pipeline.yaml
parent0fb5de1154411bd207dadae31c37054db9941061 (diff)
Add BuildKite annotations for failures and profiles.
This change cleans up some minor Makefile issues, and adds support for BuildKite annotations on failure and on profiles being generated. These annotations will make failures very clear and link to the artifacts. This change is a stepping stone for aggregating coverage data from all individual test jobs, as this will also happen in .buildkite/annotate.sh. PiperOrigin-RevId: 349606598
Diffstat (limited to '.buildkite/pipeline.yaml')
-rw-r--r--.buildkite/pipeline.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml
index b1d59e091..ba054319c 100644
--- a/.buildkite/pipeline.yaml
+++ b/.buildkite/pipeline.yaml
@@ -132,3 +132,18 @@ steps:
command: make python3.7.3-runtime-tests
parallelism: 10
if: build.message =~ /VFS1/ || build.branch == "master"
+
+ # 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"