Last modified: 2013-04-03 20:18:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45084 - autoupdate the databases!
autoupdate the databases!
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on: 46569
Blocks: 46166
  Show dependency treegraph
 
Reported: 2013-02-16 21:56 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-04-03 20:18 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-02-16 21:56:42 UTC
The wmf-beta-autoupdate script does not update the database.  We would want to run update.php on all wikis.
Comment 1 Sam Reed (reedy) 2013-02-17 14:44:53 UTC
(In reply to comment #0)
> The wmf-beta-autoupdate script does not update the database.  We would want
> to
> run update.php on all wikis.

Scary.
Comment 2 Chris McMahon 2013-02-19 00:55:45 UTC
Is this a duplicate of https://bugzilla.wikimedia.org/show_bug.cgi?id=36228 but with less detail?
Comment 3 Antoine "hashar" Musso (WMF) 2013-02-19 08:26:15 UTC
Na it is unrelated :-]  This bug is about making the beta cluster to update the databases whereas bug 36228 is about detecting database modifications.
Comment 4 Chris McMahon 2013-03-14 17:46:12 UTC
Just wondering where this issue stands now
Comment 5 Antoine "hashar" Musso (WMF) 2013-03-14 18:19:25 UTC
Busy writing the job that does the database update among other things such as publishing the jenkins user key on the labs instance.
Comment 6 Antoine "hashar" Musso (WMF) 2013-03-14 22:21:55 UTC
After a furiously long day, I finally have a jenkins slave running on the deployment-bastion instance and had it connected to the master jenkins.

Ryan Lane has been very helpful in setting up all the needed permissions.
Comment 7 Antoine "hashar" Musso (WMF) 2013-03-18 20:31:15 UTC
Start by having at least ONE wiki being updated automatically.  Maybe consider reducing the number of wiki bug 46104
Comment 8 Antoine "hashar" Musso (WMF) 2013-03-19 09:37:35 UTC
For enwiki: https://gerrit.wikimedia.org/r/#/c/54635/
Comment 9 Antoine "hashar" Musso (WMF) 2013-03-19 09:38:36 UTC
And the job dashboard is http://integration.wikimedia.org/ci/job/beta-updatedb-enwiki/
Comment 10 Antoine "hashar" Musso (WMF) 2013-03-20 12:36:02 UTC
Lowering priority since the job above respond to the concern, at least for enwiki
Comment 11 Antoine "hashar" Musso (WMF) 2013-03-26 16:18:23 UTC
I have created a multi-configuration job named `beta-update-databases`.  It is a bit hacky.

A label expression restrict the run on any slave that has the label 'betacluster'.

A user defined entry list the wiki database names which are then passed to update.php :)
Comment 12 Antoine "hashar" Musso (WMF) 2013-03-26 16:27:16 UTC
Example build: https://integration.wikimedia.org/ci/job/beta-update-databases/15/
Comment 13 Antoine "hashar" Musso (WMF) 2013-03-26 20:30:48 UTC
The job is converted to JJB with https://gerrit.wikimedia.org/r/55949 (which in turns require bug 46569 to be solved).
Comment 14 Antoine "hashar" Musso (WMF) 2013-04-03 20:18:49 UTC
The upstream change to Jenkins job Builder has been merged (was bug 46569).  

The job dashboard is available at:

https://integration.wikimedia.org/ci/job/beta-update-databases/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links