truss 0.11.2rc502__py3-none-any.whl → 0.11.2rc503__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of truss might be problematic. Click here for more details.
- truss/templates/server/entrypoint.sh +19 -3
- {truss-0.11.2rc502.dist-info → truss-0.11.2rc503.dist-info}/METADATA +1 -1
- {truss-0.11.2rc502.dist-info → truss-0.11.2rc503.dist-info}/RECORD +6 -6
- {truss-0.11.2rc502.dist-info → truss-0.11.2rc503.dist-info}/WHEEL +0 -0
- {truss-0.11.2rc502.dist-info → truss-0.11.2rc503.dist-info}/entry_points.txt +0 -0
- {truss-0.11.2rc502.dist-info → truss-0.11.2rc503.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
+
# Test sudo permissions first
|
|
5
|
+
echo "Testing sudo permissions..."
|
|
6
|
+
sudo -l | grep chown || echo "No chown permissions found in sudo -l"
|
|
7
|
+
|
|
4
8
|
# Fix ownership of cache directories if they exist
|
|
5
9
|
if [ -d "/cache/model" ]; then
|
|
6
10
|
echo "Setting ownership for /cache/model"
|
|
7
|
-
|
|
11
|
+
echo "Before: $(ls -ld /cache/model)"
|
|
12
|
+
if sudo chown -R app:app /cache/model; then
|
|
13
|
+
echo "chown command succeeded"
|
|
14
|
+
else
|
|
15
|
+
echo "chown command failed with exit code: $?"
|
|
16
|
+
fi
|
|
17
|
+
echo "After: $(ls -ld /cache/model)"
|
|
8
18
|
fi
|
|
9
19
|
|
|
10
20
|
if [ -d "/cache/org" ]; then
|
|
11
|
-
echo "Setting ownership for /cache/org"
|
|
12
|
-
|
|
21
|
+
echo "Setting ownership for /cache/org"
|
|
22
|
+
echo "Before: $(ls -ld /cache/org)"
|
|
23
|
+
if sudo chown -R app:app /cache/org; then
|
|
24
|
+
echo "chown command succeeded"
|
|
25
|
+
else
|
|
26
|
+
echo "chown command failed with exit code: $?"
|
|
27
|
+
fi
|
|
28
|
+
echo "After: $(ls -ld /cache/org)"
|
|
13
29
|
fi
|
|
14
30
|
|
|
15
31
|
# Execute the original command
|
|
@@ -94,7 +94,7 @@ truss/templates/custom_python_dx/my_model.py,sha256=NG75mQ6wxzB1BYUemDFZvRLBET-U
|
|
|
94
94
|
truss/templates/docker_server/proxy.conf.jinja,sha256=Lg-PcZzKflG85exZKHNgW_I6r0mATV8AtOIBaE40-RM,1669
|
|
95
95
|
truss/templates/docker_server/supervisord.conf.jinja,sha256=dd37fwZE--cutrvOUCqEyJQQQhlp61H2IUs2huKWsSk,1808
|
|
96
96
|
truss/templates/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
|
-
truss/templates/server/entrypoint.sh,sha256=
|
|
97
|
+
truss/templates/server/entrypoint.sh,sha256=aRqtkHt_gHRgEa2S1sGnDoaFaZtA43NbvKYUy5CtzcM,881
|
|
98
98
|
truss/templates/server/main.py,sha256=kWXrdD8z8IpamyWxc8qcvd5ck9gM1Kz2QH5qHJCnmOQ,222
|
|
99
99
|
truss/templates/server/model_wrapper.py,sha256=k75VVISwwlsx5EGb82UZsu8kCM_i6Yi3-Hd0-Kpm1yo,42055
|
|
100
100
|
truss/templates/server/requirements.txt,sha256=XblmpfxAmRo3X1V_9oMj8yjdpZ5Wk-C2oa3z6nq4OGw,672
|
|
@@ -365,8 +365,8 @@ truss_train/definitions.py,sha256=V985HhY4rdXL10DZxpFEpze9ScxzWErMht4WwaPknGU,67
|
|
|
365
365
|
truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,3074
|
|
366
366
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
367
367
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
368
|
-
truss-0.11.
|
|
369
|
-
truss-0.11.
|
|
370
|
-
truss-0.11.
|
|
371
|
-
truss-0.11.
|
|
372
|
-
truss-0.11.
|
|
368
|
+
truss-0.11.2rc503.dist-info/METADATA,sha256=ibPdGGEmpNg-1bG8GcmjRw0UR1KB6Dak-4uHszZ9_qo,6674
|
|
369
|
+
truss-0.11.2rc503.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
370
|
+
truss-0.11.2rc503.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
371
|
+
truss-0.11.2rc503.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
372
|
+
truss-0.11.2rc503.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|