Jump to content

Obsolete:Deployment-prep/Documentation

From Wikitech

The deployment-prep Cloud VPS project, commonly known as the Beta Cluster, aims to provide a staging area that resembles the Wikimedia production environment. It runs MediaWiki and extensions from their master branch, allowing developers and power users to test new code before it goes live on Wikimedia websites.

When setting up new instances, please see the instructions for using our local puppetmaster for a list of small changes to make to your instance's puppet configuration.

Blocking

Blocking an abusing IP can be done by adding them to the abuse_networks:blocked_nets:networks Hiera configuration at https://horizon.wikimedia.org/project/puppet/ (context: task T389181).

To ensure the Hiera change is picked up quickly, check the varnish server deployment-cache-text*:

  • Check /etc/varnish/blocked-nets.inc.vcl to ensure your changes are present, if not run puppet: sudo puppet agent -tv
  • Reload the varnish frontend sudo systemctl reload varnish-frontend

following may be outdated: