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>Dzahn
(replace tin with deploy1001)
imported>Dzahn
(== Was the scholarships app removed? == Yes, it was shut down on 2021-11-15 as part of phab:T243037.)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== What is scholarships? ==
{{Historical}}
 
== What was scholarships? ==


Wikimania scholarship application and review tools. See [[:mw:Wikimania_Scholarships_app|Wikimania Scholarships app]] for details.
Wikimania scholarship application and review tools. See [[:mw:Wikimania_Scholarships_app|Wikimania Scholarships app]] for details.
Line 12: Line 14:


== Where does it run? ==
== 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.
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 cache_text cluster. The scholarships database is served from db1048.eqiad.wmnet.


== Where's the code? ==
== Where's the code? ==
Line 35: Line 37:
$ scap deploy --verbose "message describing the deployment that will be !log'ed'"
$ scap deploy --verbose "message describing the deployment that will be !log'ed'"
</pre>
</pre>
TODO: explain applying db migrations and typical steps to reset state for a new year of applications


== Where are the logs? ==
== Where are the logs? ==
Logs are written to [[mwlog1001]] in the /srv/mw-log/scholarships.log file by [[Udp2log]]
Logs are written to [[mwlog1001]] in the /srv/mw-log/scholarships.log file by [[Udp2log]]


== Was the scholarships app removed? ==
Yes, it was shut down on 2021-11-15 as part of [[phab:T243037]].


[[Category:Services]]
[[Category:Services]]

Revision as of 21:31, 15 November 2021

What was 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 cache_text 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 Deploy1001

$ ssh deploy1001.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'"

TODO: explain applying db migrations and typical steps to reset state for a new year of applications

Where are the logs?

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

Was the scholarships app removed?

Yes, it was shut down on 2021-11-15 as part of phab:T243037.