You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deploystack/deploystack-config-file.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ You can configure multiple branch deployments using the `deployment.branches` se
64
64
| `description` | String | Explain the branch's purpose or version | Maximum 100 characters |
65
65
| `active` | Boolean | Whether this branch is available for deployment | Optional, defaults to true |
66
66
| `priority` | Number | Order in which branches appear (lower numbers first) | Minimum value: 1 |
67
+
| `exclude_providers` | Array | Optional list of cloud providers to exclude from template generation for this branch | Values must be valid provider codes: "aws", "rnd", "dop" |
67
68
68
69
The default branch always has `priority: 0` and appears first in the deployment options, regardless of other branch priorities.
69
70
@@ -80,6 +81,8 @@ deployment:
80
81
label: "Beta (v2.x)"
81
82
description: "Preview of upcoming v2.x release"
82
83
priority: 1
84
+
exclude_providers:
85
+
- "aws" # Exclude AWS CloudFormation for this branch
83
86
v3:
84
87
label: "Alpha (v3.x)"
85
88
description: "Early preview of v3.x"
@@ -102,6 +105,23 @@ When multiple branches are configured:
102
105
103
106
This is especially useful for projects that maintain multiple active versions simultaneously, such as stable and beta releases.
104
107
108
+
The optional `exclude_providers` array allows you to specify which cloud providers should be excluded from template generation for particular branches. This is useful when certain features in a branch version may not be compatible with specific cloud providers. Valid provider codes are:
109
+
110
+
Please check our [current supported provider list here](/docs/docker-to-iac/parser/index.md).
111
+
112
+
For example, if your beta version uses features only supported in DigitalOcean, you might exclude the other providers:
113
+
114
+
```yaml
115
+
v2-beta:
116
+
label: "Beta"
117
+
description: "Beta version with DigitalOcean-specific features"
118
+
exclude_providers:
119
+
- "aws"
120
+
- "rnd"
121
+
```
122
+
123
+
If no providers are excluded, templates will be generated for all supported cloud providers.
124
+
105
125
## Schema Validation
106
126
107
127
The configuration file is automatically validated against our JSON Schema when using supported IDEs (VS Code, IntelliJ, etc.). The schema is available at:
0 commit comments