Page MenuHomePhabricator

Automate CI to build upstream code from main branches
Closed, DeclinedPublicSpike

Description

Goals:

  • respond as quick as possible to mw releases i.e. invest the least time into getting a wbSuite release out after a mw release has been published => some sort of Continuos Deployment?
  • allow building from main branches and understand how this can be automated in CI

Current Situation:

  • each time that we have tackled a release we have run the pipeline against all the code changes that had happened over months. Doing that check every day, every week or even every 2 weeks will massively reduce the amount of code changes in Wikibase as well as the extensions. That would also reduce the probability of errors as well as the time we need to invest into fixing them.
  • commit hashes of the extensions are checked and added manually. We want this to be easier/more automated.
  • currently, we build our wikibase containers based on mediawiki docker containers, which are only released after the mediawiki release. So part of this ticket would also be to create our own mediawiki docker containers based on mediawiki main/master branch.

Open Questions: the discussion whether we want to keep up with the mw release cadence and how often we want to make releases in between can definitely come up here. (T340230)

Event Timeline

Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptAug 7 2023, 10:13 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
roti_WMDE renamed this task from Automate CI to build extensions from main branches to Automate CI to build upstream code from main branches.Aug 9 2023, 10:39 AM

From the last releases we made (bug fix release for 1.38, 1.39 and major release for 1.40) apparently, not so much stuff breaks in between versions. This might be because WMF production already tests wikibase and mediawiki main/master branches on the live systems. So the gain might not be as high as expected, the complexity of the task is rather high though.

From the last releases we made (bug fix release for 1.38, 1.39 and major release for 1.40) apparently, not so much stuff breaks in between versions. This might be because WMF production already tests wikibase and mediawiki main/master branches on the live systems. So the gain might not be as high as expected, the complexity of the task is rather high though.

I am taking this comment coming from the Adee-Robert combo discussion to automatically lower the priority of this ticket to the point of closing it as declined. From what I understand we will know if the need for this raises up again.