Page MenuHomeSoftware Heritage

Add staging reverse proxy role
ClosedPublic

Authored by ardumont on Nov 5 2020, 7:50 PM.

Details

Summary

(worked pairing with @vsellier)

This now declares the following roles and deploys them accordingly (this does
not change anything in production):

  • swh_rp_webapp: webapp with reverse proxy (deployed on node webapp0.azure)
  • swh_rp_webapps: webapp and deposit with reverse proxy behavior (deployed on node moma)
  • swh_webapp: only webapp service (deployed on node webapp.staging)
  • swh_deposit: only deposit service (deploy on node deposit.staging)

Related to T2747#52193 (<- drawings in there)

Test Plan
  • bin/octocatalog-diff on moma/webapp0: nothing changes expectedly
  • vagrant up staging-webapp (webapp installed no rp)
  • vagrant up staging-deposit (deposit installed no rp)
  • vagrant up staging-rp0 (reverse proxy installed)

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Nov 6 2020, 10:32 AM
manifests/site.pp
164

Already defined in the scaffolding inheritance we use.