File tree 4 files changed +20
-4
lines changed
4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ file_mounts:
25
25
# Change this to your own globally unique bucket name.
26
26
name : sky-output-bucket
27
27
mode : MOUNT
28
+ store : azure
28
29
29
30
/public-bucket :
30
31
source : s3://fah-public-data-covid19-cryptic-pockets
31
-
32
+
32
33
# File mounts for folder
33
34
/tmp/workdir : ~/tmp-workdir
34
35
50
51
ls ~/sky_workdir/managed_job_with_storage.yaml
51
52
ls ~/bucket_workdir/managed_job_with_storage.yaml
52
53
ls -l /public-bucket
53
-
54
+
54
55
55
56
mkdir -p /data/logs
56
57
touch /data/logs/test.log
61
62
62
63
cat ~/tmpfile
63
64
cat ~/a/b/c/tmpfile
64
-
65
+
65
66
# Write to a file in the mounted bucket
66
67
echo "hello world!" > /output_path/output.txt
Original file line number Diff line number Diff line change @@ -947,7 +947,9 @@ def test_managed_jobs_storage(generic_cloud: str):
947
947
f'{ smoke_tests_utils .down_cluster_for_cloud_cmd (name )} || true' ),
948
948
# Increase timeout since sky jobs queue -r can be blocked by other spot tests.
949
949
timeout = 20 * 60 ,
950
- )
950
+ env = {
951
+ 'SKYPILOT_CONFIG' : 'tests/test_yamls/low_resource_sky_config.yaml'
952
+ })
951
953
smoke_tests_utils .run_one_test (test )
952
954
953
955
Original file line number Diff line number Diff line change
1
+ jobs :
2
+ controller :
3
+ resources :
4
+ cpus : 2+
5
+ memory : 4+
6
+ serve :
7
+ controller :
8
+ resources :
9
+ cpus : 2+
10
+ memory : 4+
Original file line number Diff line number Diff line change @@ -25,19 +25,22 @@ file_mounts:
25
25
name: {{storage_name}}
26
26
source: ~/tmp-workdir
27
27
mode: {% if only_mount | default (false ) %} MOUNT{% else %} COPY{% endif %}
28
+ store: azure
28
29
29
30
# Mounting private buckets in COPY mode with a list of files as source
30
31
/mount_private_copy_lof:
31
32
name: {{storage_name}}
32
33
source: ['~/tmp-workdir/tmp file', '~/tmp-workdir/tmp file2']
33
34
mode: {% if only_mount | default (false ) %} MOUNT{% else %} COPY{% endif %}
35
+ store: azure
34
36
35
37
{% if include_private_mount | default (True ) %}
36
38
# Mounting private buckets in MOUNT mode
37
39
/mount_private_mount:
38
40
name: {{storage_name}}
39
41
source: ~/tmp-workdir
40
42
mode: MOUNT
43
+ store: azure
41
44
{% endif %}
42
45
43
46
run: |
You can’t perform that action at this time.
0 commit comments