Commit graph

17 commits

Author SHA1 Message Date
ac39fa2006 hailmary commit 2024-12-27 23:20:38 +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
1e466136c9 update tests 2024-12-26 00:03:48 +00:00
e9634ef5fb Env-to-config works 2024-12-25 23:46:40 +00:00
Merith
7d611fc32a work around env file not loaded 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
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