actions: parallel LXC jobs (#1149)

This is not guaranteed to fail if parallel jobs is broken, but it is likely to. That could create transient errors detecting race conditions similar to https://code.forgejo.org/forgejo/lxc-helpers/issues/50.

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/1149
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-12-01 15:25:21 +00:00 committed by Mathieu Fenniak
parent 069ca6777e
commit 74b8bebbe8
2 changed files with 10 additions and 2 deletions

View file

@ -1,8 +1,16 @@
on: [push]
jobs:
build:
job1:
runs-on: lxc
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- run: systemctl --no-pager list-units
job2:
runs-on: lxc
steps:
- run: echo OK2
job3:
runs-on: lxc
steps:
- run: echo OK3

View file

@ -11,7 +11,7 @@ runner:
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels: ["lxc:lxc://debian:bookworm:docker"]
labels: ["lxc:lxc://debian:bookworm"]
cache:
enabled: false