#33 Add a preparation section to the tests page
Merged 4 years ago by psss. Opened 4 years ago by psss.

@@ -279,3 +279,29 @@ 

  

  [[Category:FedoraAtomicCi]]

  

+ 

+ == Preparation ==

+ 

+ If you need to do any adjustments to the system before testing, include an extra ansible task before the testing section.

+ For example this will upgrade all packages on the system to the latest version:

+ 

+ [source,ansible]

+ ----

+ - hosts: localhost

+   tags:

+     - classic

+   tasks:

+     - dnf:

+         name: "*"

+         state: latest

+ 

+ - hosts: localhost

+   roles:

+   - role: standard-test-basic

+     tags:

+     - classic

+     tests:

+     - smoke38:

+         dir: smoke

+         run: VERSION=3.8 METHOD=virtualenv ./venv.sh

+ ----

There should be no "just" in this sentence. For you it might be easy, for others, they might have never seen ansible before.

Add a comment that explains what this does?

I'd rather not put anything Python 2 to Fedora's examples. Can we put 3.8 instead?

rebased onto 405071717e83e5cf014c8f73cbd670f461e6b20b

4 years ago

rebased onto 6c24411

4 years ago

Thanks for the quick feedback. Should be fixed now.

Pull-Request has been merged by psss

4 years ago
Metadata