ops: fix deployment temp permissions

This commit is contained in:
Nomads_Reach
2026-08-18 14:17:34 -04:00
parent 1bcc564c03
commit eb23c25ac3
+3 -3
View File
@@ -32,8 +32,8 @@ sudo -n -u nomad -H gh repo clone \
"$fleet_repo" -- --branch feat/hosted-minute-repo-runners --single-branch --quiet "$fleet_repo" -- --branch feat/hosted-minute-repo-runners --single-branch --quiet
sudo -n -u nomad -H bash -c 'cd "$1" && ./scripts/validate-repo.sh' bash "$fleet_repo" sudo -n -u nomad -H bash -c 'cd "$1" && ./scripts/validate-repo.sh' bash "$fleet_repo"
python3 -m py_compile "$scheduler_repo/tools/ci/ghrunnerd.py" sudo -n -u nomad -H python3 -m py_compile "$scheduler_repo/tools/ci/ghrunnerd.py"
bash -n "$light_repo/tools/ci/install-prisma-runner.sh" sudo -n -u nomad -H bash -n "$light_repo/tools/ci/install-prisma-runner.sh"
echo "== deploy PluginEditTool #194 scheduler fix ==" echo "== deploy PluginEditTool #194 scheduler fix =="
sudo install -m 0755 \ sudo install -m 0755 \
@@ -47,7 +47,7 @@ echo "== fetch and verify pinned Actions runner =="
sudo -n -u nomad -H curl -fL --retry 3 --retry-delay 2 \ sudo -n -u nomad -H curl -fL --retry 3 --retry-delay 2 \
-o "$tarball" \ -o "$tarball" \
https://github.com/actions/runner/releases/download/v2.336.0/actions-runner-linux-x64-2.336.0.tar.gz https://github.com/actions/runner/releases/download/v2.336.0/actions-runner-linux-x64-2.336.0.tar.gz
actual="$(sha256sum "$tarball" | awk '{print $1}')" actual="$(sudo -n -u nomad -H sha256sum "$tarball" | awk '{print $1}')"
expected="04cf0be1aff4c3ec3554466c39124ca250e3effd8873bb7e8d68535aa9505d5d" expected="04cf0be1aff4c3ec3554466c39124ca250e3effd8873bb7e8d68535aa9505d5d"
test "$actual" = "$expected" || { test "$actual" = "$expected" || {
echo "runner archive digest mismatch" >&2 echo "runner archive digest mismatch" >&2