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: bin/mas-devops-feature-status-update.md
+94-28Lines changed: 94 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,15 +142,15 @@ Required collection indexes (`instance_config_level`, `cluster_config_level`) ar
142
142
143
143
**Idempotency:** Safe to call multiple times with the same arguments. The underlying `find_one_and_update` with `upsert=True` guarantees that re-running with the same identity key produces the same final document state. `created_at` is set only on the first insert (`$setOnInsert`); subsequent calls update `updated_at` and all mutable fields without creating duplicate documents.
144
144
145
-
**Identity options***(all required)*
145
+
**Identity options**
146
146
147
-
| Flag | Description |
148
-
|------|-------------|
149
-
|`--region`| AWS region (e.g. `us-east-2`) |
150
-
|`--instance-id`| MAS instance ID (e.g. `inst02`) |
151
-
|`--account`| GitOps account name (e.g. `fyre-noble10-dev`) |
152
-
|`--cluster`| GitOps cluster name (e.g. `noble10`) |
153
-
|`--subscription-id`| Subscription ID |
147
+
| Flag |Required |Description |
148
+
|------|----------|-------------|
149
+
|`--region`|Yes |AWS region (e.g. `us-east-2`) |
150
+
|`--instance-id`|Instance-level types |MAS instance ID (e.g. `inst02`). When supplied routes to `instance_level_config`; when omitted routes to `cluster_level_config`.|
151
+
|`--account`|Yes |GitOps account name (e.g. `fyre-noble10-dev`) |
152
+
|`--cluster`|Yes |GitOps cluster name (e.g. `noble10`) |
153
+
|`--subscription-id`|Instance-level types |Subscription ID. Required when `--instance-id` is supplied; must be omitted for cluster-level feature types.|
154
154
155
155
**Feature options***(all required)*
156
156
@@ -164,7 +164,8 @@ Required collection indexes (`instance_config_level`, `cluster_config_level`) ar
164
164
| Flag | Description |
165
165
|------|-------------|
166
166
|`--status`| One of `REQUESTED`, `IN_PROGRESS`, `ACTIVE`, `ERROR`|
167
-
|`--status-details JSON`| JSON object describing the outcome (see schema below) |
167
+
|`--status-details JSON`| JSON object describing the outcome (see schema below). Mutually exclusive with `--status-details-file`. |
168
+
|`--status-details-file FILE`| Path to a JSON file containing the status-details object. Use this for `ERROR` payloads whose `message` or `stacktrace` contains quote characters that would break inline shell interpolation. Mutually exclusive with `--status-details`. |
168
169
169
170
**Timestamp options***(all optional, default: current UTC time)*
170
171
@@ -179,6 +180,8 @@ The MongoDB connection URI is read from the `DEVOPS_MONGO_URI` environment varia
179
180
180
181
**`--status-details` schema**
181
182
183
+
`request_configuration` is a free-form string describing what was requested — it may be a single CIDR, a comma-separated list, or a space-separated list. The validator does not enforce format.
184
+
182
185
*REQUESTED* — pipeline has received the request but processing has not yet started.
183
186
```json
184
187
{
@@ -195,23 +198,22 @@ The MongoDB connection URI is read from the `DEVOPS_MONGO_URI` environment varia
195
198
}
196
199
```
197
200
198
-
*ACTIVE* — deployment completed successfully.
201
+
*ACTIVE* — deployment completed successfully. Multiple IPs may be comma-separated.
*ERROR* — deployment failed.`error_source` fields are all optional except that the object itself is required. Use `--status-details-file` when `message` or `stacktrace` may contain quote characters.
0 commit comments