[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Testing Ansible roles with Molecule on OpenShift?

I have no idea if this is what you are looking for, but the Kiali Operator (itself implemented via Ansible) uses Molecule for some tests - the tests are here:


One caveat -- you (or the CI test framework) needs to stand up an OpenShift cluster and "oc login" to it prior to running the molecule tests.

----- Original Message -----
> I've spent a few hours digging around for solid documentation on the molecule
> site or examples of people doing this, however I've come up with nothing
> definitive. OpenShift documentation rightly advocates to limit privileged
> container access to dockerd daemon, which is the default driver for
> molecule. Tools like redhat-cop/openshift-applier and other Red Hat projects
> seem to be managing ephemeral VMs for CI via TravisCI rather than doing this
> in OpenShift itself with any of it's BuildConfig / Jenkins support.
> Would appreciate anyone pointing out some pre-existing projects out there
> running on OpenShift that drive this or highlight why that is a no go.
> Thanks

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]