Skip to content

Commit

Permalink
rm gcp.json and verify runner sha
Browse files Browse the repository at this point in the history
  • Loading branch information
kallsyms authored and mlw committed May 6, 2024
1 parent 882b258 commit c35fc7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
run: |
export GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcp.json
echo "${GCS_KEY}" > ${GOOGLE_APPLICATION_CREDENTIALS}
function cleanup {
rm /tmp/gcp.json
}
trap cleanup EXIT
python3 Testing/integration/actions/update_vm.py macOS_14.bundle.tar.gz
start_vm:
Expand Down
3 changes: 3 additions & 0 deletions Testing/integration/actions/start_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
# And populate startup script with runner and JIT key
with open(init_dmg_mount / "run.sh", "w") as run_sh:
run_sh.write(f"""#!/bin/sh
set -xeuo pipefail
curl -L -o /tmp/runner.tar.gz 'https://github.com/actions/runner/releases/download/v2.316.0/actions-runner-osx-arm64-2.316.0.tar.gz'
echo "8442d39e3d91b67807703ec0825cec4384837b583305ea43a495a9867b7222ca /tmp/runner.tar.gz" | shasum -a 256 -c -
mkdir /tmp/runner
cd /tmp/runner
tar -xzf /tmp/runner.tar.gz
Expand Down

0 comments on commit c35fc7c

Please sign in to comment.