Commit graph

527 commits

Author SHA1 Message Date
Michael Kriese
edd867dc16
ci: use our cached oci images 2024-11-20 10:50:07 +01:00
earl-warren
44b3b04d2d Merge pull request 'chore(ci): do not run the docker-example when not needed' (#336) from earl-warren/runner:wip-example-code-only into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/336
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-16 17:27:59 +00:00
earl-warren
eb34374d42 Merge pull request 'Update module google.golang.org/protobuf to v1.35.2' (#332) from renovate/google.golang.org-protobuf-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/332
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-16 13:27:59 +00:00
Earl Warren
68b0850d27
chore(ci): do not run the docker-example when not needed
If the organization is for release, integration or experimental, no
need to run the docker example test.
2024-11-16 14:23:52 +01:00
earl-warren
4937ba2f3b Merge pull request 'fix: Update forgejo/forgejo-build-publish action to v5' (#335) from earl-warren/runner:wip-publish into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/335
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-16 13:17:01 +00:00
Earl Warren
f1a9f798e5
fix: Update forgejo/forgejo-build-publish action to v5
Address the breaking changes. It is conveniently modeled after
the use of the same action in the Forgejo release.

6bab3c374c/.forgejo/workflows/publish-release.yml (L44-L60)
2024-11-16 12:52:33 +01:00
earl-warren
5d01a328cb Merge pull request 'chore(ci): wait for the Forgejo instance to start' (#334) from earl-warren/runner:wip-test-delay into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/334
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-16 10:08:30 +00:00
Earl Warren
0876532ebe
chore(ci): wait for the Forgejo instance to start
Do not try to access Forgejo before the 10 second delay imposed by
the script creating the user.

Upgrade Forgejo to use a recent version.
2024-11-16 09:38:48 +01:00
earl-warren
8ccf20cf8a Merge pull request 'fix: make container.docker_host default to - (part two)' (#333) from earl-warren/runner:wip-default-docker-host into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/333
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-15 22:17:15 +00:00
Earl Warren
b33e155709
fix: make container.docker_host default to - (part two)
If --config is not specified, the default must also be "-" and not ""
2024-11-15 22:48:56 +01:00
Renovate Bot
2bcc6d9b8f
Update module google.golang.org/protobuf to v1.35.2 2024-11-15 00:03:42 +00:00
earl-warren
a3e575f61b Merge pull request 'Update golang packages to v1.23 (minor)' (#330) from renovate/minor-1.23-golang-packages into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/330
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-14 08:23:55 +00:00
earl-warren
6763b761e4 Merge pull request 'Update forgejo/forgejo-build-publish action to v5' (#331) from renovate/forgejo-forgejo-build-publish-5.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/331
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-14 08:10:59 +00:00
Renovate Bot
355ec95532
Update forgejo/forgejo-build-publish action to v5 2024-11-12 15:31:31 +00:00
Renovate Bot
a0df63fe70
Update golang packages to v1.23 2024-11-12 15:31:26 +00:00
earl-warren
54cfdd7065 Merge pull request 'tests: it make take time for Forgejo to come up' (#329) from earl-warren/runner:wip-test-retry into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/329
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-12 15:10:12 +00:00
Michael Kriese
9aa014ef6f Merge pull request 'Update code.forgejo.org/oci/alpine Docker tag to v3.20' (#328) from renovate/minor-3.20-alpine-packages into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/328
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-12 14:18:47 +00:00
Michael Kriese
830df0d128
chore(renovate): only one PR at a time 2024-11-12 15:14:00 +01:00
Earl Warren
b4aba5f688
tests: it make take time for Forgejo to come up 2024-11-12 14:40:06 +01:00
Renovate Bot
c9f8bb6887
Update code.forgejo.org/oci/alpine Docker tag to v3.20 2024-11-12 13:01:01 +00:00
earl-warren
e8e288dd7a Merge pull request 'Update golang packages to v1.22 (minor)' (#320) from renovate/minor-1.22-golang-packages into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/320
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-12 12:59:12 +00:00
earl-warren
c178d44f69 Merge pull request 'test: unpin docker compose' (#327) from test/unpin-docker-compose into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/327
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-12 12:11:54 +00:00
Renovate Bot
342141df3a
Update golang packages to v1.22 2024-11-12 11:41:45 +00:00
Michael Kriese
f4fc4c0247
test: unpin docker compose 2024-11-12 12:38:54 +01:00
Michael Kriese
0f9471302a Merge pull request 'ci: use go-version-file' (#322) from viceice/ci/go-version-file into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/322
2024-11-12 11:35:44 +00:00
Michael Kriese
4ddd8a4ce8
ci: use go-version-file 2024-11-12 11:48:32 +01:00
Michael Kriese
030b1279ad Merge pull request 'Update actions/setup-go action to v5' (#324) from renovate/actions-setup-go-5.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/324
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-12 10:46:15 +00:00
Renovate Bot
0aed67ae69
Update actions/setup-go action to v5 2024-11-12 10:05:45 +00:00
Michael Kriese
113493541c Merge pull request 'ci: don't run on renovate branches' (#323) from viceice/ci/renovate into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/323
2024-11-12 10:03:19 +00:00
Michael Kriese
a3b0a48d4f Merge pull request 'Update actions/checkout action to v4' (#321) from renovate/actions-checkout-4.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/321
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-12 10:02:58 +00:00
Michael Kriese
65c9651b1b
ci: don't run on renovate branches
They are run on PR. Save some ci time (~6min)
2024-11-12 10:48:52 +01:00
Renovate Bot
7696c1b72a
Update actions/checkout action to v4 2024-11-12 09:35:59 +00:00
earl-warren
ab8346ba3a Merge pull request 'Update module code.forgejo.org/forgejo/act to v1.22.0' (#319) from renovate/code.forgejo.org-forgejo-act-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/319
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-12 07:24:55 +00:00
Renovate Bot
c97e4d1fe3
Update module code.forgejo.org/forgejo/act to v1.22.0 2024-11-12 00:08:54 +00:00
earl-warren
1b688b7c5e Merge pull request 'Include tag version number in windows runners' (#318) from windows/runner:main into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/318
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-10 13:53:51 +00:00
Felix Kröner
0fb825f8e7 ci: Include version number in windows runner build 2024-11-10 14:05:33 +01:00
Michael Kriese
f6626f09d5
fix: dockerfile casing typo 2024-11-08 09:53:52 +01:00
earl-warren
94fcda8483 Merge pull request 'Cherry-pick gitea act_runner 543' (#303) from Kwonunn/runner:act-543-cherry into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/303
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-08 08:49:18 +00:00
Michael Kriese
f7567f3cd7 Merge pull request 'Update module golang.org/x/time to v0.8.0' (#316) from renovate/golang.org-x-time-0.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/316
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-08 08:25:16 +00:00
Renovate Bot
4a57d4acf9
Update module golang.org/x/time to v0.8.0 2024-11-08 07:54:54 +00:00
earl-warren
24b72f5aee Merge pull request 'Update module golang.org/x/term to v0.26.0' (#315) from renovate/golang.org-x-term-0.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/315
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-08 07:52:27 +00:00
Renovate Bot
9510276a99
Update module golang.org/x/term to v0.26.0 2024-11-08 00:05:20 +00:00
Felix Kröner
228e002565 Add support for windows build on GitHub (#312)
This PR adds a Windows build pipeline running on GitHub.
Currently it runs on the repository https://github.com/Crown0815/forgejo-runner-windows.

So far the build does not include tests, but I am working on a solution.
For the time being we can release the windows builds easily though.

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/312
Co-authored-by: Felix Kröner <felix.kroener@gmx.de>
Co-committed-by: Felix Kröner <felix.kroener@gmx.de>
2024-11-07 07:30:12 +00:00
earl-warren
5ef5a916c7 Merge pull request 'Update dependency go to v1.23.3' (#313) from renovate/patch-golang-packages into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/313
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-07 06:36:20 +00:00
Renovate Bot
0658d72b3f
Update dependency go to v1.23.3 2024-11-06 23:35:14 +00:00
Kwonunn
0ba115ba67 Version bump and add release notes 2024-11-03 15:10:54 +01:00
Kwonunn
6c9959d7a9 Cherry-pick gitea act_runner #543
From: 1735b26e66

Don't log job output when debug logging is not enabled

We wanted the ability to disable outputting the logs from the individual job to the console. This changes the logging so that job logs are only output to the console whenever debug logging is enabled in `act_runner`, while still allowing the `Reporter` to receive these logs and forward them to Gitea when debug logging is not enabled.

Signed-off-by: Kwonunn <kwonunnx@gmail.com>
2024-11-03 13:57:34 +00:00
earl-warren
b76cd576ef Merge pull request 'feat: add configurable logging level for jobs' (#299) from xenrox/runner:job-logging-level into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/299
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-11-03 07:45:07 +00:00
Thorben Günther
8b2242d893
Update release notes. 2024-11-02 20:32:13 +01:00
Thorben Günther
846ff2a616
Add simple test 2024-11-02 17:49:38 +01:00