+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(a)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[1].
> 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[2].
>
> 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?
>
> [1] -
https://github.com/abstractj/keycloak/commit/
534569a9b6082a9674a33149519b06d1218d4807
> [2] -
https://launchpad.net/ubuntu/precise/+source/freeipa
>
> --
>
> abstractj
> PGP: 0x84DC9914
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev