Skip to content

Commit 620d60a

Browse files
add deploy.wait_timeout to fly.io config (SchemaStore#4707)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6bb14a7 commit 620d60a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/schemas/json/fly.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,20 @@
803803
"key": "https://fly.io/docs/reference/configuration/#strategy"
804804
}
805805
}
806+
},
807+
"wait_timeout": {
808+
"description": "Timeout for waiting for the Machine to be in a started state during a deploy.",
809+
"type": "string",
810+
"default": "5m",
811+
"x-taplo": {
812+
"docs": {
813+
"main": "Timeout for waiting for the Machine to be in a started state during a deploy.",
814+
"defaultValue": "Default is 5 minutes"
815+
},
816+
"links": {
817+
"key": "https://fly.io/docs/reference/configuration/#dealing-with-timeout-errors-while-deploying-a-new-version"
818+
}
819+
}
806820
}
807821
}
808822
},

src/test/fly/fly.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"deploy": {
1818
"max_unavailable": 0.2,
1919
"release_command": "release command",
20-
"strategy": "rolling"
20+
"strategy": "rolling",
21+
"wait_timeout": "1m"
2122
},
2223
"env": {
2324
"FOO": "BAR"

0 commit comments

Comments
 (0)