Skip to content
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

Karaf Features Ansible Role #692

Closed
dannylamb opened this issue Aug 15, 2017 · 14 comments
Closed

Karaf Features Ansible Role #692

dannylamb opened this issue Aug 15, 2017 · 14 comments
Assignees

Comments

@dannylamb
Copy link
Contributor

Description

Create an Ansible role to install Alpaca and Api-X, adding them to the CLAW playbook.

As with all Ansible roles, check Galaxy for an existing role. If one is found, look to see if it supports both Ubuntu and CENTOS. If it does not support CENTOS, ask the maintainer if they would be receptive to a pull request later on. If it looks well used and either supports CENTOS or is agreeable to a PR for supporting CENTOS, we should use it instead of creating new one.

If creating a new role, start by looking at https://github.com/Islandora-CLAW/claw_vagrant as a starting point. Be sure that it is idempotent and can be run over and over again with no new effect. Use Jinja templating to alter config when deploying instead of using sed a la claw_vagrant.

Testing Instructions

Test the role by running the CLAW playbook after pulling in the changes. Be sure to execute it multiple times to confirm it is idempotent.

@dannylamb dannylamb changed the title Ansible Karaf Features Role Karaf Features Ansible Role Aug 15, 2017
@DiegoPino DiegoPino self-assigned this Aug 21, 2017
@DiegoPino
Copy link
Contributor

Update: this is advancing and already working. Would like to refine a bit, test more and should be pulling on Thursday.

@DiegoPino
Copy link
Contributor

@dannylamb @jonathangreen @whikloj do you want api-x to be built from source or just deployed from published artifacts?

@whikloj
Copy link
Member

whikloj commented Aug 29, 2017

@DiegoPino published artifacts is probably good.

@DiegoPino
Copy link
Contributor

DiegoPino commented Aug 29, 2017

@dannylamb any ideas on how you want this role named? i went for apix. It is basically API-X (main feature) and allows extra features to be added, which happen to be by default Alpaca, but could be extended to any number of extra ones

@dannylamb
Copy link
Contributor Author

@DiegoPino Name it what you want. Api-X and Alpaca will get split out soon enough. As long as we all know that's what's going on it doesn't really matter.

@DiegoPino
Copy link
Contributor

Ok, cool.

@DiegoPino
Copy link
Contributor

@dannylamb @whikloj @jonathangreen is alpaca getting an mvn: repo? Or are we going to build each time?

@DiegoPino
Copy link
Contributor

@ajs6f do you know if we want featuresBootAsynchronous=false or true? Can't decide on this one

@ajs6f
Copy link

ajs6f commented Aug 29, 2017

I generally leave it true unless I have a specific reason not, because asynch really speeds up installation/boot time. Any dependencies that need to be calculated in really ought to be explicitly called out in the feature catalog.

@dannylamb
Copy link
Contributor Author

@DiegoPino We're building alpaca each time in lieu of putting up snapshot builds.

If ever you have any doubts, just stick to what we're doing in claw_vagrant and we can improve later.

@DiegoPino
Copy link
Contributor

@dannylamb yeah, was aware of that but had high hopes. The issue with that is the idempotency thingy and of course checking if compiling actually worked out. Kinda the talk you all had with @jonathangreen about making an rpm instead of compiling libraries from source.
For now will continue as is then. I have found until know a few issues with timings so tunning that a bit, should have finished last week if not for that, hopefully i get around that today. But api-x deploys nicely! (was the easy part)

@DiegoPino
Copy link
Contributor

Islandora-Devops/islandora-playbook#8 is my progress so-far

@jonathangreen jonathangreen self-assigned this Sep 15, 2017
@jonathangreen
Copy link
Contributor

Since @DiegoPino has been super busy as release manager, I'm going to work on finishing up the work on this one, I closed the PR that was attached, and there is a new PR incoming that builds on this work.

@dannylamb
Copy link
Contributor Author

Resolved via Islandora-Devops/islandora-playbook@aac8659

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 a pull request may close this issue.

5 participants