Files
akyldash/.gitea/workflows/runner-smoke.yaml
T
codex f2c5cf80fa
CI / tests-and-images (pull_request) Canceled after 0s
Runner smoke test / runner-smoke (pull_request) Canceled after 0s
Route AkylDash Actions to its isolated local Docker Desktop runner
2026-11-21 20:26:25 +00:00

25 lines
724 B
YAML

name: Runner smoke test
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
runner-smoke:
runs-on: akyldash-local-ci
steps:
- name: Verify isolated runner boundary
run: |
host_uid=$(awk 'NR == 1 {print $2}' /proc/self/uid_map)
test "$host_uid" -gt 0
test ! -S /var/run/docker.sock
test ! -e /run/user/1000/docker.sock
test -z "${DOCKER_HOST:-}"
test ! -e /etc/akyldash/production.env
test ! -e /etc/akyldash/review_secret
test ! -e /opt/akyldash/current
printf 'Isolated runner: version=%s host=%s uid-map=%s\n' \
"$GITEA_ACTIONS_RUNNER_VERSION" "$(hostname)" "$host_uid"