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

Fix various issues with installation of CamCHILDMine #17

Open
wants to merge 62 commits into
base: master
Choose a base branch
from

Conversation

martinburchell
Copy link

In the process of getting the 2022 FAIR TREATMENT (CamCHILDMine) demo working I ended up making these changes. In summary:

  • New GitHub workflow for building the docker images with the default Biotestmine
  • Remove obsolete version from docker compose YAML files
  • Abort build.sh if any part of the script fails unexpectedly
  • Store docker-compose defaults in .env file
  • Reduce some complexity in build.sh when resolving environment variables
  • Use wait-for-it to ensure the various containers are running (bundled in as there is no Alpine package)
  • Do not try to copy malaria-data.tar.gz if it is not present
  • Remove the duplicate call to gradlew cargoDeployRemote. In CamCHILDMine I've implemented the workaround described in Gradle needs to start or deploy a second time to serve webapp intermine#2162 (comment)
  • Use named volumes in the local.docker-compose.yml. I've removed the parsing of the YAML file in mkdatadirs.sh as this seemed like a brittle approach and made this script runnable from anywhere.
  • Sort out various permissions issues.

There was a bit of guesswork involved so I'd appreciate another set of eyes on this.

They are getting truncated
Not the permanent solution. This should be ignored if biotestmine is not being used
There are permissions problems if we try to use a different user
Don't try to do anything with the Solr UID/GID
cargoDeployRemote fails if run for a second time
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.

1 participant