1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-25 19:17:01 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
psa 478b378cd6 Fix bug in processing jobs on platforms without Docker (#1834)
* Log incoming jobs.

Log the full contents of the job protobuf to make debugging jobs easier

* Ensure that the parallel executor always uses at least one thread.

The caller may mis-calculate the number of CPUs as zero, in which case
ensure that at least one thread is spawned.

* Use runtime.NumCPU for CPU counts.

For hosts without docker, GetHostInfo() returns a blank struct which
has zero CPUs and causes downstream trouble.

---------

Co-authored-by: Paul Armstrong <psa@users.noreply.gitea.com>
Co-authored-by: Jason Song <i@wolfogre.com>
2023-06-06 03:00:54 +00:00
.github build(deps): bump megalinter/megalinter from 7.0.2 to 7.0.4 (#1838) 2023-06-05 04:27:58 +00:00
act Fix bug in processing jobs on platforms without Docker (#1834) 2023-06-06 03:00:54 +00:00
cmd Support cache (#1770) 2023-04-28 15:57:40 +00:00
main.go feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00