Infrasturcure as code for salsa-ci-stats.debian.net
To deploy, simply run:
ansible-playbook --verbose --diff deploy.yml
Currently some parts of the Nginx and Certbot configuration are not automated in Ansible. Relevant manual commands to be aware of:
# View enabled Nginx sites
ls -la /etc/nginx/sites-enabled/
# Validate Nginx settings without reloading service
sudo nginx -t
# Reload Nginx
sudo systemctl reload nginx
# Activate Certbot
sudo certbot certonly --nginx -d salsa-ci-stats.debian.net
See https://wiki.debian.org/DebianNetDomains and https://wiki.debian.org/DebianDotNet
The name of the service was at launch salsa-status.debian.net as the creators had an vision of including all kinds of information about Salsa.debian.org, but it didn't get traction and collaborators, so the plan was scaled down.
See backend/.
See frontend/.
Salsa CI room: #salsaci:matrix.debian.social