-
Notifications
You must be signed in to change notification settings - Fork 53
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
Make playbook into two pieces #237
Conversation
🥳 @whikloj I was scared when I saw how quickly the base box built. But this is awesome! Base box built in 6m:28s Wizardry!! 😀 What do we need to make this 🚀 ? |
I guess the things I'm not sure of and need clarification on is:
As this is not the flagship distribution method for Islandora, I'm not sure how careful we need to be. We could make this separate branch so the original |
Also, we could push a copy of |
Two steps is fine. I imagine running them could be done "at once" by chaining the commands, like this? ISLANDORA_BUILD_BASE=true vagrant up; ISLANDORA_BUILD_BASE=false vagrant provision;
Agreed.
We have already created a But branches? the playbook is so minimally maintained, and I can't imagine us maintaining two branches, let's do this all on the dev branch.
I think we can wait, maybe come back to it in a few months. The base box is really fast to build, and i don't think we have the people/tools to maintain another external snapshot thing right now. |
I am fine with your answers. I hadn't thought about just provisioning over top. I am fine with just adding a new tagged version, we might want to add a last 1.x.x tag to include the last bits (not sure anyone is using the tags) and then add a 2.0.0 tag to the commit that adds this change. |
Can you add |
😢 I just ran into a problem that i think was caused by this split (but I'm not sure). After building the site on top of the base box, going to http://localhost:8000/admin/config/search/search-api/server/default_solr_server showed me a big red drupal warning banner error: "You are using an incompatible solr schema. Please follow the instructions in the README.md file for setting up Solr." I don't know what to look for/at. The indexing worked fine: I went to http://localhost:8983/solr/#/, and did a query, and the results showed i had indexed two nodes and all their values. But my View (I was using the default that came with the starter site, |
Argh, okay. Let me look there is some futzing we do with the Solr stuff but I thought it was working. |
That did it. Awesome stuff! |
GitHub Issue: Islandora/documentation#2166
What does this Pull Request do?
This is a bit of a naive first attempt, probably needs a way to continue the original full build steps. Or if you wanted to use this to build a remote machine you'd need to run both sides.
For discussion.
What's new?
Adds a new environment variable to check for called
ISLANDORA_BUILD_BASE
if it is "true" then the playbook will build a ubuntu/focal64 box with Java, Tomcat 9, Apache, MySQL/Postgres, ActiveMQ, Solr and Cantaloupe installed.There is some configuration I didn't move, for instance Apache is configured to use the eventual Drupal folder as its DocumentRoot. But as there is nothing there you get a error page.
(i.e. Regeneration activity, etc.)? no
How should this be tested?
ubuntu/focal64
box, that will be one of the first steps it executes. Once it is complete (without errors 🤞 )islandora_base
in this directory.islandora_base
box.That's it, you can now destroy and rebuild the VM using this base image as many times as you need.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora-Devops/committers especially @rosiel