Merge branch 'main' into 21224-project-details
[arvados.git] / sdk / python / tests / fed-migrate / superuser-tok.cwl
1 #!/usr/bin/env cwltool
2 cwlVersion: v1.0
3 class: CommandLineTool
4 stdout: superuser_token.txt
5 inputs:
6   container: string
7 outputs:
8   superuser_token:
9     type: string
10     outputBinding:
11       glob: superuser_token.txt
12       loadContents: true
13       outputEval: $(self[0].contents.trim())
14 requirements:
15   EnvVarRequirement:
16     envDef:
17       ARVBOX_CONTAINER: "$(inputs.container)"
18   InlineJavascriptRequirement: {}
19 arguments: [arvbox, cat, /var/lib/arvados-arvbox/superuser_token]