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

13 lines
481 B
Plaintext

#!/bin/bash
# This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
export PIP_DOWNLOAD_CACHE=<%= pip_cache %>
export PIP_TEMP_DOWNLOAD=<%= pip_download %>
export MIRROR_FILE_PATH=<%= mirror_file_path %>
export LOG_FILENAME=<%= log_filename %>
<% projects.each do |project| -%>
/usr/local/mirror_scripts/pull-repo.sh <%= project %> >>$LOG_FILENAME
<% end -%>
python /usr/local/mirror_scripts/process_cache.py ${PIP_DOWNLOAD_CACHE} ${MIRROR_FILE_PATH}