Skip to content

Commit 97fb115

Browse files
authored
APPS-3635 Move new region guide to own document (#530)
1 parent 97721b1 commit 97fb115

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

doc/Add_New_Region.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Adding a New DNAnexus Region
2+
3+
If dxCompiler needs to be enabled in a new DNAnexus region the following should be done in the staging & production environments:
4+
5+
* dxCompiler requires WDL and CWL assets to be stored in a public "dxCompiler\_region" project. For existing regions
6+
supported by DNAnexus - consult the internal Confluence page.
7+
```bash
8+
dx new project <PROJECT_NAME> --region <REGION> --bill-to=org-dnanexus_apps
9+
```
10+
* Make the project public
11+
```bash
12+
dx api project-xxxx invite '{"invitee": "PUBLIC", "level": "VIEW"}'
13+
```
14+
* The [release script](/scripts/build_release.py#L33) that tests and releases dxCompiler in all regions needs to be
15+
updated (one line change).
16+
* The app used for copying the assets to different regions during a release ([app-dxwdl_copy](/scripts/dxcompiler_copy))
17+
needs to be enabled in the new region (please update `regionalOptions`, `whatsNew`, and increment the `version` of the app).
18+
* To publish `dxwdl_copy` app (`Copy file`) go to `Actions` > `Build & publish 'dxCompiler Copy File' app` and click `Run workflow` on the right side.
19+
* Update the script for [multi-region testing](/scripts/multi_region_tests.py#L24).

doc/Developing.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -255,23 +255,3 @@ Update [workflow_importer](https://github.com/dnanexus/file-apps/tree/master/app
255255
### Creating draft release for testing
256256

257257
Follow the process above; just don't publish the draft release in the final step.
258-
259-
## Enabling dxCompiler in new DNAnexus regions
260-
261-
If dxCompiler needs to be enabled in a new DNAnexus region the following should be done in the staging & production environments:
262-
263-
* dxCompiler requires WDL and CWL assets to be stored in a public "dxCompiler\_region" project. For existing regions
264-
supported by DNAnexus - consult the internal Confluence page.
265-
```bash
266-
dx new project <PROJECT_NAME> --region <REGION> --bill-to=org-dnanexus_apps
267-
```
268-
* Make the project public
269-
```bash
270-
dx api project-xxxx invite '{"invitee": "PUBLIC", "level": "VIEW"}'
271-
```
272-
* The [release script](/scripts/build_release.py#L33) that tests and releases dxCompiler in all regions needs to be
273-
updated (one line change).
274-
* The app used for copying the assets to different regions during a release ([app-dxwdl_copy](/scripts/dxcompiler_copy))
275-
needs to be enabled in the new region (please update `regionalOptions`, `whatsNew`, and increment the `version` of the app).
276-
* To publish `dxwdl_copy` app (`Copy file`) go to `Actions` > `Build & publish 'dxCompiler Copy File' app` and click `Run workflow` on the right side.
277-
* Update the script for [multi-region testing](/scripts/multi_region_tests.py#L24).

0 commit comments

Comments
 (0)