ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
49 stars 29 forks source link

Document deployment of ooni/backend stuff #750

Open hellais opened 11 months ago

hellais commented 11 months ago

From slack:

cat deployer.ini
[environment]
badges_path = /var/www/package_badges
deb_packages = ooni-api fastpath analysis detector ooni-stun
stages = test hel prod

[stage:alpha]
hosts = localhost

[stage:test]
hosts = ams-pg-test.ooni.org

[stage:hel]
hosts = backend-hel.ooni.org

[stage:prod]
hosts = backend-fsn.ooni.org

@FedericoCeratto: you can create this file in the backend repo for example the deploy tool it's just a very thin helper on top of ssh and apt-get it will walk backwards until it finds a deployer.ini file in order to support files in the home dir as well as in the local repo or subdirectory the closer one to your current directory wins it could be committed in the backed repo now that everything is in one repo