Skip to content

Commit

Permalink
UPSTREAM: <carry>: chore: fix unittests for empty dir mounts
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
  • Loading branch information
HumairAK committed Mar 10, 2024
1 parent 37e7d18 commit bfc135c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ spec:
volumeMounts:
- mountPath: /kfp-launcher
name: kfp-launcher
- mountPath: /gcs
name: gcs-scratch
- mountPath: /s3
name: s3-scratch
- mountPath: /minio
name: minio-scratch
- mountPath: /.local
name: dot-local-scratch
- mountPath: /.cache
name: dot-cache-scratch
initContainers:
- command:
- launcher-v2
Expand All @@ -168,6 +178,16 @@ spec:
volumes:
- emptyDir: {}
name: kfp-launcher
- emptyDir: { }
name: gcs-scratch
- emptyDir: { }
name: s3-scratch
- emptyDir: { }
name: minio-scratch
- emptyDir: { }
name: dot-local-scratch
- emptyDir: { }
name: dot-cache-scratch
- dag:
tasks:
- arguments:
Expand Down
20 changes: 20 additions & 0 deletions backend/src/v2/compiler/argocompiler/testdata/hello_world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ spec:
volumeMounts:
- mountPath: /kfp-launcher
name: kfp-launcher
- mountPath: /gcs
name: gcs-scratch
- mountPath: /s3
name: s3-scratch
- mountPath: /minio
name: minio-scratch
- mountPath: /.local
name: dot-local-scratch
- mountPath: /.cache
name: dot-cache-scratch
initContainers:
- command:
- launcher-v2
Expand All @@ -151,6 +161,16 @@ spec:
volumes:
- emptyDir: {}
name: kfp-launcher
- emptyDir: {}
name: gcs-scratch
- emptyDir: {}
name: s3-scratch
- emptyDir: {}
name: minio-scratch
- emptyDir: {}
name: dot-local-scratch
- emptyDir: {}
name: dot-cache-scratch
- dag:
tasks:
- arguments:
Expand Down

0 comments on commit bfc135c

Please sign in to comment.