hosting/gitea
2023-05-24 12:12:20 -06:00
..
config Mount an anonymous volume at /var/lib/docker 2023-04-21 13:05:25 -06:00
delete-repo.sh Repo management scripts 2023-05-01 13:23:32 -06:00
docker-compose.yml Update to gitea 1.19.3 2023-05-10 16:31:39 -06:00
Dockerfile.task-executor Update for latest act_runner. (#29) 2023-04-11 15:04:59 -05:00
initialize-gitea.sh Add explicit package scope to token 2023-05-22 13:41:37 -06:00
migrate-repo.sh Repo management scripts 2023-05-01 13:23:32 -06:00
README.md Add note on debugging 2023-05-24 12:12:20 -06:00
run-this-first.sh Fix directory name 2023-04-08 16:55:23 -06:00

Deployment Notes

Gitea

Build gitea/act_runner Docker Container

  1. 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

  1. cd ./gitea
  2. Build the task executor container: docker build -t cerc/act-runner-task-executor:local -f Dockerfile.task-executor .
  3. Run the script ./run-this-first.sh
  4. Bring up the gitea cluster docker compose up -d
  5. Run the script ./initialize-gitea.sh
  6. 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.