Ansible devel testing: install ansible-collections from checkout
Allow speculative testing of ansible collections in the -devel test job by linking in the git checkouts from the dependent change. Depends-On: https://review.opendev.org/747596 Change-Id: I014701f41fb6870360004aa64990e16e278381ed
This commit is contained in:
parent
66e249bf95
commit
d97b114d33
@ -4,7 +4,8 @@
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: 'Clone {{ item.namespace }}/{{ item.name }} collection'
|
||||
git:
|
||||
repo: '{{ item.repo }}'
|
||||
- name: 'Link in {{ item.namespace }}/{{ item.name }} collection'
|
||||
file:
|
||||
src: '{{ ansible_user_dir}}/src/github.com/{{repo}}'
|
||||
dest: '/root/.ansible/collections/ansible_collections/{{ item.namespace }}/{{ item.name }}'
|
||||
state: link
|
||||
|
@ -46,18 +46,18 @@
|
||||
include_tasks: install_ansible_collection.yaml
|
||||
when: _install_ansible_from_devel is defined
|
||||
loop:
|
||||
- namespace: ansible
|
||||
name: netcommon
|
||||
repo: ansible-collections/ansible.netcommon
|
||||
- namespace: ansible
|
||||
name: posix
|
||||
repo: https://github.com/ansible-collections/ansible.posix
|
||||
repo: ansible-collections/ansible.posix
|
||||
- namespace: community
|
||||
name: general
|
||||
repo: https://github.com/ansible-collections/community.general
|
||||
repo: ansible-collections/community.general
|
||||
- namespace: community
|
||||
name: crypto
|
||||
repo: https://github.com/ansible-collections/community.crypto
|
||||
- namespace: ansible
|
||||
name: netcommon
|
||||
repo: https://github.com/ansible-collections/ansible.netcommon
|
||||
repo: ansible-collections/community.crypto
|
||||
|
||||
- name: Ensure required Ansible build packages for non-wheel architectures
|
||||
apt:
|
||||
|
Loading…
x
Reference in New Issue
Block a user