6 Commits

Author SHA1 Message Date
Paul Belanger
c149a8aed3 Update centos7 wheel mirror naming schema
Because of AFS constraints, we need to shorten our naming for centos7.

Change-Id: I7f6f389ae692c764f5e4211abe9932a9e6b6a8c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-23 12:58:50 -04:00
Michael Krotscheck
4583ce559b Corrected AFS volume name for wheel release
The convention is mirror.wheel.<ARCH>, not mirror.wheel-<ARCH>.

Change-Id: I08f2657d2e7c6ab1a2b25eb25ce0626d8e86b33a
2016-02-05 07:10:25 -08:00
James E. Blair
8a24e2e3e8 Fix wheel release job
Fix a typo in the wheel release job.  Also make sure that it is
not set to offline the node.

Change-Id: Ie76331068545173b863d31f1fe793f46b6578700
2016-02-04 20:01:27 -08:00
James E. Blair
053cab096a Mirror release: Add verbose flag
Because verbose is cool.

Change-Id: If351a8d9943bf21bea8d0916e0cf9b55e5dc68b4
2016-02-04 12:09:59 -08:00
Michael Krotscheck
d88a460e97 Added wheel-release job
This patch adds a wheel-release job on our release slave,
which is triggered after a wheel is built. It runs vos release,
to push the new entries in the filesystem to our AFS masters.

Change-Id: Ic1e8a6725fc046d8240a9665f6ed1167be53cb49
Depends-on: I81c39d420d8ac70def57949ea0d4c323b8797086
2016-02-03 09:34:08 -08:00
Gregory Haynes
04ec88d3cb Create jobs for a wheel mirror
In order to speed up tests where we install python packages we want to
create wheels for packages we depend on.

This patch creates four new scripts:

* afs-slug, which generates a string version of the platform architecture,
  derived from the host system's parameters.
* wheel-build, which generates all wheels, from all branches, in `pwd`/wheels
* wheel-copy, which copies this wheels directory into our AFS file structure.
* wheel-index, which rebuilds the index.html file from the directories
  found in the afs directory.

The above scripts are executed in sequence, with afs credentials only loaded
where necessary. Additional timeouts have been provided to prevent things from
locking.

This patch assumes that a mod_rewrite rule will be available on the serving nodes
that unmunges the URL.

Co-Authored-By: Sean Dague <sean@dague.net>
Depends-On: Ie33861dbcb413c34012820fda76f8be94fb1d151
Depends-On: I81c39d420d8ac70def57949ea0d4c323b8797086
Change-Id: I3463fba889239c565c86ffb080adffd7bfdd18f9
2016-02-03 09:34:03 -08:00