Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Building devel11
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Feb 22, 2024
1 parent 75b74a1 commit 8df4a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion airflow/dags/docker_cwl_pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ spec:

containers:
- name: cwl-docker
image: ghcr.io/unity-sds/unity-sps-prototype/sps-docker-cwl:devel4
image: ghcr.io/unity-sds/unity-sps-prototype/sps-docker-cwl:devel11
command: ["/usr/share/cwl/docker_cwl_entrypoint.sh"]
args: ["https://raw.githubusercontent.com/unity-sds/unity-sps-prototype/cwl-docker/cwl/cwl_workflows/echo_from_docker.cwl", "{}"]
securityContext:
privileged: true

4 changes: 2 additions & 2 deletions airflow/dags/say_hello_from_cwl_and_docker_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def setup(ti=None, **context):
full_pod_spec=k8s.V1Pod(
k8s.V1ObjectMeta(name=('docker-cwl-pod-' + uuid.uuid4().hex))),
pod_template_file="/opt/airflow/dags/docker_cwl_pod.yaml",
image="ghcr.io/unity-sds/unity-sps-prototype/unity-sps-docker-cwl:latest",
arguments=["{{ params.cwl_workflow }}", "{{ti.xcom_pull(task_ids='Setup', key='cwl_args')}}"],
#image="ghcr.io/unity-sds/unity-sps-prototype/unity-sps-docker-cwl:latest",
#arguments=["{{ params.cwl_workflow }}", "{{ti.xcom_pull(task_ids='Setup', key='cwl_args')}}"],
# resources={"request_memory": "512Mi", "limit_memory": "1024Mi"},
dag=dag)

Expand Down

0 comments on commit 8df4a5d

Please sign in to comment.