Skip to content

Commit fd010b0

Browse files
authored
Merge pull request #35 from QualiNext/14157_bulk_deploy_with_workflows
14157 bulk deploy with workflows
2 parents 1fd3da8 + e0a7823 commit fd010b0

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,20 @@ COMMANDS:
143143
list List Torque Environment
144144
extend <ENVIRONMENT-ID> Extend Torque Environment
145145
```
146+
147+
## Bulk deploy
148+
149+
The CLI allows for deplying multiple environments defined in a CSV file.
150+
151+
```shell
152+
torque.exe env bulkstart <PATH-TO-CSV>
153+
```
154+
The lines of the CSV are itterated, starting an environment for each line. If a line specifies multiple owners, a separate environment (with the same parameters) will be started for each owner.
155+
#### CSV format
156+
```csv
157+
Space,Blueprint,Repository,Duration (Minutes),Owners,Inputs
158+
space_name,blueprint_name,blueprint_repo_name,duration_integer,owner_email,input_name1:input_value1;input_name2:input_value2
159+
```
160+
* The first line is assumed to contain headers and is skipped.
161+
* The 'Owners' field may contain a list of emails separated with ; or a single value. an environment is createdf per owner.
162+
* Inputs - A list of inputs matching the blueprint. the format is input_name1:input_value1;input_name2:input_value2

0 commit comments

Comments
 (0)