Earl Warren
624b47bc2f
chore(ci): skip cascade if [skip cascade] is found in the PR title ( #476 )
...
When there are multiple PRs in flight, using a var to disable the cascading PR that eventually runs the end to end tests (for instance because the change is about examples) is error prone.
Allowing each pull request to indivudually decide when it is relevant or not is more practical and fine grain.
## Testing
Using [an extra commit](1b8949ed3a
) for debuging:
- https://code.forgejo.org/forgejo/runner/actions/runs/3328 skips the cascade on this PR
- https://code.forgejo.org/forgejo/runner/actions/runs/3326 tries to run the cascade on this PR (and fails because it does not have secrets) because `[skip ZZ cascade]` is set in the title
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/476
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-30 15:23:22 +00:00
Earl Warren
70154d2b7d
chore(ci): only run tests on the examples when they are modified ( #463 )
...
Save CPU horsepower.
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/463
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-28 15:39:43 +00:00
Earl Warren
0232fe1255
fix: forgejo-runner-service.sh config.yml must point to the cache
...
It is not the default $HOME/.cache/actcache and must be set in
config.yml otherwise it won't be used.
2025-01-27 12:39:58 +01:00
Earl Warren
5f92ffdbc6
feat: systemd unit example for managing LXC containers ( #451 )
...
Refs: https://code.forgejo.org/forgejo/runner/issues/450
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/451
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-25 12:24:31 +00:00
Earl Warren
94f94a56d4
chore(release): migrate to invisible.forgejo.org ( #444 )
...
Also move all non-secret variables to `vars` so that they are easier
to maintain. The workflow was designed back when Forgejo Actions
variables did not exist.
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/444
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-22 10:35:09 +00:00
Renovate Bot
6de32c5c61
Update actions/setup-forgejo action to v2.0.6
2025-01-16 00:02:14 +00:00
Earl Warren
6567e23ca0
fix: upgrade forgejo-build-publish/build@v5.3.1
...
So that it does not use docker.io
2025-01-15 16:00:11 +01:00
Earl Warren
ee7b68842d
fix: use data.forgejo.org/oci
...
Otherwise it may get rate limited in the CI verifying it works
2025-01-15 14:44:16 +01:00
Renovate Bot
cd63166f34
Update actions/setup-forgejo action to v2.0.5
2025-01-12 00:01:33 +00:00
Renovate Bot
53f8b6f0bb
Update forgejo/forgejo-build-publish action to v5.3.0
2025-01-07 00:01:08 +00:00
Renovate Bot
6901b83a9d
Update actions/cascading-pr action to v2
2024-12-17 14:31:19 +00:00
viceice
44227666ba
ci: add explicit url
...
Signed-off-by: viceice <michael.kriese@gmx.de>
2024-12-17 08:17:29 +00:00
Renovate Bot
521e3f1188
Replace actions/cascading-pr action with actions/cascading-pr v1.0.1
2024-12-17 08:00:55 +00:00
Renovate Bot
bfc83035a6
Update forgejo/forgejo-build-publish action to v5.2.1
2024-12-17 06:32:58 +00:00
Earl Warren
477e949997
chore(release): fix the link to the release notes
2024-12-14 04:31:06 +01:00
Renovate Bot
f351e7a7b1
Update dependency forgejo-lxc to v12
2024-12-09 14:31:33 +00:00
Renovate Bot
81422b4515
Update actions/setup-forgejo action to v2
2024-12-07 15:00:54 +00:00
Michael Kriese
191259d7c3
ci: pin setup forgejo action
2024-12-07 14:23:22 +01:00
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
Kwonunn
20915dc1bf
chore: add issue templates
2024-10-19 14:59:29 +02: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
d2f408d683
[FORGEJO] allow pull requests to cascade
2023-11-04 14:16:43 +01:00