Earl Warren
8032f11e05
fix: unify data.forgejo.org/forgejo/forgejo-build-publish ( #613 )
...
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/613
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-06-14 15:48:35 +00:00
Earl Warren
c4c0ca0b43
fix: use v11 for the docker-compose example ( #542 )
...
It matters because /bin/s6-svscan changed to /usr/bin/s6-svscan from v10 to v11 and it would fail in a confusing way if the admin tries to upgrade from v9 to v11.
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/542
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-04-18 08:14:31 +00:00
Renovate Bot
dc1bf28529
Update https://data.forgejo.org/actions/setup-forgejo action to v2.0.11 ( #521 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [https://data.forgejo.org/actions/setup-forgejo ](https://code.forgejo.org/actions/setup-forgejo ) | action | patch | `v2.0.10` -> `v2.0.11` |
---
### Release Notes
<details>
<summary>actions/setup-forgejo (https://data.forgejo.org/actions/setup-forgejo )</summary>
### [`v2.0.11`](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.10...v2.0.11 )
[Compare Source](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.10...v2.0.11 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/521
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-26 07:57:33 +00:00
Earl Warren
f8c98d141c
fix: lxc-systemd: upgrade using a URL instead of a version [skip cascade] ( #520 )
...
It is common to install a version from a branch or a fork. Change the upgrade to be a URL instead of a version number for simplicity.
Fix a bug by which the lxc-helpers and the runner are upgraded but not the script itself.
Increase the service unit timeout when stopping the runner: it may take up to three hours.
Adapt the tests accordingly.
Fixes https://code.forgejo.org/forgejo/runner/issues/510
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/520
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-03-25 22:45:49 +00:00
Renovate Bot
e037d25097
Update https://data.forgejo.org/forgejo/forgejo-build-publish action to v5.3.4 ( #512 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [https://data.forgejo.org/forgejo/forgejo-build-publish ](https://data.forgejo.org/forgejo/forgejo-build-publish ) | action | patch | `v5.3.1` -> `v5.3.4` |
---
### Release Notes
<details>
<summary>forgejo/forgejo-build-publish (https://data.forgejo.org/forgejo/forgejo-build-publish )</summary>
### [`v5.3.4`](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.3...v5.3.4 )
[Compare Source](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.3...v5.3.4 )
### [`v5.3.3`](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.2...v5.3.3 )
[Compare Source](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.2...v5.3.3 )
### [`v5.3.2`](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.1...v5.3.2 )
[Compare Source](https://data.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.1...v5.3.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/512
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-24 06:46:00 +00:00
Renovate Bot
a93cee66bb
Update https://data.forgejo.org/actions/setup-forgejo action to v2.0.10 ( #508 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [https://data.forgejo.org/actions/setup-forgejo ](https://code.forgejo.org/actions/setup-forgejo ) | action | patch | `v2.0.7` -> `v2.0.10` |
| [https://data.forgejo.org/actions/setup-forgejo ](https://code.forgejo.org/actions/setup-forgejo ) | action | patch | `v2.0.6` -> `v2.0.10` |
---
### Release Notes
<details>
<summary>actions/setup-forgejo (https://data.forgejo.org/actions/setup-forgejo )</summary>
### [`v2.0.10`](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.9...v2.0.10 )
[Compare Source](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.9...v2.0.10 )
### [`v2.0.9`](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.8...v2.0.9 )
[Compare Source](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.8...v2.0.9 )
### [`v2.0.8`](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.7...v2.0.8 )
[Compare Source](https://code.forgejo.org/actions/setup-forgejo/compare/v2.0.7...v2.0.8 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/508
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-23 07:19:18 +00:00
Renovate Bot
4712ab6bf1
Update https://code.forgejo.org/forgejo/forgejo-build-publish action to v5.3.4 ( #492 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [https://code.forgejo.org/forgejo/forgejo-build-publish ](https://code.forgejo.org/forgejo/forgejo-build-publish ) | action | patch | `v5.3.1` -> `v5.3.4` |
---
### Release Notes
<details>
<summary>forgejo/forgejo-build-publish (https://code.forgejo.org/forgejo/forgejo-build-publish )</summary>
### [`v5.3.4`](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.3...v5.3.4 )
[Compare Source](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.3...v5.3.4 )
### [`v5.3.3`](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.2...v5.3.3 )
[Compare Source](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.2...v5.3.3 )
### [`v5.3.2`](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.1...v5.3.2 )
[Compare Source](https://code.forgejo.org/forgejo/forgejo-build-publish/compare/v5.3.1...v5.3.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzguMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/492
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-22 13:41:02 +00:00
Earl Warren
74dc687c1d
chore(ci): no complaints if the Go version is higher than required ( #490 )
...
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/490
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-02-25 09:47:45 +00:00
Earl Warren
5df67e66fe
feat: add upgrade to forgejo-runner-service.sh ( #475 )
...
for the purpose of indirectly upgrading lxc-helpers if a newer version is needed. Otherwise it has to be done manually and can easily be overlooked.
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/475
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 19:37:17 +00:00
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