WIP: wip-entrypoint #2

Draft
merith-tk wants to merge 18 commits from wip-entrypoint into main
Owner
No description provided.
merith-tk added 17 commits 2024-09-28 18:56:51 +01:00
update dockerfile,

rework entrypoint execution,

update compose and test
not needed for a closed docker network
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,
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
Docker treats "command" as an agument to an entrypoint if it exists, now the entrypoint runs arguments as if they were a command
restore original variables
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Failing after 7s
/ example-docker-compose (pull_request) Failing after 1s
/ cascade (pull_request) Failing after 35s
checks / build and test (pull_request) Failing after 1m8s
checks / runner exec tests (pull_request) Has been skipped
f91070ea56
merith-tk added 1 commit 2024-09-28 19:08:29 +01:00
update to include privileged variable
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Failing after 2s
/ example-docker-compose (pull_request) Failing after 1s
/ cascade (pull_request) Failing after 8s
checks / build and test (pull_request) Failing after 34s
checks / runner exec tests (pull_request) Has been skipped
ae1e54a796
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Failing after 2s
/ example-docker-compose (pull_request) Failing after 1s
/ cascade (pull_request) Failing after 8s
checks / build and test (pull_request) Failing after 34s
checks / runner exec tests (pull_request) Has been skipped
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin wip-entrypoint:wip-entrypoint
git checkout wip-entrypoint

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff wip-entrypoint
git checkout wip-entrypoint
git rebase main
git checkout main
git merge --ff-only wip-entrypoint
git checkout wip-entrypoint
git rebase main
git checkout main
git merge --no-ff wip-entrypoint
git checkout main
git merge --squash wip-entrypoint
git checkout main
git merge --ff-only wip-entrypoint
git checkout main
git merge wip-entrypoint
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: merith-tk/forgejo-runner#2
No description provided.