Merge "Force gate-{name}-pep8-{node} to build needed wheels"

This commit is contained in:
Jenkins 2016-11-16 18:11:14 +00:00 committed by Gerrit Code Review
commit baace0cf9e

View File

@ -103,6 +103,16 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
# We force the removal of our wheel mirrors from pip.conf to ensure we can
# build the required wheels if needed. This helps to ensure that
# bindep.txt is up-to-date.
- shell: |
#!/bin/bash -xe
# Write global pip configuration minus wheel mirror.
awk '!/extra-index-url/' /etc/pip.conf > /tmp/pip.conf
sudo mv /tmp/pip.conf /etc/
sudo chown root:root /etc/pip.conf
sudo chmod 0644 /etc/pip.conf
- revoke-sudo
- pep8:
env: pep8