12 Commits

Author SHA1 Message Date
James E. Blair
04c74c4b5a Update to multi-mirror jeepyb.
Requires https://review.openstack.org/#/c/23771/

Change-Id: If2db2516789a01fc60e6dbd0be062a8bf00ed9bc
Reviewed-on: https://review.openstack.org/23774
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-18 20:50:37 +00:00
Jeremy Stanley
9c512b85d7 Pypi mirror wrapper script should abort safely.
* modules/pypimirror/templates/run-mirror.sh.erb: Aborting the
mirror downloader prematurely should not allow the indexer to start
running. This has caused corrupt indexes in the past.

Change-Id: I42e3390910909e02c84f3a1d9641b4fc3b004d31
Reviewed-on: https://review.openstack.org/24021
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-15 16:31:42 +00:00
Monty Taylor
74460853d1 Rename CI to Infra in MANY MANY places.
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2012-12-16 17:30:47 +00:00
Monty Taylor
52db16762b Consume jeepyb.
Instead of keeping many of these files directly in the tree, use them
from the out-of-tree jeepyb project, which makes them easier to consume
for other people who are not us.

Change-Id: Id704f2e17dd80709ef63cbbf2c5475a08a835f91
Reviewed-on: https://review.openstack.org/16777
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-30 18:02:30 +00:00
Monty Taylor
7d8c838038 Align all web server usage on apache module.
Change-Id: Idd712a8ee5ec81c6b88b7d3e2270dce4da254927
Reviewed-on: https://review.openstack.org/10838
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:03:46 +00:00
Monty Taylor
6c763db08e Fix two typos.
Change-Id: I6b02a28b8dd658425b39bf7f5fb858efbb9023d7
Reviewed-on: https://review.openstack.org/11146
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-10 14:46:31 +00:00
Monty Taylor
5ec9629e56 Re-write of mirror script to read projects.yaml.
Change-Id: I810324b4d1648e79a71f1940196b6522833a1671
Reviewed-on: https://review.openstack.org/11112
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-10 14:34:03 +00:00
Monty Taylor
39eb0491fb Trim down some un-needed repetition.
Adding a yml file to the project but not listing it in the .pp file
only really ever caused bugs.
Moved the full openstack project list to a variable for re-use.

Change-Id: I211b5cf54d5a84c6136a4b04ea819c688cc1e2b6
2012-07-23 10:29:07 -05:00
Monty Taylor
645eb0ff27 Don't hide stderr.
If we redirect stderr to the logfile, then we lose error messages that
should wind up in cron spam.

Change-Id: I054d6d63eb3c3a59339fb6e0be232fd59ab43870
2012-07-01 11:24:48 -04:00
Monty Taylor
008fb47583 Use pip cache instead of full mirror.
Change-Id: I14ae08eb6c5a402f26de6c20234ac434f8f4b2c9
2012-06-04 12:06:26 -04:00
David Shrewsbury
d29981584c Use template for Nginx in pypimirror module.
Fixes bug 999242.

No longer make Nginx default site config file a
static file. Instead, use a template that correctly
sets the document root.

Change-Id: Ib4a21319e78dc905cb33514a1371d7719be0380a
2012-05-14 16:25:40 -04:00
David Shrewsbury
520065039c Add pypimirror module.
New module to setup a Python Package Index mirror. Nginx is setup
to serve as the mirror web server. The default setup is to mirror
everything. Example of setting up a new mirror, restricting what
we will mirror:

  node "mymirror.mydomain.org" {
    include openstack_cron
    class { "pypimirror":
      base_url => "http://mymirror.mydomain.org",
      package_matches = ["nose", "pep8", "simplejson"],
    }
  }

To use it:

  pip install <package> -i http://mymirror.mydomain.org

Change-Id: I36234b8242df0e9d1e7dca7e896005e9e46a9edf
2012-05-14 12:50:02 -04:00