From 36126c08255fcf8a201167b5d63f23f6bfdeceec Mon Sep 17 00:00:00 2001 From: Michał Nasiadka Date: Thu, 14 Jan 2021 09:49:07 +0100 Subject: CI: Use Docker proxy for pulls + Ruby fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For Train (due to CentOS 7) includes as well: - sensu-client: Pin simpleidn Ruby gem simpleidn Ruby gem started requiring Ruby 2.2. - monasca-grafana: Pin git Ruby gem fpm Ruby gem started requiring git Ruby gem git Ruby gem started requiring Ruby 2.3 Change-Id: I0c4d5e1ea16c6677813a334b38b3a22ad811531d Co-Authored-By: Radosław Piliszek Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/772077 (cherry picked from commit a8c12def858b57349207cab5fa8dabb3c23bdfa0) --- tests/playbooks/pre.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests') diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 4334599cb..31944e992 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -64,3 +64,21 @@ name: tox virtualenv: "{{ ansible_user_dir }}/tox-venv" become: true + + - name: Ensure /etc/docker exists + become: true + file: + path: /etc/docker + state: directory + mode: 0755 + + - name: Configure registry-mirror in daemon.json + become: true + copy: + dest: /etc/docker/daemon.json + content: | + { + "registry-mirrors": [ + "http://{{ zuul_site_mirror_fqdn }}:8082/" + ] + } -- cgit v1.2.3