Merge pull request 'Describe the CI runner the workflows expect' (#45) from ci/runner-notes into main
This commit is contained in:
commit
23623c0df0
2 changed files with 12 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Runs on Forgejo Actions (Codeberg). Enable Actions in the repository settings and make sure
|
# Runs on Forgejo Actions. The jobs ask for a runner labelled `docker` that runs each job in the
|
||||||
# a runner with the `docker` label is available; change `runs-on` if yours is named differently.
|
# container named below; change `runs-on` if your runner is labelled differently.
|
||||||
name: ci
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
@ -12,6 +12,9 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: golang:1.27
|
container: golang:1.27
|
||||||
steps:
|
steps:
|
||||||
|
# The checkout action runs on Node, which the golang image does not carry.
|
||||||
|
- name: Install Node
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq nodejs git
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: make go-ci
|
- run: make go-ci
|
||||||
|
|
||||||
|
|
@ -28,5 +31,8 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: golang:1.27
|
container: golang:1.27
|
||||||
steps:
|
steps:
|
||||||
|
# The checkout action runs on Node, which the golang image does not carry.
|
||||||
|
- name: Install Node
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq nodejs git
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: make vuln
|
- run: make vuln
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
# The end-to-end test starts Postfix and parsimony in Docker, so it needs a runner that can run
|
# The end-to-end test starts Postfix and parsimony in Docker, so it needs a runner that can run
|
||||||
# Docker itself. Start it by hand from the Actions tab (or run `make e2e` locally).
|
# Docker itself, with the job on the host network (it talks to published ports on 127.0.0.1 and
|
||||||
|
# mounts temporary directories). A plain `docker` runner does not give a job a Docker daemon, and
|
||||||
|
# I have not run this workflow on a runner: use `make e2e` locally. Start it by hand from the
|
||||||
|
# Actions tab only once you have such a runner.
|
||||||
name: e2e
|
name: e2e
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue