Stop using pre-compiled wheels

We actually want to ensure users are able to use our roles outside of
openstack-infra. Since those users won't have wheel mirrors, disable
our jobs from using them too.

Change-Id: I219f8980c5e0ee18cfa80b64ae179156cff7ee2b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-13 12:40:01 -04:00
parent cdba41e540
commit 3a137fd752
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 23 additions and 0 deletions

View File

@ -1,6 +1,7 @@
- job:
name: ansible-role-zuul-base
parent: unittests
pre-run: tests/playbooks/pre.yaml
run: tests/playbooks/run.yaml
post-run: tests/collect-logs.yaml
roles:

22
tests/playbooks/pre.yaml Normal file
View File

@ -0,0 +1,22 @@
# Copyright 2018 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
---
- hosts: all
tasks:
- name: Disable extra wheels mirror
become: yes
lineinfile:
dest: /etc/pip.conf
regexp: ^extra-index-url
state: absent