![Jeremy Stanley](/assets/img/avatar_default.png)
* 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
11 lines
401 B
Plaintext
11 lines
401 B
Plaintext
#!/bin/bash -e
|
|
# This file is managed by puppet.
|
|
# https://github.com/openstack-infra/config
|
|
|
|
export PIP_DOWNLOAD_CACHE=<%= pip_cache %>
|
|
export PIP_TEMP_DOWNLOAD=<%= pip_download %>
|
|
export MIRROR_FILE_PATH=<%= mirror_file_path %>
|
|
export LOG_FILENAME=<%= log_filename %>
|
|
/usr/local/bin/run-mirror <%= git_source %> >>$LOG_FILENAME
|
|
/usr/local/bin/process-cache ${PIP_DOWNLOAD_CACHE} ${MIRROR_FILE_PATH}
|