Page MenuHomePhabricator

Tarball upload automation
Closed, ResolvedPublic

Description

Once the tarball is built and signed, it needs to be uploaded to https://releases.wikimedia.org/

Event Timeline

Ping @mmodell : I think this should just be a simple SCP command, right? Could you give me the necessary information so that I can add it to the automation?

I note the task description seems to be out of date based on T217959: Tarball signing automation being declined...

How is the signing going to be done before the upload if it's going to be automated?

Where is this going to be running from?

The files need to end up at releases1001.eqiad.wmnet:/srv/org/wikimedia/releases/mediawiki in a folder for the major version number

reedy@releases1001:~$ cd /srv/org/wikimedia/releases/mediawiki/
1.10/      1.12/      1.14/      1.16/      1.18/      1.20/      1.22/      1.24/      1.26/      1.28/      1.3/       1.31/      1.32-rc.1/ 1.5/       1.7/       1.9/
1.11/      1.13/      1.15/      1.17/      1.19/      1.21/      1.23/      1.25/      1.27/      1.29/      1.30/      1.32/      1.4/       1.6/       1.8/       snapshot/

I note the task description seems to be out of date based on T217959: Tarball signing automation being declined...

How is the signing going to be done before the upload if it's going to be automated?

The process is being automated so that (ideally) the person charged with this ("packager") should only have to run one command. That command will start the process in which the signing and scp will take place.

I envision that the packager would be running this from his local machine.

Thanks for the targets of scp.

I envision that the packager would be running this from his local machine.

So obviously releases1001.eqiad.wmnet isn't publicly accessible via SSH and therefore relies on the assumption they have an appropriate ssh config (which is a reasonable assumption I guess, as they probably already have access to wmf production and the releases server)

Need to get all this off github, but here is the publish target and here are the 1.33.1 artifacts this produces.

Change 521559 had a related patch set uploaded (by markahershberger; owner: markahershberger):
[mediawiki/tools/release@master] Tarball creation

https://gerrit.wikimedia.org/r/521559

@mmodell has +1'd the change and we're looking for a way to merge it.

Change 521559 merged by jenkins-bot:
[mediawiki/tools/release@master] Tarball creation

https://gerrit.wikimedia.org/r/521559