Closed cevich closed 5 years ago
@wrabcak it just occurred to me that running tests inside a container may not fly as we're dealing with SELinux stuffs here. Is there a way to make this work or do we need a VM?
If so, it's probably not a show-stopper, it will just take me some time to organize all the requirements to make that happen.
Let me know.
clarification: This is for integration testing. If you like, I can port the current Travis tests over into Cirrus-CI as well (it is quite a bit faster) but in a future PR.
@wrabcak it just occurred to me that running tests inside a container may not fly as we're dealing with SELinux stuffs here. Is there a way to make this work or do we need a VM?
Exactly, SELinux is not inside the container, so we need Fedora/RHEL VM for proper testing of udica.
If so, it's probably not a show-stopper, it will just take me some time to organize all the requirements to make that happen.
Let me know.
Thanks, Lukas.
I can swing Fedora pretty easily, but RHEL is a huge amount of work. It can be done, but it's quite painful. Okay, I'll go down the Fedora VM path first. Setup-wise it's quite involved, maybe half a day of fast typing if I'm lucky and don't forget some detail :smile:
@cevich , For now it's enough to have CI on Fedora VMs.
Thanks for your contribution. :) Lukas.
Small progress:
Next step: secure $$$ for ^^^
Got head-nod for $$$ to wire in Cirrus-CI + VMs to validate this.
Still need to make it official.
Still working on making things official.
Okay, we're supported in running CI in google cloud. Next step is for me to start wiring things together with Cirrus CI so it can manage the VMs. I've got a number of tasks ahead of this one, but will avoid starting an new ones. Should be able to make progress on this one starting early next week.
Hi @cevich ,
Thank you for your time and help, no pressure, this could wait. :)
Lukas
Haven't forgotten about this. Managed to add the two google service accounts today. Next is getting their permissions setup and access granted to Cirrus-CI.
yay! :clap: Test-failures can be dealt with, for now it's nice to see VMs up and running :smile:
@wrabcak @rhatdan PTAL this is ready to go.
Lukas - I added a script hack/get_ci_vm.sh
similar to what we use in other projects, it will give you access to a VM for debugging, configured nearly exactly as in CI. However, since you're outside the US, it will be very slow (network-wise) unless I share some tricks. Write me an e-mail so I have your redhat.com address, can grant you GCE access + explain how to get fast networking to the VMs.
Amazing! Thanks for PR! Merging.
Yep, I'll send you e-mail.
Thanks, Lukas.
Signed-off-by: Chris Evich cevich@redhat.com