From 1377af3d440071e33c27a1a13be6db300e52feb8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 4 Oct 2017 13:29:37 +0100 Subject: [PATCH] Fix zuul clonemap Since the inclusion of ansible-hardening, we changed the clonemap regex, but we didn't count the right amount of capturing brackets. The brackreference we should use in our new case (since the addition of extra brackets) should be 2 instead of 1. Change-Id: Ib15c28b65f8bb5863a26a4c63d1e55b428b5ff4d --- tests/get-ansible-role-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/get-ansible-role-requirements.yml b/tests/get-ansible-role-requirements.yml index 32ae1532dc..82d8692a67 100644 --- a/tests/get-ansible-role-requirements.yml +++ b/tests/get-ansible-role-requirements.yml @@ -86,7 +86,7 @@ - name: 'openstack/openstack-ansible-(.*)' dest: '{{ role_path_default }}/\1' - name: 'openstack/(?!(openstack-ansible|ansible-hardening))(.*)' - dest: '/tmp/openstack/\1' + dest: '/tmp/openstack/\2' dest: "/tmp/zuul-clonemap.yml" when: - _zuul_cloner_check.rc == 0