Skip to content

Commit

Permalink
[FIX] cwl-runner: error: argument --tmp-outdir-prefix: not allowed wi…
Browse files Browse the repository at this point in the history
…th argument --cachedir
  • Loading branch information
LucaCinquini committed Mar 7, 2024
1 parent 7e10f63 commit 696d0dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airflow/dags/docker_cwl_pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
containers:
- name: cwl-docker
# image: ghcr.io/unity-sds/unity-sps/sps-docker-cwl:2.0.0-alpha.1
image: ghcr.io/unity-sds/unity-sps/sps-docker-cwl:develop6
image: ghcr.io/unity-sds/unity-sps/sps-docker-cwl:develop7
imagePullPolicy: Always
command: ["/usr/share/cwl/docker_cwl_entrypoint.sh"]
securityContext:
Expand Down
3 changes: 1 addition & 2 deletions airflow/docker/cwl/docker_cwl_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ done
# Execute CWL workflow
. /usr/share/cwl/venv/bin/activate
pwd
mkdir -p ./cache
cwl-runner --cachedir ./cache --tmp-outdir-prefix "$PWD"/ "$cwl_workflow" "$job_args"
cwl-runner --tmp-outdir-prefix "$PWD"/ "$cwl_workflow" "$job_args"
deactivate

# Stop Docker engine
Expand Down

0 comments on commit 696d0dc

Please sign in to comment.