Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fly schema to include missing release_command_vm property #4349

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading