Fix Hermes smoke bind mount permissions

This commit is contained in:
Dotta committed 2026-06-26 14:43:27 +00:00
1 parent b025345c71
commit d2e65c0ba1
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -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
+3 -1
View File
@@ -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