Ensure individual steps timeout in case of infinite hang.

Also, add a basic release test.

PiperOrigin-RevId: 347016796
This commit is contained in:
Adin Scannell
2020-12-11 09:45:24 -08:00
committed by gVisor bot
parent 73eccab91e
commit e0cde3fb87
+6
View File
@@ -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"