Michael Kriese
b34efbce8b
ci: use new ci image
2024-12-04 21:02:16 +01:00
Michael Kriese
055854d1d7
build: use go toolchain
2024-12-04 10:12:38 +01:00
Michael Kriese
edd867dc16
ci: use our cached oci images
2024-11-20 10:50:07 +01: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
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
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
Renovate Bot
355ec95532
Update forgejo/forgejo-build-publish action to v5
2024-11-12 15:31:31 +00:00
Earl Warren
b4aba5f688
tests: it make take time for Forgejo to come up
2024-11-12 14:40:06 +01:00
Michael Kriese
f4fc4c0247
test: unpin docker compose
2024-11-12 12:38:54 +01:00
Michael Kriese
4ddd8a4ce8
ci: use `go-version-file`
2024-11-12 11:48:32 +01: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
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
Crown0815
0c8e1fca49
Fix typo
2024-08-27 09:40:36 +00:00
Earl Warren
82523d1d8e
chore: update the DOER & TOKEN of the build release workflow
2024-08-23 23:31:03 +02:00
Michael Kriese
556f0412f7
Use forgejo mirror images
2024-08-13 08:37:52 +02:00
TheFox0x7
15e328a8a5
Add opencontainer labels to container ( #195 )
...
Closes : forgejo/runner#162
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/195
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
2024-05-19 14:20:33 +00:00
TheFox0x7
80896601aa
update build action to v5
2024-05-19 13:16:09 +02:00
Earl Warren
0348074eee
docker-compose example: use node:20-bookworm instead of the default
2024-04-07 20:48:31 +02:00
Earl Warren
4c05530aa3
docker-compose example: also show the runner output in the CI
2024-04-07 20:34:43 +02:00
Earl Warren
ed946d0f54
docker-compose example: wait for Forgejo and the runner
...
Do not launch the demo workflow right away so it is easier to separate
the failures in the CI.
2024-04-07 20:34:36 +02:00
Earl Warren
fcdcf1eb58
[FORGEJO] no need for the CA
2024-03-11 14:41:17 +07:00
Earl Warren
0273d9dc2d
upgrade actions/checkout@v4
2023-12-04 21:28:37 +01:00
Earl Warren
d7e471a392
IPv6 tests
2023-12-04 17:54:25 +01:00
Earl Warren
409d49bcc4
do not cascade if the CASCADE variable is no
2023-11-10 19:09:49 +01:00
Earl Warren
92cd7c8e19
no need to checkout before running cascading-pr
2023-11-08 17:57:48 +01:00
Earl Warren
6d77918ad1
[FORGEJO] upgrade to act v1.13.0
2023-11-07 21:41:18 +00:00
Earl Warren
a9c4dbe512
[FORGEJO] upgrade to Forgejo v1.20 & the latest setup-forgejo
2023-11-05 19:53:11 +01:00
Earl Warren
1e9af8efba
[FORGEJO] cascade fork repo is cascading-pr/setup-forgejo
2023-11-04 14:23:25 +01:00
Earl Warren
1917d803a8
[FORGEJO] allow pull requests to cascade ( #97 )
...
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/97
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-10-29 17:49:00 +00:00
Earl Warren
0863f48c7e
cascade-setup-forgejo: close when the PR is merged
2023-10-25 00:09:48 +02:00
Earl Warren
9efc297f1f
[FORGEJO] workflow cascading-pr to setup-forgejo ( #93 )
...
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/93
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-10-15 16:37:51 +00:00
Earl Warren
b5b83fd62b
only run CI on the main branch + pull_request
2023-10-15 18:08:27 +02:00
Earl Warren
9cb0716425
examples/docker-compose: fix false positive
...
because of the -x the success string was always in the output and the
workflow .forgejo/workflows/example-docker-compose.yml would always
report success, even if it fails
2023-10-06 16:40:21 +02:00
Earl Warren
924748200e
run example workflow on pull_request_target as well
2023-10-06 12:22:41 +02:00
Earl Warren
b6bc471f38
upgrade tests to use v1.20.4-1
2023-10-04 14:54:42 +02:00
Earl Warren
a379783994
document the secret and how it is different from the token
2023-09-08 18:19:34 +00:00
earl-warren
7bf25c2559
Merge pull request '[FORGEJO] all containers are rootless, no suffixes' ( #74 ) from earl-warren/runner:wip-rootless into main
...
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/74
2023-08-28 10:20:25 +00:00
Earl Warren
deefb19f21
example docker compose file and test
2023-08-26 11:52:19 +02:00
Earl Warren
f2743b28da
[FORGEJO] all containers are rootless, no suffixes
2023-08-25 16:34:19 +02:00
Earl Warren
a6bb88d7c1
the binaries are published in the runner repository
2023-08-25 16:14:08 +02:00
Earl Warren
fd6764ac8e
rework the build & publish process to mimic Forgejo
2023-08-25 15:30:24 +02:00
Earl Warren
d4eb913533
[FORGEJO] use alpine 3.18
...
Refs: https://github.com/nektos/act/issues/1908
Bump Docker dependency
See https://code.forgejo.org/forgejo/act/pulls/9 for more info.
Use forked act change branch
Bump version
Use forgejo fork v1.9.0
Revert #50
Now that https://code.forgejo.org/forgejo/runner/pulls/64 has been
merged we should be good to go.
Remove pinned go version in test workflow
Bump Go version to 1.21
2023-08-23 16:03:12 +02:00
Earl Warren
5a1ea04ce8
[FORGEJO] add the create-runner-file
2023-08-23 16:03:12 +02:00
Earl Warren
e613ab40a5
[FORGEJO] workflows
2023-08-23 14:46:28 +02:00