https://github.com/ostreedev/ostree/pull/1462
Some things I like specifically: - The qcow2 inventory is useful (though I want it to be more configurable) - Ansible is mostly better than shell script - It's a layer of stuff that's abstract across "execution environments" like Jenkins vs whatever else - The concept that playbooks can in theory be more easily shared
And of course that it makes things a bit more obvious how to reuse *upstream* tests stored in upstream git in the downstream dist-git (though I need to actually plumb that through).
BTW we're also in the process of completely revamping our "CI execution" or https://github.com/projectatomic/papr to use Kubernetes/OpenShift more. In our case then the upstream tests using STI would actually execute as Kubernetes Jobs; in our particular case then we'd be moving strongly towards VM-in-container. See: https://github.com/projectatomic/papr/pull/70 https://github.com/projectatomic/paci/pulls?q=is%3Apr+is%3Aclosed etc.; also part of this is moving our CI into CentOS CI's OpenShift instance.
On Wed, Mar 7, 2018, at 3:37 PM, Colin Walters wrote:
https://github.com/ostreedev/ostree/pull/1462
Some things I like specifically:
- The qcow2 inventory is useful (though I want it to be more
configurable)
- Ansible is mostly better than shell script
OK so...I have spent a good chunk of time trying hard to get rebooting to work in Ansible; https://stackoverflow.com/questions/29955605/how-to-reboot-centos-7-with-ans... etc.
My most recent fixups for some of this are in: https://github.com/ostreedev/ostree/pull/1548 and it seems OK locally but we're hitting races in CI still.
Has anyone else battled the ansible+rebooting issue? Without this it's hard for me to invest much in converting our tests to use Ansible more deeply.
I'm not yet to the point of adding a `- reboot` task into Ansible...I'm uncertain of the value of doing that versus just tossing it and going back to using shell scripts or something more like what Cockpit's tests do with custom code.
ci@lists.stg.fedoraproject.org