Skip to content

Commit

Permalink
fix: fly schema missing release_command_vm property (#4349)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKarhof authored Jan 12, 2025
1 parent 9555e68 commit f4f555d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/schemas/json/fly.json
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,44 @@
"description": "Command to run after a build, with access to the production environment, but before deployment. Non-zero exit status will abort the deployment.\n\n```toml\n[deploy]\n release_command =\"bundle exec rails db:migrate\"\n```",
"type": "string"
},
"release_command_vm": {
"description": "VM configuration to use when running the release command.",
"type": "object",
"properties": {
"size": {
"type": "string",
"enum": [
"shared-cpu-1x",
"shared-cpu-2x",
"shared-cpu-4x",
"shared-cpu-8x",
"performance-1x",
"performance-2x",
"performance-4x",
"performance-8x",
"performance-16x"
]
},
"memory": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"cpus": {
"type": "integer",
"enum": [1, 2, 4, 8, 16]
},
"cpu_kind": {
"type": "string",
"enum": ["shared", "performance"]
}
}
},
"max_unavailable": {
"description": "For rolling deploys, you can use max_unavailable to control how many Machines can be down at a time.",
"type": "number"
Expand Down

0 comments on commit f4f555d

Please sign in to comment.