#
# SPDX-License-Identifier: Apache-2.0
-cwlVersion: v1.0
+cwlVersion: v1.1
class: Workflow
$namespaces:
arv: "http://arvados.org/cwl#"
requirements:
ScatterFeatureRequirement: {}
StepInputExpressionRequirement: {}
- cwltool:LoadListingRequirement:
+ LoadListingRequirement:
loadListing: no_listing
InlineJavascriptRequirement: {}
inputs:
insecure:
type: boolean
default: true
+ arvbox:
+ type: File
+ default:
+ class: File
+ location: ../../../../tools/arvbox/bin/arvbox
+ branch:
+ type: string
+ default: master
+ logincluster:
+ type: boolean
+ default: false
+ arvbox_mode:
+ type: string?
+ default: "dev"
outputs:
arvados_api_token:
type: string
arvados_cluster_ids:
type: string[]
outputSource: start/cluster_id
+ superuser_tokens:
+ type: string[]
+ outputSource: start/superuser_token
acr:
type: string?
outputSource: in_acr
arvado_api_host_insecure:
type: boolean
outputSource: insecure
+ arvbox_containers:
+ type: string[]
+ outputSource: containers
+ arvbox_bin:
+ type: File
+ outputSource: arvbox
steps:
mkdir:
in:
containers: containers
arvbox_base: arvbox_base
out: [arvbox_data]
- run: arvbox/mkdir.cwl
+ run: arvboxcwl/mkdir.cwl
start:
in:
container_name: containers
arvbox_data: mkdir/arvbox_data
+ arvbox_bin: arvbox
+ branch: branch
+ arvbox_mode: arvbox_mode
out: [cluster_id, container_host, arvbox_data_out, superuser_token]
scatter: [container_name, arvbox_data]
scatterMethod: dotproduct
- run: arvbox/start.cwl
+ run: arvboxcwl/start.cwl
fed-config:
in:
container_name: containers
cluster_ids: start/cluster_id
cluster_hosts: start/container_host
arvbox_data: start/arvbox_data_out
+ arvbox_bin: arvbox
+ logincluster: logincluster
out: []
scatter: [container_name, this_cluster_id, arvbox_data]
scatterMethod: dotproduct
- run: arvbox/fed-config.cwl
+ run: arvboxcwl/fed-config.cwl
setup-user:
in:
container_host: {source: start/container_host, valueFrom: "$(self[0])"}
superuser_token: {source: start/superuser_token, valueFrom: "$(self[0])"}
out: [test_user_uuid, test_user_token]
- run: arvbox/setup-user.cwl
+ run: arvboxcwl/setup-user.cwl