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:
parent
cdba41e540
commit
3a137fd752
@ -1,6 +1,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: ansible-role-zuul-base
|
name: ansible-role-zuul-base
|
||||||
parent: unittests
|
parent: unittests
|
||||||
|
pre-run: tests/playbooks/pre.yaml
|
||||||
run: tests/playbooks/run.yaml
|
run: tests/playbooks/run.yaml
|
||||||
post-run: tests/collect-logs.yaml
|
post-run: tests/collect-logs.yaml
|
||||||
roles:
|
roles:
|
||||||
|
22
tests/playbooks/pre.yaml
Normal file
22
tests/playbooks/pre.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user