Use git-clone instead of ansible-galaxy for role tests

Bug #1626113 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Jesse Pretorius

Bug Description

As the role tests are largely used for development purposes, it seems that it would be better to implement a git clone of the roles instead of the current ansible-galaxy clone. This allows developers to apply patches to the roles or edit them and easily see the changes.

I think it may be best to add https://github.com/openstack/openstack-ansible/blob/master/tests/get-ansible-role-requirements.yml to the common testing repo, then instrument all role tests to use it.

Changed in openstack-ansible:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-tests (master)

Fix proposed to branch: master
Review: https://review.openstack.org/374292

Changed in openstack-ansible:
assignee: nobody → Nish Patwa (nishpatwa)
status: New → In Progress
Changed in openstack-ansible:
assignee: Nish Patwa (nishpatwa) → Jesse Pretorius (jesse-pretorius)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-tests (master)

Reviewed: https://review.openstack.org/374292
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-tests/commit/?id=00902d8120aff6760f8fbff8af3634680fc2ff46
Submitter: Jenkins
Branch: master

commit 00902d8120aff6760f8fbff8af3634680fc2ff46
Author: Nish Patwa <email address hidden>
Date: Wed Sep 21 16:44:06 2016 +0000

    Implement git clone of roles

    Added get-ansible-role-requirements.yml to a testing repo that
    uses git clone to download the roles instead of downloading the
    roles using ansible-galaxy.

    Closes-Bug: 1626113
    Change-Id: I241de348310a7a3beba6181a271f5351c9460318

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-tests (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/380506

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-tests (stable/newton)

Reviewed: https://review.openstack.org/380506
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-tests/commit/?id=2ab6655a6e50748697a3d14967b8188bd41c27cd
Submitter: Jenkins
Branch: stable/newton

commit 2ab6655a6e50748697a3d14967b8188bd41c27cd
Author: Nish Patwa <email address hidden>
Date: Wed Sep 21 16:44:06 2016 +0000

    Implement git clone of roles

    Added get-ansible-role-requirements.yml to a testing repo that
    uses git clone to download the roles instead of downloading the
    roles using ansible-galaxy.

    Closes-Bug: 1626113
    Change-Id: I241de348310a7a3beba6181a271f5351c9460318
    (cherry picked from commit 00902d8120aff6760f8fbff8af3634680fc2ff46)

tags: added: in-stable-newton
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.