1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Björn Brauer d20651be76 fix: always execute closeContainer() executor (#988)
* fix: always execute closeContainer() executor

During our earlier refactoring in #984 we accidentally changed the
behaviour in such a way that the `closeContainer()` executor was never
called.

This commit restores the earlier behaviour.

Ref:
* https://github.com/nektos/act/pull/984/files#diff-c057d66dc9657d8428e290c69871596e2b567bb8fecad62a99cab54398131a84L294
* https://github.com/nektos/act/pull/984/files#diff-ea9d5c93d769ef9b268932dd9990363e97fc3bec8a00114979d049bead5dd718R68

* test: add testcases to ensure job containers are started/stopped

This commit adds tests to ensure that the executors of `startContainer`,
`stopContainer`, `interpolateOutputs` and `closeContainer` are always
called in the correct order.
2022-02-10 16:54:58 +00:00
.github ci: replace superlinter with megalinter (#923) 2021-12-22 09:29:43 -08:00
act fix: always execute closeContainer() executor (#988) 2022-02-10 16:54:58 +00:00
cmd feat: add node16 support (#922) 2021-12-22 19:34:18 +00:00
main.go Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00