Fix tests.
[arvados.git] / sdk / cwl / tests / federation / README
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 Arvados federated workflow testing
6
7 Requires cwltool 1.0.20181109150732 or later
8
9 Create main-test.json:
10
11 {
12     "acr": "/path/to/arvados-cwl-runner",
13     "arvado_api_host_insecure": false,
14     "arvados_api_hosts": [
15         "c97qk.arvadosapi.com",
16         "4xphq.arvadosapi.com",
17         "9tee4.arvadosapi.com"
18     ],
19     "arvados_api_token": "...",
20     "arvados_cluster_ids": [
21         "c97qk",
22         "4xphq",
23         "9tee4"
24     ]
25 }
26
27 Or create an arvbox test cluster:
28
29 $ cwltool --enable-ext arvbox-make-federation.cwl --arvbox_base ~/.arvbox/ --in_acr /path/to/arvados-cwl-runner > main-test.json
30
31
32 Run tests:
33
34 $ cwltool main.cwl main-test.json
35
36
37 List test cases:
38
39 $ cwltool --print-targets main.cwl
40
41
42 Run a specific test case:
43
44 $ cwltool -t twostep-remote-copy-to-home main.cwl main-test.json