ReleaseEngineering/How To/Update a Releng Cluster Site: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "{{Release Engineering How To|Update a Releng Cluster Site}} All of our sites are hosted using the webops model. To update, the general process is: * login as root on relengwe...")
 
(Add the additional detail that used to be on Update_TryChooser)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Release Engineering How To|Update a Releng Cluster Site}}
{{Release Engineering How To|Update a Releng Cluster Site}}
{{Release Engineering Deployment|Releng Cluster Site (generic)}}
All of our sites are hosted using the webops model.
All of our sites are hosted using the webops model.


To update, the general process is:
To update, the general process is:
* login as root on relengwebadm
* Check you have VPN access to relengwebadm & your SSH config has the username and SSH key set correctly.
* cd to /data/releng-stage/src/$site for staging, or /data/releng/src/$site for production
* Connect to the MozillaVPN (skip if you have set up the jumphost in your SSH config).
* read the README.txt in that directory
* $ ssh relengwebadm.private.scl3.mozilla.com
* run the ./update script in that directory as directed (sometimes it takes a revision, sometimes you edit requirements.txt, etc.)
* $ sudo -i
* cd to ''/data/releng-stage/src/$site'' for staging, or ''/data/releng/src/$site'' for production
* Read the README.txt in that directory
* Run the ./update script in that directory as directed (sometimes it takes a revision, sometimes you edit requirements.txt, etc.)


Note that not all of our sites have staging instances, but where one exists, it's best to verify your changes there before doing production.
Note that not all of our sites have staging instances, but where one exists, it's best to verify your changes there before doing production.

Latest revision as of 10:20, 27 February 2015


All of our sites are hosted using the webops model.

To update, the general process is:

  • Check you have VPN access to relengwebadm & your SSH config has the username and SSH key set correctly.
  • Connect to the MozillaVPN (skip if you have set up the jumphost in your SSH config).
  • $ ssh relengwebadm.private.scl3.mozilla.com
  • $ sudo -i
  • cd to /data/releng-stage/src/$site for staging, or /data/releng/src/$site for production
  • Read the README.txt in that directory
  • Run the ./update script in that directory as directed (sometimes it takes a revision, sometimes you edit requirements.txt, etc.)

Note that not all of our sites have staging instances, but where one exists, it's best to verify your changes there before doing production.