6c24411
@@ -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
+ roles:
+ - role: standard-test-basic
+ tests:
+ - smoke38:
+ dir: smoke
+ run: VERSION=3.8 METHOD=virtualenv ./venv.sh
This should make it a bit more for cases like: https://pagure.io/fedora-ci/general/issue/20
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
rebased onto 6c24411
Thanks for the quick feedback. Should be fixed now.
:thumbsup:
Pull-Request has been merged by psss
Doc link: https://docs.fedoraproject.org/en-US/ci/tests/#_preparation
This should make it a bit more for cases like:
https://pagure.io/fedora-ci/general/issue/20