Changeset - 172ed144b59b
[Not reviewed]
0 1 0
Branko Majic (branko) - 8 years ago 2017-11-26 10:46:22
branko@majic.rs
MAR-128: Updated porting instructions for new Molecule/Testinfra version (just moved instruction around).
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
docs/development.rst
Show inline comments
 
@@ -302,12 +302,16 @@ For each role perform the following steps:
 

	
 
   3. Make sure the IP addresses are not coliding.
 

	
 
   4. Make sure to add hosts to correct groups that will correspond to
 
      groups within ``playbook.yml``.
 

	
 
   5. Remove old Molecule configuration::
 

	
 
        git rm molecule.yml
 

	
 
6. Move the old playbook into new location::
 

	
 
     rm molecule/default/playbook.yml
 
     git mv playbook.yml molecule/default/playbook.yml
 

	
 
7. Update the playbook:
 
@@ -376,17 +380,13 @@ For each role perform the following steps:
 
        grep -c 'def test_' molecule/default/tests/test_*
 

	
 
   9. Run the full test suite to ensure everything works correctly::
 

	
 
        molecule test
 

	
 
10. Remove old Molecule configuration::
 

	
 
      git rm molecule.yml
 

	
 
11. Verify and commit the changes. Template commit message::
 
10. Verify and commit the changes. Template commit message::
 

	
 
      MAR-128: Upgraded tests for ROLE_NAME role:
 

	
 
      - Switch to new Molecule configuration.
 
      - Updated set-up playbook to use become: yes.
 
      - Moved some preparatory steps outside of the main playbook (eases
0 comments (0 inline, 0 general)