mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update developing_test_pr.rst
This commit is contained in:
parent
a4f91c2c53
commit
a10e15c765
1 changed files with 5 additions and 6 deletions
|
@ -103,13 +103,12 @@ Ansible modules are in separate repositories, which are managed as Git submodule
|
||||||
1. git clone https://github.com/ansible/ansible.git
|
1. git clone https://github.com/ansible/ansible.git
|
||||||
2. cd ansible
|
2. cd ansible
|
||||||
3. git submodule init
|
3. git submodule init
|
||||||
4. git submodule update --recursive
|
4. git submodule update --recursive [ fetches the submodules ]
|
||||||
5. cd lib/ansible/modules/extras
|
5. cd lib/ansible/modules/extras
|
||||||
6. git fetch origin pull/1234/head:pr/1234
|
6. git fetch origin pull/1234/head:pr/1234 [ fetches the specific PR ]
|
||||||
7. git checkout pr/1234
|
7. git checkout pr/1234 [ do your testing here ]
|
||||||
8. [ Do your tests here ]
|
8. cd /path/to/ansible/clone
|
||||||
9. cd /path/to/ansible/clone
|
9. git submodule update --recursive
|
||||||
10. git submodule update --recursive
|
|
||||||
|
|
||||||
For Those About To Test, We Salute You
|
For Those About To Test, We Salute You
|
||||||
++++++++++++++++++++++++++++++++++++++
|
++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
Loading…
Reference in a new issue