git.fogtype.com 用 Drone Server & Runner https://gamma.fogtype.com
This repository has been archived on 2024-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Kohei Watanabe cf89c9d217
Some checks reported errors
continuous-integration/drone/push Build encountered an error
ci: docker info (実験)
2022-12-27 00:13:45 +09:00
etc setup drone server 2022-12-26 22:56:37 +09:00
.drone.yml ci: docker info (実験) 2022-12-27 00:13:45 +09:00
.env.example add caddy service 2022-12-27 00:12:21 +09:00
.gitignore setup drone server 2022-12-26 22:56:37 +09:00
ansible.cfg create γ project 2022-12-26 00:25:28 +09:00
compose.yml add caddy service 2022-12-27 00:12:21 +09:00
README.md setup drone runner 2022-12-26 23:39:15 +09:00
setup.yml setup drone server 2022-12-26 22:56:37 +09:00

γ

git.fogtype.com 用 Drone Server & Runner

Setup

sudo apt install ansible docker-ce
ansible-playbook setup.yml

詳しい構成は setup.yml を参照

Drone Server & Runner

Gitea への導入
https://docs.drone.io/server/provider/gitea/
項目
Application Name gamma
Redirect URI https://gamma.fogtype.com/login
install -m 600 .env{.example,}
echo DRONE_RPC_SECRET=$(openssl rand -hex 16) >> .env
# .envファイルに適切な設定をする

Deploy

docker context create --docker=host=ssh://ubuntu@gamma.fogtype.com gamma
docker context use gamma
docker compose up -d