Page MenuHomePhabricator

Move beta cluster automatic deployment to a dedicated infrastructure
Open, LowPublic

Description

CI takes care of updating the Beta cluster infrastructure, that should be moved out of the CI Jenkins to a dedicated infrastructure.

The job lists can be seen at: https://integration.wikimedia.org/ci/view/Beta/

beta-code-update-eqiadTriggers every 10 minutes, update mediawiki code from Gerrit master branches
beta-mediawiki-config-update-eqiadTriggered by CI / Zuul after a change has been merged in operations/mediawiki-config.git
beta-scap-eqiadScap job triggered by the above two jobs
beta-publish-debBuild Scap Debian package and update it on the deployment host
beta-update-databases-eqiadTriggers every hour, runs MediaWiki update.php against each wikis

The jobs are defined using the Jenkins job builder DSL. Our tutorial to set up jenkins job builder and some overview is at https://www.mediawiki.org/wiki/CI/JJB

Upstream doc https://jenkins-job-builder.readthedocs.io/en/latest/

Our DSL files are in integration/config.git under ./jjb/

@hashar guesses those jobs can be moved to a dedicated Jenkins, possibly part of Beta-Cluster-Infrastructure .

Event Timeline

taavi removed a project: good first task.
taavi subscribed.

@hashar I'm interesting on working on this but I think this would require access to the beta cluster openstack project (which makes me remove good first task).

good first task is there for the Release-Engineering-Team WMF team. We have a new person coming in and we created a few basic tasks for the onboarding :-]

@hashar: good first task are for any contributors and requires that tasks do not require any special permissions in order to test the contribution or to fix the task. Anyone should be able to reproduce.. If this is for onboarding in some team then please either use a dedicated workboard column on your team's workboard for onboarding task, or set the task assignee to the new person coming in, but (in my understanding) please don't set good first task - thanks!

taavi removed taavi as the assignee of this task.Jun 27 2020, 4:45 AM
taavi removed a project: User-Majavah.
hashar added a subscriber: jnuche.

The releases Jenkins is now deployed with scap using YAML to define the state of the instance (see T323909). From there we should be able to create the config needed to generate and deploy a standalone Jenkins on Beta-Cluster-Infrastructure