Page MenuHomePhabricator

autoupdate the databases!
Closed, ResolvedPublic

Description

The wmf-beta-autoupdate script does not update the database. We would want to run update.php on all wikis.


Version: unspecified
Severity: normal

Details

Reference
bz45084

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:33 AM
bzimport set Reference to bz45084.

(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.

Na it is unrelated :-] This bug is about making the beta cluster to update the databases whereas bug 36228 is about detecting database modifications.

Just wondering where this issue stands now

Busy writing the job that does the database update among other things such as publishing the jenkins user key on the labs instance.

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.

Start by having at least ONE wiki being updated automatically. Maybe consider reducing the number of wiki bug 46104

Lowering priority since the job above respond to the concern, at least for enwiki

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 :)

The job is converted to JJB with https://gerrit.wikimedia.org/r/55949 (which in turns require bug 46569 to be solved).

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/