From e0cde3fb87e8fd41437da7e2506664881544ef2b Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 11 Dec 2020 09:42:58 -0800 Subject: Ensure individual steps timeout in case of infinite hang. Also, add a basic release test. PiperOrigin-RevId: 347016796 --- .buildkite/pipeline.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.3