mirror of
https://github.com/ansible/ansible-pypi-test-mirror
synced 2026-04-05 19:25:51 +00:00
No description
- Python 79%
- Shell 21%
| .gitignore | ||
| download-packages.py | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| update-index.sh | ||
| upload-index.sh | ||
| upload-packages.sh | ||
ansible-pypi-test-mirror
Scripts to manage the Ansible PyPI Test Mirror.
Only packages used for testing Ansible are included in the mirror.
The mirror can be used with the pip option: -i https://d2c8fqinjk13kw.cloudfront.net/simple/
Perform the following steps to update the package index in S3.
- Run
pip install -r requirements.txtto install requirements for the scripts. - Run
download-packages.py -r <requirements_file>to download packages from PyPI. - Run
upload-packages.shto upload packages to S3. - Run
update-index.shto generate a local package index. - Run
upload-index.shto upload the local package index to S3.
Packages are only required locally if they have not yet been uploaded to S3 with
upload-packages.sh. Once packages have been uploaded to S3 the local copies can be deleted.