Commit graph

599 commits

Author SHA1 Message Date
8f9e81272e add some names to the demo workflow 2024-12-28 00:41:22 +00:00
28568735d3 restore links, set ubuntu-22.04 runner label 2024-12-28 00:28:17 +00:00
93beacdfe6 Revert "docker networking, force local network"
This reverts commit 80ad55ad56.
2024-12-27 23:42:08 +00:00
80ad55ad56 docker networking, force local network 2024-12-27 23:32:31 +00:00
ac39fa2006 hailmary commit 2024-12-27 23:20:38 +00:00
fb8d824fd8 BEGONE: LINKS 2024-12-27 02:06:50 +00:00
f49abe6713 finally working?
I just nuked the env-init...
2024-12-27 01:54:36 +00:00
048450dee9 current state: Not Working... at all
I was tweaking the entrypoint and now its like it just randomly drops env-vars or fails to read them *no reason* despite them being confirmed to exist via other methods (manual running of commands within container, sanity checking in the entrypoint)
2024-12-26 18:15:54 +00:00
c7098ae0f6 getting there... 2024-12-26 01:00:01 +00:00
8fa6e368c4 tweak tests 2024-12-26 00:43:39 +00:00
709e1518d6 update tests 2024-12-26 00:26:24 +00:00
1e466136c9 update tests 2024-12-26 00:03:48 +00:00
e9634ef5fb Env-to-config works 2024-12-25 23:46:40 +00:00
676f16b16a commit current env2var work 2024-12-25 22:58:57 +00:00
Merith
7d611fc32a work around env file not loaded 2024-12-25 20:12:42 +00:00
c6401d5197 force perms on /srv/runner-data 2024-12-25 20:12:42 +00:00
Merith
38a43e67ed pass tests, allow drop in replacement
restore original variables
update to include privileged variable
treat `command` as a command and not an argument to entrypoint
2024-12-25 20:12:42 +00:00
Merith
27bbc83fed dont use root-user by default 2024-12-25 20:12:42 +00:00
b165aeab81 I guess it works now
sorry for the unprofessional commit message, I have been working on this effectively non-stop since the previous commit, and have been fighting docker networking being inconsistent as well as filepermisson issues,

end me
2024-12-25 20:12:42 +00:00
485cde5568 echo, not secho 2024-12-25 20:12:42 +00:00
Merith
9252e5d667 remove rootless dockerfile, updatedate entrypoint, update docker compose
Removed the rootless dockerfile as upon further investigation into how a `rootless` container works, the entrypoint that has been written fully accomodates that

to reflect this the compose file has had the rootless config removed from it as it is no longer needed to test a seperate container image,

added a debug echo function `decho` to the entrypoint, when `DEBUG=true` it will print "[entrypoint] message content"

added a 10 second wait to the entrypoint to allow other services such as docker-in-docker and forgejo to finish launching before the runner is launched, this is bypassable by `SKIP_WAIT=true`

applied several modifications requested by viceice,
2024-12-25 20:12:42 +00:00
Merith
2cf2bdeb75 revert changes to workflow 2024-12-25 20:12:42 +00:00
Merith
b13eec8fde disabled TLS in example,
not needed for a closed docker network
2024-12-25 20:12:42 +00:00
Merith
ba8fc919ec update entrypoint and dockerfile, fix test workflow
update dockerfile,

rework entrypoint execution,

update compose and test
2024-12-25 20:12:40 +00:00
Merith
2b990ce240 push example docker-compose for runner and forgejo 2024-12-25 20:11:51 +00:00
Merith
a8066c365e add a root-user check, clean up some formatting 2024-12-25 20:11:51 +00:00
Merith
6308afc42e address dockerfile feedback, further work on entrypoint 2024-12-25 20:11:51 +00:00
db1f675e50 basic entrypoint, automatic registration of runner works 2024-12-25 20:11:51 +00:00
earl-warren
64df715d73 Merge pull request 'Update module google.golang.org/protobuf to v1.36.1' (#397) from renovate/google.golang.org-protobuf-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/397
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-24 11:20:20 +00:00
Renovate Bot
b5ce1ccb8a
Update module google.golang.org/protobuf to v1.36.1 2024-12-24 00:02:25 +00:00
earl-warren
45f9c1f948 Merge pull request 'Update actions/cascading-pr action to v2' (#395) from renovate/actions-cascading-pr-2.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/395
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-18 07:44:17 +00:00
Renovate Bot
6901b83a9d
Update actions/cascading-pr action to v2 2024-12-17 14:31:19 +00:00
Michael Kriese
3ee89c08b5 Merge pull request 'Replace actions/cascading-pr action with actions/cascading-pr v1.0.1' (#394) from renovate/actions-cascading-pr-replacement into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/394
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-17 09:57:48 +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
earl-warren
227c2b2dc1 Merge pull request 'Update forgejo/forgejo-build-publish action to v5.2.1' (#393) from renovate/forgejo-forgejo-build-publish-5.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/393
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-17 06:37:02 +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
95a8d9530e Merge pull request 'Update module google.golang.org/protobuf to v1.36.0' (#392) from renovate/google.golang.org-protobuf-1.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/392
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-17 05:46:19 +00:00
Renovate Bot
24210fe55d
Update module google.golang.org/protobuf to v1.36.0 2024-12-17 00:02:07 +00:00
earl-warren
c9265044b5 Merge pull request 'Rebrand container prefix to Forgejo' (#377) from fnetx/rebrand-prefix into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/377
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-15 07:42:00 +00:00
earl-warren
f1b80e2e99 Merge pull request 'chore(release): fix the link to the release notes' (#391) from earl-warren/runner:wip-release into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/391
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-15 07:41:24 +00:00
Earl Warren
477e949997
chore(release): fix the link to the release notes 2024-12-14 04:31:06 +01:00
earl-warren
5a14247c19 Merge pull request 'feat: use FORGEJO_TOKEN as runtime token' (#389) from xtex/runner:forgejo-token into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/389
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-14 03:30:03 +00:00
xtex
3068bebfcb
feat: use FORGEJO_TOKEN as runtime token
Link: https://codeberg.org/forgejo/forgejo/pulls/6199
2024-12-13 20:24:01 +08:00
Otto Richter
a2ce5d9f8b
Rebrand container prefix to Forgejo 2024-12-09 16:21:04 +01:00
Michael Kriese
e238532feb Merge pull request 'Update dependency forgejo-lxc to v12' (#373) from renovate/forgejo-lxc-12.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/373
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-09 15:19:48 +00:00
Renovate Bot
f351e7a7b1
Update dependency forgejo-lxc to v12 2024-12-09 14:31:33 +00:00
earl-warren
f5087573da Merge pull request 'Update actions/setup-forgejo action to v2' (#374) from renovate/actions-setup-forgejo-2.x into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/374
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-09 09:36:28 +00:00
Renovate Bot
81422b4515
Update actions/setup-forgejo action to v2 2024-12-07 15:00:54 +00:00
Michael Kriese
3f8cadc0fe Merge pull request 'ci: pin setup forgejo action' (#372) from ci/pin-setuo-forgejo-action into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/372
2024-12-07 14:10:03 +00:00