staging: Migrate deposit to dynamic infra
This makes the reverse proxy use the deposit within the dynamic infra as backend for the public deposit.staging.swh.network entry.
This matches what has been done manually as a tryout (with success now).
swh-octo-diff rp0
*** Running octocatalog-diff on host rp0.internal.staging.swh.network
I, [2023-11-27T15:06:09.829138 #755029] INFO -- : Catalogs compiled for rp0.internal.staging.swh.network
I, [2023-11-27T15:06:10.124710 #755029] INFO -- : Diffs computed for rp0.internal.staging.swh.network
diff origin/production/rp0.internal.staging.swh.network current/rp0.internal.staging.swh.network
*******************************************
File[/etc/varnish/includes/01_deposit.vcl] =>
parameters =>
content =>
@@ -7,5 +7,5 @@
backend deposit
{
- .host = "deposit.internal.staging.swh.network";
- .port = "9080";
+ .host = "deposit-dynamic.internal.staging.swh.network";
+ .port = "80";
}
*******************************************
Profile::Varnish::Vcl_include[deposit] =>
parameters =>
content =>
@@ -7,5 +7,5 @@
backend deposit
{
- .host = "deposit.internal.staging.swh.network";
- .port = "9080";
+ .host = "deposit-dynamic.internal.staging.swh.network";
+ .port = "80";
}
*******************************************
Profile::Varnish::Vhost[deposit.staging.swh.network] =>
parameters =>
backend_http_host =>
- deposit.internal.staging.swh.network
+ deposit-dynamic.internal.staging.swh.network
backend_http_port =>
- 9080
+ 80
*******************************************
Varnish::Vcl[/etc/varnish/includes/01_deposit.vcl] =>
parameters =>
content =>
@@ -7,5 +7,5 @@
backend deposit
{
- .host = "deposit.internal.staging.swh.network";
- .port = "9080";
+ .host = "deposit-dynamic.internal.staging.swh.network";
+ .port = "80";
}
*******************************************
*** End octocatalog-diff on rp0.internal.staging.swh.network
+ set +x
/home/tony/work/inria/repo/swh/puppet-environment/swh-site
Edited by Antoine R. Dumont