mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 04:02:18 +01:00
Fix Hermes smoke bind mount permissions
This commit is contained in:
1 parent
b025345c71
commit
d2e65c0ba1
2 files changed
+4
-2
No files matched your search
@@ -124,7 +124,7 @@ jobs:
|
||||
${{ runner.temp }}/paperclip-health.json
|
||||
${{ runner.temp }}/paperclip-company.json
|
||||
${{ runner.temp }}/hermes-gateway-e2e.log
|
||||
${{ runner.temp }}/hermes-gateway-diag/
|
||||
${{ env.HERMES_SMOKE_DIAG_DIR }}/
|
||||
retention-days: 14
|
||||
if-no-files-found: ignore
|
||||
|
||||
|
||||
@@ -462,7 +462,9 @@ prepare_fresh_state() {
|
||||
"${HERMES_SMOKE_STATE_DIR}/hermes-home" \
|
||||
"${HERMES_SMOKE_STATE_DIR}/workspace" \
|
||||
"${HERMES_SMOKE_STATE_DIR}/fake-host-home/.hermes"
|
||||
chmod 700 "${HERMES_SMOKE_STATE_DIR}/hermes-home" "${HERMES_SMOKE_STATE_DIR}/workspace" || true
|
||||
# These host-created bind mounts must be readable and writable by the
|
||||
# non-root hermes user (uid 10001) inside the container.
|
||||
chmod 777 "${HERMES_SMOKE_STATE_DIR}/hermes-home" "${HERMES_SMOKE_STATE_DIR}/workspace" || true
|
||||
echo "host hermes sentinel ${RUN_SUFFIX}" > "${HERMES_SMOKE_STATE_DIR}/fake-host-home/.hermes/host-sentinel.txt"
|
||||
|
||||
if find "${HERMES_SMOKE_STATE_DIR}/hermes-home" -mindepth 1 -print -quit | grep -q .; then
|
||||
|
||||
Reference in new issue
Block a user