Skip to content

Add CI build for OpenLDAP integration #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

mtodd
Copy link
Member

@mtodd mtodd commented Sep 27, 2014

Early work to add tests using OpenLDAP for #46.

  • install OpenLDAP
  • enable memberOf, refint overlays
  • seed with fixture data
  • write tests specifically for OpenLDAP configuration
  • connect to OpenLDAP instead of booting up ApacheDS for existing tests (fixing fixture mismatchs)

cc @jch


script:
- if [ "$TESTENV" = "openldap" ]; then ./script/cibuild-openldap; fi
- if [ "$TESTENV" = "apacheds" ]; then ./script/cibuild-apacheds; fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way you have it also works, but the install and script sections can be dried up a bit:

# if file exists, run it
[ -f ./script/install-$TESTENV ] && ./script/install-$TESTENV
[ -f ./script/cibuild-$TESTENV ] && ./script/cibuild-$TESTENV

Same with the above.

cc Travis docs The Build Matrix for reference.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wary of trying to DRY every reference, feels like too much indirection without a ton of value add.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me. I don't imagine this section to grow significantly more complex. Both of them are easily readable for me.

@jch
Copy link
Contributor

jch commented Sep 27, 2014

👍 good start. cc me again when you have more build configurations added.

@mtodd
Copy link
Member Author

mtodd commented Sep 29, 2014

Bah, just realized I created this PR against master instead of dev-v2.

@mtodd mtodd closed this Sep 29, 2014
@mtodd mtodd mentioned this pull request Sep 29, 2014
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants