From aa7f8306bd3836f7276fb977e0d3301c553f06f7 Mon Sep 17 00:00:00 2001 From: Julian Karhof Date: Sat, 11 Jan 2025 13:38:39 +0100 Subject: [PATCH] fix: fly schema missing release_command_vm property --- src/schemas/json/fly.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/schemas/json/fly.json b/src/schemas/json/fly.json index f1d3241ce36..365f0dccfa7 100644 --- a/src/schemas/json/fly.json +++ b/src/schemas/json/fly.json @@ -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"