Merge branch '19464-capture-git-info' refs #19464
[arvados.git] / sdk / cwl / tests / federation / arvboxcwl / setup-user.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 cwlVersion: v1.1
6 class: CommandLineTool
7 $namespaces:
8   arv: "http://arvados.org/cwl#"
9   cwltool: "http://commonwl.org/cwltool#"
10 requirements:
11   EnvVarRequirement:
12     envDef:
13       ARVADOS_API_HOST: $(inputs.container_host)
14       ARVADOS_API_TOKEN: $(inputs.superuser_token)
15       ARVADOS_API_HOST_INSECURE: "true"
16   LoadListingRequirement:
17     loadListing: no_listing
18   InlineJavascriptRequirement: {}
19   InplaceUpdateRequirement:
20     inplaceUpdate: true
21   DockerRequirement:
22     dockerPull: arvados/jobs
23   NetworkAccess:
24     networkAccess: true
25 inputs:
26   container_host: string
27   superuser_token: string
28   make_user_script:
29     type: File
30     default:
31       class: File
32       location: setup_user.py
33 outputs:
34   test_user_uuid: string
35   test_user_token: string
36 arguments: [python, $(inputs.make_user_script)]