runs-on docker (workflow fix)
Some checks failed
grade / grade (push) Failing after 4s

This commit is contained in:
trevon 2026-08-26 01:20:24 +00:00
parent 7e5c368800
commit fe3fc26191

View file

@ -1,19 +1,18 @@
name: grade name: grade
on: [push] on: [push]
# Production wiring (gitea-runner on ghost, docker mode): # Production wiring (forgejo-runner on ghost):
# - job container = gitea/runner-images (has docker CLI) + the host docker # - forgejo-runner v13 config sets docker_host: automount (host socket into
# socket, so docker_grade.sh drives the host daemon exactly as designed # the job container), so docker_grade.sh drives the host daemon as designed
# - hidden tests mount from the runner host (/opt/grade-hidden) — never in # - hidden tests mount from the runner host (/opt/grade-hidden) — never in
# this repo # this repo
# - GRADE_HMAC_SECRET mounts from /opt/grade/grade.env on the runner host # - GRADE_HMAC_SECRET mounts from /opt/grade/grade.env on the runner host
jobs: jobs:
grade: grade:
runs-on: ubuntu-latest runs-on: docker
container: container:
image: gitea/runner-images:ubuntu-22.04 image: gitea/runner-images:ubuntu-22.04
options: >- options: >-
-v /var/run/docker.sock:/var/run/docker.sock
-v /opt/grade/grade.env:/run/secrets/grade.env:ro -v /opt/grade/grade.env:/run/secrets/grade.env:ro
-v /opt/grade-hidden:/opt/grade-hidden:ro -v /opt/grade-hidden:/opt/grade-hidden:ro
steps: steps: