This commit is contained in:
parent
1a650d4aaa
commit
b2f21117ad
1 changed files with 4 additions and 5 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue