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
nebel 94388f1645
All checks were successful
continuous-integration/drone/push Build is passing
create custom trigger
2022-12-27 09:23:08 +09:00
etc setup drone server 2022-12-26 22:56:37 +09:00
.drone.yml create custom trigger 2022-12-27 09:23:08 +09:00
.env.example set DRONE_USER_CREATE 2022-12-27 00:24:07 +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 DRONE_CRON_INTERVAL=1m 2022-12-27 02:13:23 +09:00
README.md 'README.md' を更新 2022-12-27 02:52:56 +09:00
renovate.json configure renovate 2022-12-27 09:03:58 +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
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