summaryrefslogtreecommitdiffhomepage
path: root/.buildkite/pipeline.yaml
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-12-11 09:42:58 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-11 09:45:24 -0800
commite0cde3fb87e8fd41437da7e2506664881544ef2b (patch)
tree811c4d1320bfa296ddd61c2383a78ff243ba8262 /.buildkite/pipeline.yaml
parent73eccab91ec58aafd1ffdf038993b78a812ba30f (diff)
Ensure individual steps timeout in case of infinite hang.
Also, add a basic release test. PiperOrigin-RevId: 347016796
Diffstat (limited to '.buildkite/pipeline.yaml')
-rw-r--r--.buildkite/pipeline.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml
index 39987b30d..79a80d9c8 100644
--- a/.buildkite/pipeline.yaml
+++ b/.buildkite/pipeline.yaml
@@ -1,5 +1,6 @@
_templates:
common: &common
+ timeout_in_minutes: 30
retry:
automatic:
- exit_status: -1
@@ -22,6 +23,11 @@ steps:
- git checkout go && git clean -f
- go build ./...
+ # Release workflow.
+ - <<: *common
+ label: ":ship: Release tests"
+ commands: make release
+
# Basic unit tests.
- <<: *common
label: ":test_tube: Unit tests"