RETIRED, Role pip_lock_down for OpenStack-Ansible
Go to file
Jesse Pretorius 43c239916a Compress test execution logs
The volume of logs we collect in CI jobs are extensive. This
patch ensures that the logs collected are compressed to reduce
the space taken in CI systems.

PYTHONUNBUFFERED is also set to ensure that the console log
from the CI jobs is recorded in the exact order of execution.

Change-Id: Ibb9d639f9f4f47fa4cbc86f83f3ad358dd7054d6
Related-Bug: #1620849
2016-09-09 10:52:21 +01:00
defaults Remove allow-all-external from pip configuration 2016-03-10 11:26:47 +00:00
doc Ensure that doc linting is included in the linters test 2016-07-26 07:36:53 +01:00
files first commit 2015-12-08 16:46:37 -06:00
meta first commit 2015-12-08 16:46:37 -06:00
releasenotes Update sphinx configuration 2016-07-12 16:54:48 +01:00
tasks Removing unneeded with_items usage for clarity 2016-03-06 12:53:35 -05:00
templates Remove allow-all-external from pip configuration 2016-03-10 11:26:47 +00:00
tests Update tox config and add bashate E006, E040 exceptions 2016-02-12 12:17:21 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:21:56 +01:00
.gitreview updated repo pathing for new org 2015-12-10 16:56:30 -06:00
CONTRIBUTING.rst first commit 2015-12-08 16:46:37 -06:00
LICENSE first commit 2015-12-08 16:46:37 -06:00
README.rst Ensure that doc linting is included in the linters test 2016-07-26 07:36:53 +01:00
bindep.txt Compress test execution logs 2016-09-09 10:52:21 +01:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 12:21:41 +00:00
setup.cfg first commit 2015-12-08 16:46:37 -06:00
setup.py Updated from global requirements 2016-07-15 03:58:16 +00:00
test-requirements.txt Updated from global requirements 2016-08-18 05:31:12 +00:00
tox.ini Compress test execution logs 2016-09-09 10:52:21 +01:00

README.rst

OpenStack pip_lock_down

tags

openstack, pip, lockdown, cloud, ansible

category

*nix

Role to lock pip down to a particular links repo. This will create a .pip.conf which will ensure that the only python packages installed when using pip are from a known repository of packages.

- name: Basic lxc host setup
  hosts: host_group
  user: root
  roles:
    - { role: "pip_lock_down", tags: [ "pip-lock-down" ] }
  vars:
    pip_links:
      name: openstack-release
      link: https://openstack-hostname.something/python_packages/master

This was intended for use with a repository built from the repo role.