hosting/gitea/README.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

## Deployment Notes
2022-11-19 02:34:41 +00:00
### 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
2024-03-28 15:27:43 +00:00
1. `cd ../act-runner`
1. Build the task executor container: `docker build -t cerc/act-runner-task-executor:local -f Dockerfile.task-executor .`
2024-03-28 15:27:43 +00:00
1. `cd ../gitea`
2023-02-17 16:20:41 +00:00
1. Run the script `./run-this-first.sh`
1. Bring up the gitea cluster `docker compose up -d`
1. Run the script `./initialize-gitea.sh`
1. Note the access token printed, it will be needed to publish packages.
2023-05-24 18:12:20 +00:00
#### Debugging
Gitea server logs can be seen via docker logs <container-id>.
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.
2023-06-22 14:15:59 +00:00
Details on how to setup remote debugging of the gitea server inside its container can be found [here](gitea-debugging.md).
2023-10-17 21:01:07 +00:00
#### Action Runners
2023-10-17 21:04:06 +00:00
A Dockerized action runner is deployed by default for the labels `ubuntu-latest` and `ubuntu-22.04`. Details on deploying
2024-03-28 15:27:43 +00:00
additional runners can be found [here](act-runner.md).