diff options
| author | Michał Nasiadka <mnasiadka@gmail.com> | 2021-01-14 09:49:07 +0100 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2021-01-22 18:26:01 +0000 |
| commit | 36126c08255fcf8a201167b5d63f23f6bfdeceec (patch) | |
| tree | 026e5055b06dc01ae65fe1c3e33326c1232d413f /tests | |
| parent | 3e020fdf2a26ad640a56134c25a5060c48bb190b (diff) | |
| download | kolla-36126c08255fcf8a201167b5d63f23f6bfdeceec.tar.gz kolla-36126c08255fcf8a201167b5d63f23f6bfdeceec.zip | |
CI: Use Docker proxy for pulls + Ruby fixes
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 <radoslaw.piliszek@gmail.com>
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/772077
(cherry picked from commit a8c12def858b57349207cab5fa8dabb3c23bdfa0)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/pre.yml | 18 |
1 files changed, 18 insertions, 0 deletions
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/" + ] + } |
