.. | ||
act-runner.md | ||
delete-repo.sh | ||
docker-compose-gitea.yml | ||
gitea-debugging.md | ||
initialize-gitea.sh | ||
migrate-repo.sh | ||
README.md | ||
run-this-first.sh |
Deployment Notes
Gitea
Build gitea/act_runner Docker Container
- To build the
act_runner
container from Gitea, in another directory run:
git clone https://gitea.com/gitea/act_runner
cd act_runner
docker build -t cerc/act-runner:local .
Deploy Gitea Stack
cd ./gitea
- Build the task executor container:
docker build -t cerc/act-runner-task-executor:local -f Dockerfile.task-executor .
- Run the script
./run-this-first.sh
- Bring up the gitea cluster
docker compose up -d
- Run the script
./initialize-gitea.sh
- Note the access token printed, it will be needed to publish packages.
Debugging
Gitea server logs can be seen via docker logs . To enable more verbose log output add an environment variable definition like:
GITEA__log__LEVEL=TRACE
to the server
definition in docker-compose.yml
and re-start.
Details on how to setup remote debugging of the gitea server inside its container can be found here.
Action Runners
A Dockerized action runner is deployed by default for the labels ubuntu-latest
and ubuntu-22.04
. Details on deploying
additional runners can be found here.