You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Scholarships.wikimedia.org: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>BryanDavis
imported>BryanDavis
(→‎How is it deployed?: scap3, not trebuchet)
Line 26: Line 26:


== How is it deployed? ==
== How is it deployed? ==
Deployment is managed with [[Trebuchet]] from the /srv/deployment/scholarships/scholarships directory on [[Tin]]
Deployment is managed with [[Scap3]] from the /srv/deployment/scholarships/scholarships directory on [[Tin]]


<pre>
<pre>
Line 33: Line 33:
$ get fetch origin
$ get fetch origin
$ git rebase origin/master
$ git rebase origin/master
$ scap deploy --verbose '!log message describing the deployment'
$ scap deploy --verbose "message describing the deployment that will be !log'ed'"
</pre>
</pre>



Revision as of 16:14, 21 February 2018

What is scholarships?

Wikimania scholarship application and review tools. See Wikimania Scholarships app for details.

How do i access it?

https://scholarships.wikimedia.org/

Where should i report issues?

Bugs are tracked in phabricator.

Where does it run?

The PHP application is deployed in an Apache vhost on krypton in the eqiad datacenter. SSL termination and front-end cache is provided by the misc varnish cluster. The scholarships database is served from db1048.eqiad.wmnet.

Where's the code?

Application
Code is hosted locally in gerrit and git
Configuration
The application is configured in the operations/puppet repo:
  • modules/wikimania_scholarships
  • manifests/role/wikimania_scholarships.pp
  • manifests/misc/deployment.pp
  • templates/varnish/misc.inc.vcl.erb
Usernames and passwords are managed via the passwords::mysql::wikimania_scholarships class in the private puppet repository.

How is it deployed?

Deployment is managed with Scap3 from the /srv/deployment/scholarships/scholarships directory on Tin

$ ssh tin.eqiad.wmnet
$ cd /srv/deployment/scholarships/scholarships
$ get fetch origin
$ git rebase origin/master
$ scap deploy --verbose "message describing the deployment that will be !log'ed'"

Where are the logs?

Logs are written to mwlog1001 in the /srv/mw-log/scholarships.log file by Udp2log