Add pypi mirror build jobs.

Change-Id: I59cf588384eb0efddd5630c554dd7b754785ecb2
Reviewed-on: https://review.openstack.org/25422
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2013-03-26 11:31:56 -07:00 committed by Jenkins
parent 97b8025d4b
commit 9a46258798

View File

@ -0,0 +1,35 @@
- job:
name: 'periodic-mirror-python26'
node: mirror26
triggers:
- timed: '4 21 * * *'
builders:
- shell: |
#!/bin/bash -xe
/usr/local/bin/run-mirror -c /home/jenkins/pypimirror/etc/pypi-mirror.yaml
find /home/jenkins/pypimirror/mirror/ \( -name index.html -or -name full.html \) -delete
rsync -a --ignore-existing /home/jenkins/pypimirror/mirror/ jenkins@static.openstack.org:/srv/static/pypi/
publishers:
- link-logs
- console-log-periodic
- job:
name: 'periodic-mirror-python27'
node: mirror27
triggers:
- timed: '12 21 * * *'
builders:
- shell: |
#!/bin/bash -xe
/usr/local/bin/run-mirror -c /home/jenkins/pypimirror/etc/pypi-mirror.yaml
find /home/jenkins/pypimirror/mirror/ \( -name index.html -or -name full.html \) -delete
rsync -a --ignore-existing /home/jenkins/pypimirror/mirror/ jenkins@static.openstack.org:/srv/static/pypi/
publishers:
- link-logs
- console-log-periodic