Skip to content

Commit 79e0dfc

Browse files
committed
feat(workflow): BE-8816 manage build workflows and publish flows as YAML via CLI
1 parent e20c5ce commit 79e0dfc

23 files changed

Lines changed: 1345 additions & 14 deletions

docs/build/profile/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ appcircle build profile [command] [options]
1616

1717
- [`list`](list.md)
1818
- [`branch`](branch/index.md)
19-
- [`workflows`](workflows.md)
19+
- [`workflow`](workflow/index.md)
2020
- [`configurations`](configurations.md)
21+
- [`workflows`](workflows.md) _(deprecated — use [`workflow list`](workflow/list.md))_
2122

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# `appcircle build profile workflow create`
2+
3+
Create a new build profile workflow by uploading a YAML file. The file is validated (component existence, step names, YAML format) before the workflow is created.
4+
5+
```plaintext
6+
appcircle build profile workflow create [options]
7+
```
8+
9+
## Options
10+
11+
```plaintext
12+
--profileId <uuid> Build profile ID
13+
--profile <string> Build profile name (alternative to --profileId)
14+
--workflowName <string> Name for the new workflow
15+
--filePath <path> Path to the YAML file to upload
16+
```
17+
18+
## Options inherited from parent commands
19+
20+
```plaintext
21+
--help Show help for command
22+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# `appcircle build profile workflow download`
2+
3+
Download a build profile workflow as a YAML file so it can be edited locally and re-uploaded.
4+
5+
```plaintext
6+
appcircle build profile workflow download [options]
7+
```
8+
9+
## Options
10+
11+
```plaintext
12+
--profileId <uuid> Build profile ID
13+
--profile <string> Build profile name (alternative to --profileId)
14+
--workflowId <uuid> Workflow ID
15+
--path <directory> [OPTIONAL] Directory for the YAML file (defaults to the current directory)
16+
```
17+
18+
## Options inherited from parent commands
19+
20+
```plaintext
21+
--help Show help for command
22+
```
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# `appcircle build profile workflow`
2+
3+
Manage the workflows of a build profile.
4+
5+
```plaintext
6+
appcircle build profile workflow [command] [options]
7+
```
8+
9+
## Options inherited from parent commands
10+
11+
```plaintext
12+
--help Show help for command
13+
```
14+
15+
## Subcommands
16+
17+
- [`list`](list.md)
18+
- [`download`](download.md)
19+
- [`update`](update.md)
20+
- [`create`](create.md)
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# `appcircle build profile workflow list`
2+
3+
Get list of workflows of a build profile.
4+
5+
```plaintext
6+
appcircle build profile workflow list [options]
7+
```
8+
9+
## Options
10+
11+
```plaintext
12+
--profileId <uuid> Build profile ID
13+
--profile <string> Build profile name (alternative to --profileId)
14+
```
15+
16+
## Options inherited from parent commands
17+
18+
```plaintext
19+
--help Show help for command
20+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# `appcircle build profile workflow update`
2+
3+
Update an existing build profile workflow by uploading a YAML file. The file is validated (component existence, step names, YAML format) before the workflow is replaced.
4+
5+
```plaintext
6+
appcircle build profile workflow update [options]
7+
```
8+
9+
## Options
10+
11+
```plaintext
12+
--profileId <uuid> Build profile ID
13+
--profile <string> Build profile name (alternative to --profileId)
14+
--workflowId <uuid> Workflow ID to update
15+
--filePath <path> Path to the YAML file to upload
16+
--workflowName <string> [OPTIONAL] New name for the workflow (defaults to the existing name)
17+
```
18+
19+
## Options inherited from parent commands
20+
21+
```plaintext
22+
--help Show help for command
23+
```

docs/build/profile/workflows.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# `appcircle build profile workflows`
1+
**Deprecated:** This command is deprecated and will be removed in the next release. Use [`appcircle build profile workflow list`](workflow/list.md) instead.
22

3-
Get list of workflows of a build profile
3+
# ~~`appcircle build profile workflows`~~
4+
5+
Get list of workflows of a build profile.
46

57
```plaintext
68
appcircle build profile workflows [options]
@@ -10,6 +12,7 @@ appcircle build profile workflows [options]
1012

1113
```plaintext
1214
--profileId <uuid> Build profile ID
15+
--profile <string> Build profile name (alternative to --profileId)
1316
```
1417

1518
## Options inherited from parent commands

docs/publish/profile/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ appcircle publish profile [command] [options]
2020
- [`delete`](delete.md)
2121
- [`version`](version/index.md)
2222
- [`settings`](settings/index.md)
23+
- [`publish-flow`](publish-flow/index.md)
2324

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# `appcircle publish profile publish-flow download`
2+
3+
Download a publish profile publish-flow as a YAML file so it can be edited locally and re-uploaded.
4+
5+
```plaintext
6+
appcircle publish profile publish-flow download [options]
7+
```
8+
9+
## Options
10+
11+
```plaintext
12+
--platform <platform> Platform (ios or android)
13+
--publishProfileId <uuid> Publish profile ID
14+
--publishProfile <string> Publish profile name (alternative to --publishProfileId)
15+
--publishFlowId <uuid> Publish flow ID
16+
--path <directory> [OPTIONAL] Directory for the YAML file (defaults to the current directory)
17+
```
18+
19+
## Options inherited from parent commands
20+
21+
```plaintext
22+
--help Show help for command
23+
```
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# `appcircle publish profile publish-flow`
2+
3+
Manage the publish flows of a publish profile.
4+
5+
```plaintext
6+
appcircle publish profile publish-flow [command] [options]
7+
```
8+
9+
## Options inherited from parent commands
10+
11+
```plaintext
12+
--help Show help for command
13+
```
14+
15+
## Subcommands
16+
17+
- [`list`](list.md)
18+
- [`download`](download.md)
19+
- [`update`](update.md)

0 commit comments

Comments
 (0)