Noc.wikimedia.org
From Wikitech
(Difference between revisions)
(add path in mediawiki-config.git (docroot/noc)) |
(→How to edit?: PLAIN GIT PULL IS EVIL, USE WITH --FF-ONLY PLZ & TY) |
||
| Line 7: | Line 7: | ||
# use the <tt>operations/mediawiki-config.git</tt> repository | # use the <tt>operations/mediawiki-config.git</tt> repository | ||
# edit files under <tt>docroot/noc/</tt> and submit your change in Gerrit to merge your modification. | # edit files under <tt>docroot/noc/</tt> and submit your change in Gerrit to merge your modification. | ||
| − | # on [[fenari]] host go to <tt>/h/w/common/docroot/noc</tt> and <tt>git pull</tt> | + | # on [[fenari]] host go to <tt>/h/w/common/docroot/noc</tt> and <tt>git pull --ff-only</tt> |
# Change is live since files are served from NFS | # Change is live since files are served from NFS | ||
# restart Apache on fenari if necessary | # restart Apache on fenari if necessary | ||
Latest revision as of 23:29, 10 November 2012
noc.wikimedia.org contains public copies of our configuration files, it runs on fenari.
It also hosts some of the user public files, in the form of noc.wikimedia.org/~username.
[edit] How to edit?
- use the operations/mediawiki-config.git repository
- edit files under docroot/noc/ and submit your change in Gerrit to merge your modification.
- on fenari host go to /h/w/common/docroot/noc and git pull --ff-only
- Change is live since files are served from NFS
- restart Apache on fenari if necessary
noc. is just hosted on fenari itself, not the cluster so you DO NOT NEED to run sync-common. Changes are instantly live.
The whole Apache config etc. is still in operations/puppet.git /manifests/misc-servers.pp , class misc::noc-wikimedia
[edit] External links
- https://noc.wikimedia.org
- Gerrit repositories for the files: