summaryrefslogtreecommitdiffstats
path: root/.editorconfig (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysfix: do not ignore the config container.options when starting a jobEarl Warren1-1/+1
9 daysUpdate module github.com/go-git/go-git/v5 to v5.13.1Renovate Bot2-13/+13
9 daysfix: filter job container options with an allow listEarl Warren2-10/+96
The workflow can only contain the following options for a container: - --volume - --tmpfs
9 dayschore(refactor): split parseOptions out of mergeContainerConfigsEarl Warren1-32/+31
9 dayschore(refactor): split Options into ConfigOptions & JobOptionsEarl Warren4-13/+22
They are both command line options to be parsed as if provided to docker-run, but they are not to be trusted in the same way.
9 daysrefactor: Improve logging of error messagesVitaliy Potyarkin2-7/+11
Logging bare errors might lead to long troubleshooting sessions when error is not specific enough. This commit adds helpful context messages to logged errors. Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
11 daysUpdate module github.com/go-git/go-git/v5 to v5.13.0 [SECURITY]Renovate Bot2-72/+56
14 daysfeat: export runtime token as FORGEJO_TOKENxtex2-0/+2
2024-12-30chore(lint): fix lint errorsEarl Warren18-50/+28
- upgrade to golangci-lint@v1.62.2 - make it renovate friendly - remove most frequent lint check that are not of consequence (unused args, etc.) - fix remaining lint errors - add renovate custom manager to update the Makefile variable
2024-12-27fix: Do not fail on nil errorVitaliy Potyarkin1-1/+1
Commit 92ddcdae098873ad6d9c05748ce5b6c7be83b811 has introduced a regression due to which copyDir() would fail after closing the archive successfully Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2024-12-27chore(tests): add ./pkg/container testsEarl Warren3-5/+4
remove a failed test verifying exposed port which are not used in the Forgejo runner anyway
2024-12-27Update golang packages to v1.22Renovate Bot1-2/+2
2024-12-10Update module github.com/docker/cli to v25.0.7+incompatibleRenovate Bot2-3/+3
2024-12-09Update actions/cascading-pr action to v2Renovate Bot1-1/+1
2024-12-09Update actions/cascading-pr action to v1.0.1Renovate Bot1-1/+1
2024-12-09Update actions/cache action to v4Renovate Bot1-2/+2
2024-12-09Replace actions/cascading-pr action with actions/cascading-pr v1.0.0Renovate Bot1-1/+1
2024-12-09Update module github.com/docker/docker to v25.0.7+incompatibleRenovate Bot2-3/+3
2024-12-04Update module github.com/creack/pty to v1.1.24Renovate Bot2-3/+3
2024-12-04Update github.com/timshannon/bolthold digest to 30aac69Renovate Bot2-5/+8
2024-12-04build: use go toolchainMichael Kriese2-1/+13
2024-11-22fix(cache-server): use consistent uint64Michael Kriese2-10/+10
2024-11-21fix: log skipped job and step result as info instead of debugEarl Warren6-9/+73
This allows the Forgejo runner to obtain the job result from the logs even when it is not in debug mode.
2024-11-20ci: use `go.mod` to install goMichael Kriese2-7/+13
2024-11-20ci: use our cached oci imagesMichael Kriese2-1/+3
2024-11-20fix: [FORGEJO] do not share the act-toolcache volumeEarl Warren1-4/+1
In the context of Forgejo the act-toolcache must not be mounted otherwise independent workflows will race against each other when writing to it. For instance if a setup-go action is run at the same time as another, there is a probability that they both write the same file at the same time, which could lead to a truncated or invalid content.
2024-11-20Update actions/setup-go action to v5Renovate Bot2-2/+2
2024-11-20Update actions/checkout action to v4Renovate Bot1-1/+1
2024-11-07fix: cache adjust restore order of exact key matches (#2267)ChristopherHX2-0/+115
* wip: adjust restore order * fixup * add tests * cleanup * fix typo --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit f825e42ce200fc4973c3f28797ffba942d322d38)
2024-11-07Support overwriting caches (#2265)Jason Song3-118/+239
* feat: support overwrite caches * test: fix case * test: fix get_with_multiple_keys * chore: use atomic.Bool * test: improve get_with_multiple_keys * chore: use ping to improve path * fix: wrong CompareAndSwap * test: TestHandler_gcCache * chore: lint code * chore: lint code (cherry picked from commit b9382a2c4e6801d136c246a7e30e7ceafaad3ade)
2024-11-07fix: docker buildx cache restore not working (#2236)ChristopherHX1-1/+1
* To take effect artifacts v4 pr is needed with adjusted claims (cherry picked from commit 75e4ad93f4c6ba51a7a64f12335dd0268dd7465a)
2024-10-31fix: return an error when the argument count is wrongEarl Warren3-1/+57
Closes forgejo/runner#307
2024-10-19fix: debug is leaking host container and network namesEarl Warren1-1/+0
Closes forgejo/runner#295
2024-09-15[FORGEJO] when a workflow decode error happen, log and do not crashEarl Warren3-2/+21
2024-08-27chore(renovate): disable runner test dataMichael Kriese1-0/+5
2024-08-23chore: only run tests on mainEarl Warren1-2/+4
otherwise it runs twice for renovate PRs
2024-08-23Update module github.com/rhysd/actionlint to v1.6.27Renovate Bot2-12/+12
2024-08-23chore(renovate): add ruleMichael Kriese1-0/+5
2024-08-23chore: drop `.github` and `.gitea`Michael Kriese16-647/+0
2024-08-23upgrade github.com/moby/buildkit v0.13.2Earl Warren2-72/+108
2024-08-23Update module github.com/docker/docker to v25 [SECURITY]Renovate Bot1-1/+1
2024-08-23Update dependency go to v1.21Renovate Bot2-1/+15
2024-08-23chore(renovate): drop docker commentMichael Kriese1-1/+1
It blocks detection by renovate