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: platform-cli-docs/docs/reference/actions.md
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ tw actions list [OPTIONS]
24
24
25
25
| Option | Description | Required | Default |
26
26
|--------|-------------|----------|----------|
27
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
27
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
1a2b3c4d5e6f7g8h9i0j1k| Testy | https://api.cloud.seqera.io/actions/1a2b3c4d5e6f7g8h9i0j1k/launch?workspaceId=123456789012345 | ACTIVE | tower
45
+
2b3c4d5e6f7g8h| Testy | https://api.cloud.seqera.io/actions/2b3c4d5e6f7g8h/launch?workspaceId=123456789012345 | ACTIVE | tower
46
46
```
47
47
48
48
## tw actions view
@@ -59,7 +59,7 @@ tw actions view [OPTIONS]
59
59
|--------|-------------|----------|----------|
60
60
|`-i`, `--id`| Action unique identifier | No |`null`|
61
61
|`-n`, `--name`| Action name | No |`null`|
62
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
62
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
|`-n`, `--name`| Action name. Must be unique per workspace. Names consist of alphanumeric, hyphen, and underscore characters. | Yes |`null`|
130
+
|`--pipeline`| Pipeline repository URL. Must be a full Git repository URL (e.g., https://github.com/nextflow-io/hello).| Yes |`null`|
124
131
|`-i`, `--id`| Action unique identifier | No |`null`|
125
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to`TOWER_WORKSPACE_ID` environment variable) | No|`TOWER_WORKSPACE_ID`|
132
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format. Required if`TOWER_WORKSPACE_ID` environment variable is not set. | Yes*|`TOWER_WORKSPACE_ID`|
126
133
|`-c`, `--compute-env`| Compute environment identifier where the pipeline will run. Defaults to workspace primary compute environment if omitted. Provide the name or identifier. | No |`null`|
127
134
|`--work-dir`| Work directory path where workflow intermediate files are stored. Defaults to compute environment work directory if omitted. | No |`null`|
128
135
|`-p`, `--profile`| Array of Nextflow configuration profile names to apply. | No |`null`|
@@ -173,7 +180,7 @@ tw actions update [OPTIONS]
173
180
|`--new-name`| Updated action name. Must be unique per workspace. Names consist of alphanumeric, hyphen, and underscore characters. | No |`null`|
174
181
|`-i`, `--id`| Action unique identifier | No |`null`|
175
182
|`-n`, `--name`| Action name | No |`null`|
176
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
183
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
177
184
|`-c`, `--compute-env`| Compute environment identifier where the pipeline will run. Defaults to workspace primary compute environment if omitted. Provide the name or identifier. | No |`null`|
178
185
|`--work-dir`| Work directory path where workflow intermediate files are stored. Defaults to compute environment work directory if omitted. | No |`null`|
179
186
|`-p`, `--profile`| Array of Nextflow configuration profile names to apply. | No |`null`|
@@ -218,7 +225,7 @@ tw actions delete [OPTIONS]
218
225
|--------|-------------|----------|----------|
219
226
|`-i`, `--id`| Action unique identifier | No |`null`|
220
227
|`-n`, `--name`| Action name | No |`null`|
221
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
228
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
222
229
223
230
### Example
224
231
@@ -248,6 +255,7 @@ tw actions labels [OPTIONS]
248
255
|--------|-------------|----------|----------|
249
256
|`-i`, `--id`| Action unique identifier | No |`null`|
250
257
|`-n`, `--name`| Action name | No |`null`|
258
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No | Personal workspace |
251
259
|`--no-create`| Assign labels without creating the ones which were not found. | No |`null`|
252
260
|`--operations`, `-o`| Type of operation (set, append, delete) [default: set]. | No |`set`|
|`--new-name`| New compute environment name. | No |`null`|
68
68
|`-i`, `--id`| Compute environment unique identifier. | No |`null`|
69
69
|`-n`, `--name`| Compute environment name. | No |`null`|
70
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
70
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
|`-i`, `--id`| Compute environment unique identifier. | No |`null`|
99
99
|`-n`, `--name`| Compute environment name. | No |`null`|
100
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
100
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
|`-i`, `--id`| Compute environment unique identifier. | No |`null`|
129
129
|`-n`, `--name`| Compute environment name. | No |`null`|
130
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
130
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
131
131
132
132
### Example
133
133
@@ -194,7 +194,7 @@ tw compute-envs list [OPTIONS]
194
194
195
195
| Option | Description | Required | Default |
196
196
|--------|-------------|----------|---------|
197
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
197
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
|`-i`, `--id`| Compute environment unique identifier. | No |`null`|
237
237
|`-n`, `--name`| Compute environment name. | No |`null`|
238
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
238
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
239
239
240
240
### Example
241
241
@@ -256,14 +256,18 @@ Example output:
256
256
Import a compute environment configuration from a JSON file.
|`-n`, `--name`| Name for the imported compute environment. | Yes |`null`|
267
+
|`-c`, `--credentials`| Credentials identifier to use when multiple credentials match the compute environment. Use this to specify which credentials should be associated with the imported compute environment. | No |`null`|
268
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
266
269
|`--overwrite`| Overwrite the compute environment if it already exists. | No |`false`|
270
+
|`<path/to/json-file>`| Path to the JSON file containing the compute environment configuration (exported using `tw compute-envs export`). | Yes |`null`|
267
271
268
272
### Example
269
273
@@ -279,6 +283,10 @@ Example output:
279
283
New AWS-CLOUD compute environment 'example-imported-ce' added at [my-organization / my-workspace] workspace
280
284
```
281
285
286
+
:::note
287
+
If multiple credentials match the imported compute environment, you must provide the `-c` flag with the credentials identifier to specify which credentials to use. You can find available credentials using `tw credentials list`.
288
+
:::
289
+
282
290
## tw compute-envs primary
283
291
284
292
Manage the primary compute environment.
@@ -299,7 +307,7 @@ tw compute-envs primary get [OPTIONS]
299
307
300
308
| Option | Description | Required | Default |
301
309
|--------|-------------|----------|---------|
302
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
310
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
303
311
304
312
### Example
305
313
@@ -329,7 +337,7 @@ tw compute-envs primary set [OPTIONS]
329
337
|--------|-------------|----------|---------|
330
338
|`-i`, `--id`| Compute environment unique identifier. | No |`null`|
331
339
|`-n`, `--name`| Compute environment name. | No |`null`|
332
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
340
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
Copy file name to clipboardExpand all lines: platform-cli-docs/docs/reference/credentials.md
+27-8Lines changed: 27 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,22 @@ To launch pipelines in a Platform workspace, you need [credentials](https://docs
17
17
Add workspace credentials.
18
18
19
19
```bash
20
-
tw credentials add [OPTIONS]
20
+
tw credentials add <provider>[OPTIONS]
21
21
```
22
22
23
23
Run `tw credentials add -h` to view a list of providers.
24
24
25
25
Run `tw credentials add <provider> -h` to view the required fields for your provider.
26
26
27
+
### Common Options
28
+
29
+
| Option | Description | Required | Default |
30
+
|--------|-------------|----------|---------|
31
+
|`-n`, `--name`| Credentials name. Must be unique per workspace. | Yes |`null`|
32
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No | Personal workspace |
33
+
27
34
:::note
28
-
You can add multiple credentials from the same provider in the same workspace.
35
+
Additional provider-specific options are required depending on the provider type. Use `tw credentials add <provider> -h` to see all available options for your provider. You can add multiple credentials from the same provider in the same workspace.
29
36
:::
30
37
31
38
### Compute environment credentials
@@ -35,7 +42,7 @@ Platform requires credentials to access your cloud compute environments. See the
@@ -85,13 +92,25 @@ New CONTAINER-REG credentials 'my_registry_creds (2tyCywygy9yoyeyHyRyryI)' added
85
92
Update workspace credentials.
86
93
87
94
```bash
88
-
tw credentials update [OPTIONS]
95
+
tw credentials update <provider>[OPTIONS]
89
96
```
90
97
91
98
Run `tw credentials update -h` to view a list of providers.
92
99
93
100
Run `tw credentials update <provider> -h` to view the required fields for your provider.
94
101
102
+
### Common Options
103
+
104
+
| Option | Description | Required | Default |
105
+
|--------|-------------|----------|---------|
106
+
|`-i`, `--id`| Credentials unique identifier | No |`null`|
107
+
|`-n`, `--name`| Credentials name | No |`null`|
108
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No | Personal workspace |
109
+
110
+
:::note
111
+
Additional provider-specific options vary depending on the provider type. Use `tw credentials update <provider> -h` to see all available options for your provider. Either credentials ID (`-i`) or name (`-n`) is required to identify which credentials to update.
|`-i`, `--id`| Credentials unique identifier | No |`null`|
122
141
|`-n`, `--name`| Credentials name | No |`null`|
123
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
142
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
124
143
125
144
### Example
126
145
@@ -148,7 +167,7 @@ tw credentials list [OPTIONS]
148
167
149
168
| Option | Description | Required | Default |
150
169
|--------|-------------|----------|---------|
151
-
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable) | No |`TOWER_WORKSPACE_ID`|
170
+
|`-w`, `--workspace`| Workspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to `TOWER_WORKSPACE_ID` environment variable, or personal workspace if not set) | No |`TOWER_WORKSPACE_ID`|
0 commit comments