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

Enable the Causal Clustering tests on 4.0 series #254

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

Conversation

eastlondoner
Copy link
Contributor

No description provided.

jennyowen and others added 30 commits May 10, 2019 11:43
Stopped Neo4j from granting read/write permissions to all on mounted folders. It will still change the folder owner if the docker container is not started using the --user flag though (for backwards compatibility).
Improved warning messages when mounting folders.
Added helpful error message for when mounting folders fails, including troubleshooting tips.
Refactored tests and added a few new test cases I encountered
includes PR neo4j#165
Hopefully fixes:
neo4j#164
neo4j#130

As I was making changes I noticed a bug when setting passwords that occurs when running docker without --user flag. I fixed that too (hopefully).
I believe this may also solve neo4j#147 and neo4j#163
The background here is that - again - the Debian OpenJDK builds turn out
to have the wrong version numbers on them, with the package being
stamped as a java update that was released after the package was built.

See https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-May/009330.html

We don't use the Debian packages, we use Alpine, but inspecting the
provenance of the Alpine OpenKJDK packaging, it seems to suffer from the same
issue. The current latest alpine OpenJDK has versioning that does not
seem to line up. At the very least, the source of those builds is of a
similar kind to Debian.

This moves our base image to images provided by AdoptOpenJDK, a well
regarded source of up-to-date OpenJDK builds. The base image remains
Alpine Linux.
Switch to AdoptOpenJDK-based JVM base image
Run `make package` to build a sharable package of the docker image.
Check groups when determining if a directory is writable
jbarrasa and others added 26 commits February 4, 2020 11:34
Add NEO4JLABS_PLUGINS  support for neosemantics (n10s)
folders mounted under neo4j home were only give read access to `root` instead of `neo4j`.
Change neo4j#237 applied a chmod 700 to *all* files and folders under home instead of ones that were only owned by root. This meant that all mounted files under home which were not owned by neo4j became unreadable.
adding graph-data-science to NEO4JLABS_PLUGINS
We were using a Neo4jContainer from TestContainers rather than a GenericContainer and this
seems to have caused the /data/dbms directory to get built unexpectedly.
The data/dbms folder contains authentication information, and it turns out that Neo4jContainer
was setting a default password even though NEO4J_AUTH=none is set, hence the folder appeared and out tests passed.
I've added an initial password so that the folder is created and we can test permissions on it.
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.

7 participants