Compare commits

..

2 commits

Author SHA1 Message Date
caf3664288
ci: init deploy
Some checks failed
ci/woodpecker/pr/deploy Pipeline is pending
ci/woodpecker/pr/checks Pipeline failed
2024-01-23 21:32:50 -05:00
c93be99485
traefik: init woodpecker 2024-01-23 21:25:10 -05:00
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
when: when:
- branch: ci-test - branch: flake-lock-update
- event: [push] - event: [pull_request]
steps: steps:
attic-push: attic-push:
@ -23,5 +23,5 @@ steps:
mkdir -p .ssh && cd .ssh mkdir -p .ssh && cd .ssh
echo "$${SSH_KEY}" > forgejo echo "$${SSH_KEY}" > forgejo
chmod 400 forgejo chmod 400 forgejo
nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no" --skip-checks --targets .#arashi .#sakura .#sora .#yuki .#haru .#kaze nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no" --skip-checks --targets .#arashi .#kariru .#sakura .#sora .#yuki .#haru .#kaze
secrets: [ssh_key, gh_pat] secrets: [ssh_key, gh_pat]

View file

@ -153,6 +153,13 @@
tls.certresolver = "production"; tls.certresolver = "production";
middlewares = "cors-allow-all"; middlewares = "cors-allow-all";
}; };
woodpecker = {
rule = "Host(`ci.flake.sh`)";
entrypoints = ["websecure"];
service = "woodpecker";
tls.domains = [{main = "*.flake.sh";}];
tls.certresolver = "production";
};
}; };
services = { services = {
forgejo.loadBalancer = { forgejo.loadBalancer = {
@ -173,6 +180,7 @@
ntfy-sh.loadBalancer.servers = [{url = "http://100.104.42.96:8090";}]; ntfy-sh.loadBalancer.servers = [{url = "http://100.104.42.96:8090";}];
attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}]; attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}];
minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}]; minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}];
woodpecker.loadBalancer.servers = [{url = "http://100.82.146.40:8200";}];
}; };
}; };
}; };