mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Retry the builds when downloads fail
This commit is contained in:
parent
60fff8619a
commit
c5cf9386ce
|
|
@ -5,6 +5,10 @@ steps:
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "golang:1.11"
|
image: "golang:1.11"
|
||||||
|
retry:
|
||||||
|
automatic:
|
||||||
|
- exit_status: 128
|
||||||
|
limit: 3
|
||||||
|
|
||||||
- command:
|
- command:
|
||||||
- "go build ./cmd/..."
|
- "go build ./cmd/..."
|
||||||
|
|
@ -12,6 +16,10 @@ steps:
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "golang:1.12"
|
image: "golang:1.12"
|
||||||
|
retry:
|
||||||
|
automatic:
|
||||||
|
- exit_status: 128
|
||||||
|
limit: 3
|
||||||
|
|
||||||
- command:
|
- command:
|
||||||
- "go test ./..."
|
- "go test ./..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue