[keycloak-dev] Integration tests for FreeIPA
bruno at abstractj.org
Fri Sep 16 05:21:02 EDT 2016
Hi Stian, I prepared something with Docker compose. Do you think it
should be moved to some Keycloak repo?
 - https://github.com/abstractj/docker/blob/master/keycloak-sssd-integration-tests/README.md
On 2016-09-13, Stian Thorgersen wrote:
> +1 Main thing is we need it to run on Central CI. If you can also make it
> easy to run it on a workstation that'd be great. Maybe with a Docker image?
> Even if you could manage to get it running on Travis we'd probably not want
> to as there's a tradeoff on how long it takes to test a PR and the amount
> of tests to run.
> On 13 September 2016 at 04:42, Marek Posolda <mposolda at redhat.com> wrote:
> > Hi Bruno,
> > the question is if we really need FreeIPA on Travis CI? The thing is
> > that Travis is currently just the CI for run "mvn clean install" when
> > you send PR to find regressions early. However we have already lots of
> > tests, which are not executed during default travis build. For example:
> > - Adapter tests in new testsuite.
> > - Tests with Keycloak on real Wildfly server (by default testsuite uses
> > just embedded undertow)
> > - Test with other DBs than embedded H2
> > - Test with other LDAPs than embedded ApacheDS
> > IMO It's fine if FreeIPA tests are executed just when you run the build
> > with some special maven profile. Hence we will have job on central CI,
> > which will test FreeIPA on daily basis. However those tests won't be
> > executed during default "mvn clean install" build and hence also not
> > executed on travis during every build. So defacto approach 1 from what
> > you mentioned.
> > But maybe it's just me :)
> > Marek
> > On 12/09/16 23:02, Bruno Oliveira wrote:
> > > Ahoy, this week I will start to look at the integration tests for
> > > FreeIPA/SSSD with Ilya from QE. He already started some work here.
> > > The tricky part for me is to spin up a FreeIPA server on Travis CI.
> > >
> > > For those not familiar with this environment, to run the
> > > integration tests, freeipa-server must be installed/configured.
> > > Unfortunately, Ubuntu Precise (the distro running on Travis)
> > > have only freeipa-client and python-freeipa.
> > >
> > > Some ideas to make this happen:
> > >
> > > 1. Do nothing and let people run the integration tests locally. This is
> > not awesome.
> > > 2. Spin up a FreeIPA docker instance on Travis before the build, plus
> > > install and configure a freeipa-client. The downside is: more steps,
> > > more slowness on Travis.
> > > 3. Move the CI to our own server and have FreeIPA installed and
> > > configured.
> > >
> > > Ideas?
> > >
> > >  - https://github.com/abstractj/keycloak/commit/
> > 534569a9b6082a9674a33149519b06d1218d4807
> > >  - https://launchpad.net/ubuntu/precise/+source/freeipa
> > >
> > > --
> > >
> > > abstractj
> > > PGP: 0x84DC9914
> > > _______________________________________________
> > > keycloak-dev mailing list
> > > keycloak-dev at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
More information about the keycloak-dev