645eb0ff27
If we redirect stderr to the logfile, then we lose error messages that should wind up in cron spam. Change-Id: I054d6d63eb3c3a59339fb6e0be232fd59ab43870
13 lines
481 B
Plaintext
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}
|