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

Release Neo4j 5.26.0 #18043

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Release Neo4j 5.26.0 #18043

merged 2 commits into from
Dec 9, 2024

Conversation

jennyowen
Copy link
Contributor

Thank you!

Releasing neo4j 5.26.0
@jennyowen jennyowen requested a review from a team as a code owner December 9, 2024 11:25
Copy link

github-actions bot commented Dec 9, 2024

Diff for d7fa0b0:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 00c2f92..1a1bc90 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -11,22 +11,22 @@ Architectures: amd64, arm64v8
 GitCommit: e0b93f39e18ba02d3c37677b70fd869070df0515
 Directory: 4.4.39/bullseye/enterprise
 
-Tags: 5.25.1-community-bullseye, 5.25-community-bullseye, 5-community-bullseye, 5.25.1-community, 5.25-community, 5-community, 5.25.1-bullseye, 5.25-bullseye, 5-bullseye, 5.25.1, 5.25, 5, community-bullseye, community, bullseye, latest
+Tags: 5.26.0-community-bullseye, 5.26-community-bullseye, 5-community-bullseye, 5.26.0-community, 5.26-community, 5-community, 5.26.0-bullseye, 5.26-bullseye, 5-bullseye, 5.26.0, 5.26, 5, community-bullseye, community, bullseye, latest
 Architectures: amd64, arm64v8
-GitCommit: c0776401a41452ffbad1160f8b2b474c6c85a2a5
-Directory: 5.25.1/bullseye/community
+GitCommit: f82529102b6fcdd531cd088947f374ac7467958a
+Directory: 5.26.0/bullseye/community
 
-Tags: 5.25.1-community-ubi9, 5.25-community-ubi9, 5-community-ubi9, 5.25.1-ubi9, 5.25-ubi9, 5-ubi9, community-ubi9, ubi9
+Tags: 5.26.0-community-ubi9, 5.26-community-ubi9, 5-community-ubi9, 5.26.0-ubi9, 5.26-ubi9, 5-ubi9, community-ubi9, ubi9
 Architectures: amd64, arm64v8
-GitCommit: c0776401a41452ffbad1160f8b2b474c6c85a2a5
-Directory: 5.25.1/ubi9/community
+GitCommit: f82529102b6fcdd531cd088947f374ac7467958a
+Directory: 5.26.0/ubi9/community
 
-Tags: 5.25.1-enterprise-bullseye, 5.25-enterprise-bullseye, 5-enterprise-bullseye, 5.25.1-enterprise, 5.25-enterprise, 5-enterprise, enterprise-bullseye, enterprise
+Tags: 5.26.0-enterprise-bullseye, 5.26-enterprise-bullseye, 5-enterprise-bullseye, 5.26.0-enterprise, 5.26-enterprise, 5-enterprise, enterprise-bullseye, enterprise
 Architectures: amd64, arm64v8
-GitCommit: c0776401a41452ffbad1160f8b2b474c6c85a2a5
-Directory: 5.25.1/bullseye/enterprise
+GitCommit: f82529102b6fcdd531cd088947f374ac7467958a
+Directory: 5.26.0/bullseye/enterprise
 
-Tags: 5.25.1-enterprise-ubi9, 5.25-enterprise-ubi9, 5-enterprise-ubi9, enterprise-ubi9
+Tags: 5.26.0-enterprise-ubi9, 5.26-enterprise-ubi9, 5-enterprise-ubi9, enterprise-ubi9
 Architectures: amd64, arm64v8
-GitCommit: c0776401a41452ffbad1160f8b2b474c6c85a2a5
-Directory: 5.25.1/ubi9/enterprise
+GitCommit: f82529102b6fcdd531cd088947f374ac7467958a
+Directory: 5.26.0/ubi9/enterprise
diff --git a/_bashbrew-list b/_bashbrew-list
index 748abad..9790ab2 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -13,24 +13,24 @@ neo4j:5-enterprise
 neo4j:5-enterprise-bullseye
 neo4j:5-enterprise-ubi9
 neo4j:5-ubi9
-neo4j:5.25
-neo4j:5.25-bullseye
-neo4j:5.25-community
-neo4j:5.25-community-bullseye
-neo4j:5.25-community-ubi9
-neo4j:5.25-enterprise
-neo4j:5.25-enterprise-bullseye
-neo4j:5.25-enterprise-ubi9
-neo4j:5.25-ubi9
-neo4j:5.25.1
-neo4j:5.25.1-bullseye
-neo4j:5.25.1-community
-neo4j:5.25.1-community-bullseye
-neo4j:5.25.1-community-ubi9
-neo4j:5.25.1-enterprise
-neo4j:5.25.1-enterprise-bullseye
-neo4j:5.25.1-enterprise-ubi9
-neo4j:5.25.1-ubi9
+neo4j:5.26
+neo4j:5.26-bullseye
+neo4j:5.26-community
+neo4j:5.26-community-bullseye
+neo4j:5.26-community-ubi9
+neo4j:5.26-enterprise
+neo4j:5.26-enterprise-bullseye
+neo4j:5.26-enterprise-ubi9
+neo4j:5.26-ubi9
+neo4j:5.26.0
+neo4j:5.26.0-bullseye
+neo4j:5.26.0-community
+neo4j:5.26.0-community-bullseye
+neo4j:5.26.0-community-ubi9
+neo4j:5.26.0-enterprise
+neo4j:5.26.0-enterprise-bullseye
+neo4j:5.26.0-enterprise-ubi9
+neo4j:5.26.0-ubi9
 neo4j:bullseye
 neo4j:community
 neo4j:community-bullseye
diff --git a/neo4j_enterprise-ubi9/Dockerfile b/neo4j_enterprise-ubi9/Dockerfile
index 3e157f7..39473cf 100644
--- a/neo4j_enterprise-ubi9/Dockerfile
+++ b/neo4j_enterprise-ubi9/Dockerfile
@@ -50,12 +50,12 @@ RUN set -eux; \
     microdnf remove -y git* perl* make gcc glibc-headers glibc-devel libxcrypt-devel; \
     microdnf clean all
 
-ENV NEO4J_SHA256=34691d29bb1add0ca4e189eb5cc16da057ede9934f599f3ebd628c3f548759e3 \
-    NEO4J_TARBALL=neo4j-enterprise-5.25.1-unix.tar.gz \
+ENV NEO4J_SHA256=6a753836adb5bd3a355a32a8f0b1c4dd5509aeba22c50a027be1e0e9553175e8 \
+    NEO4J_TARBALL=neo4j-enterprise-5.26.0-unix.tar.gz \
     NEO4J_EDITION=enterprise \
     NEO4J_HOME="/var/lib/neo4j" \
     LANG=C.UTF-8
-ARG NEO4J_URI=https://dist.neo4j.org/neo4j-enterprise-5.25.1-unix.tar.gz
+ARG NEO4J_URI=https://dist.neo4j.org/neo4j-enterprise-5.26.0-unix.tar.gz
 
 COPY ./local-package/* /startup/
 
@@ -80,7 +80,7 @@ RUN set -eux; \
     ln -s /data "${NEO4J_HOME}"/data; \
     ln -s /logs "${NEO4J_HOME}"/logs
 
-ENV PATH "${NEO4J_HOME}"/bin:$PATH
+ENV PATH="${NEO4J_HOME}"/bin:$PATH
 
 WORKDIR "${NEO4J_HOME}"
 
diff --git a/neo4j_enterprise-ubi9/local-package/docker-entrypoint.sh b/neo4j_enterprise-ubi9/local-package/docker-entrypoint.sh
index 7062481..18d1f87 100755
--- a/neo4j_enterprise-ubi9/local-package/docker-entrypoint.sh
+++ b/neo4j_enterprise-ubi9/local-package/docker-entrypoint.sh
@@ -159,7 +159,7 @@ function load_plugin_from_url
         echo >&2 "ERROR: could not query ${_versions_json_url} for plugin compatibility information.
     This could indicate a problem with your network or this container's network settings.
     Neo4j will continue to start, but \"${_plugin_name}\" will not be loaded."
-        return
+        return 1
     fi
     local _plugin_jar_url="$(echo "${_versions_json}" | jq -L/startup --raw-output "import \"semver\" as lib; [ .[] | select(.neo4j|lib::semver(\"${_neo4j_version}\")) ] | min_by(.neo4j) | .jar")"
     if [[ -z "${_plugin_jar_url}" ]] || [[ "${_plugin_jar_url}" == "null" ]]; then
@@ -238,12 +238,15 @@ function install_neo4j_plugins
         if [ "${_location}" != "null" -a -n "$(shopt -s nullglob; echo ${_location})" ]; then
             debug_msg "$plugin_name is already in the container at ${_location}"
             load_plugin_from_location "${plugin_name}" "${_location}"
+            debug_msg "Applying plugin specific configurations."
+            apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
         else
             debug_msg "$plugin_name must be downloaded."
-            load_plugin_from_url "${plugin_name}"
-        fi
+            if load_plugin_from_url "${plugin_name}"; then
                 debug_msg "Applying plugin specific configurations."
                 apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
+            fi
+        fi
     done
     rm "${_old_config}"
 }
diff --git a/neo4j_enterprise/Dockerfile b/neo4j_enterprise/Dockerfile
index 6072964..da39793 100644
--- a/neo4j_enterprise/Dockerfile
+++ b/neo4j_enterprise/Dockerfile
@@ -2,12 +2,12 @@ FROM debian:bullseye-slim
 ENV JAVA_HOME=/opt/java/openjdk
 COPY --from=eclipse-temurin:17 $JAVA_HOME $JAVA_HOME
 ENV PATH="${JAVA_HOME}/bin:${PATH}" \
-    NEO4J_SHA256=34691d29bb1add0ca4e189eb5cc16da057ede9934f599f3ebd628c3f548759e3 \
-    NEO4J_TARBALL=neo4j-enterprise-5.25.1-unix.tar.gz \
+    NEO4J_SHA256=6a753836adb5bd3a355a32a8f0b1c4dd5509aeba22c50a027be1e0e9553175e8 \
+    NEO4J_TARBALL=neo4j-enterprise-5.26.0-unix.tar.gz \
     NEO4J_EDITION=enterprise \
     NEO4J_HOME="/var/lib/neo4j" \
     LANG=C.UTF-8
-ARG NEO4J_URI=https://dist.neo4j.org/neo4j-enterprise-5.25.1-unix.tar.gz
+ARG NEO4J_URI=https://dist.neo4j.org/neo4j-enterprise-5.26.0-unix.tar.gz
 
 RUN addgroup --gid 7474 --system neo4j && adduser --uid 7474 --system --no-create-home --home "${NEO4J_HOME}" --ingroup neo4j neo4j
 
@@ -44,7 +44,7 @@ RUN apt update \
     && rm -rf /var/lib/apt/lists/* /su-exec
 
 
-ENV PATH "${NEO4J_HOME}"/bin:$PATH
+ENV PATH="${NEO4J_HOME}"/bin:$PATH
 
 WORKDIR "${NEO4J_HOME}"
 
diff --git a/neo4j_enterprise/local-package/docker-entrypoint.sh b/neo4j_enterprise/local-package/docker-entrypoint.sh
index 7062481..18d1f87 100755
--- a/neo4j_enterprise/local-package/docker-entrypoint.sh
+++ b/neo4j_enterprise/local-package/docker-entrypoint.sh
@@ -159,7 +159,7 @@ function load_plugin_from_url
         echo >&2 "ERROR: could not query ${_versions_json_url} for plugin compatibility information.
     This could indicate a problem with your network or this container's network settings.
     Neo4j will continue to start, but \"${_plugin_name}\" will not be loaded."
-        return
+        return 1
     fi
     local _plugin_jar_url="$(echo "${_versions_json}" | jq -L/startup --raw-output "import \"semver\" as lib; [ .[] | select(.neo4j|lib::semver(\"${_neo4j_version}\")) ] | min_by(.neo4j) | .jar")"
     if [[ -z "${_plugin_jar_url}" ]] || [[ "${_plugin_jar_url}" == "null" ]]; then
@@ -238,12 +238,15 @@ function install_neo4j_plugins
         if [ "${_location}" != "null" -a -n "$(shopt -s nullglob; echo ${_location})" ]; then
             debug_msg "$plugin_name is already in the container at ${_location}"
             load_plugin_from_location "${plugin_name}" "${_location}"
+            debug_msg "Applying plugin specific configurations."
+            apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
         else
             debug_msg "$plugin_name must be downloaded."
-            load_plugin_from_url "${plugin_name}"
-        fi
+            if load_plugin_from_url "${plugin_name}"; then
                 debug_msg "Applying plugin specific configurations."
                 apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
+            fi
+        fi
     done
     rm "${_old_config}"
 }
diff --git a/neo4j_latest/Dockerfile b/neo4j_latest/Dockerfile
index 075b141..007b3b4 100644
--- a/neo4j_latest/Dockerfile
+++ b/neo4j_latest/Dockerfile
@@ -2,12 +2,12 @@ FROM debian:bullseye-slim
 ENV JAVA_HOME=/opt/java/openjdk
 COPY --from=eclipse-temurin:17 $JAVA_HOME $JAVA_HOME
 ENV PATH="${JAVA_HOME}/bin:${PATH}" \
-    NEO4J_SHA256=7dae6bfca596e0c3fbcf12ad8897e95277601047d1253b44c6a513983ede6859 \
-    NEO4J_TARBALL=neo4j-community-5.25.1-unix.tar.gz \
+    NEO4J_SHA256=ad8ac3398606145502b8f489530bbd39333707ae4668156af16b6086b5b037d7 \
+    NEO4J_TARBALL=neo4j-community-5.26.0-unix.tar.gz \
     NEO4J_EDITION=community \
     NEO4J_HOME="/var/lib/neo4j" \
     LANG=C.UTF-8
-ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-5.25.1-unix.tar.gz
+ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-5.26.0-unix.tar.gz
 
 RUN addgroup --gid 7474 --system neo4j && adduser --uid 7474 --system --no-create-home --home "${NEO4J_HOME}" --ingroup neo4j neo4j
 
@@ -44,7 +44,7 @@ RUN apt update \
     && rm -rf /var/lib/apt/lists/* /su-exec
 
 
-ENV PATH "${NEO4J_HOME}"/bin:$PATH
+ENV PATH="${NEO4J_HOME}"/bin:$PATH
 
 WORKDIR "${NEO4J_HOME}"
 
diff --git a/neo4j_latest/local-package/docker-entrypoint.sh b/neo4j_latest/local-package/docker-entrypoint.sh
index 7062481..18d1f87 100755
--- a/neo4j_latest/local-package/docker-entrypoint.sh
+++ b/neo4j_latest/local-package/docker-entrypoint.sh
@@ -159,7 +159,7 @@ function load_plugin_from_url
         echo >&2 "ERROR: could not query ${_versions_json_url} for plugin compatibility information.
     This could indicate a problem with your network or this container's network settings.
     Neo4j will continue to start, but \"${_plugin_name}\" will not be loaded."
-        return
+        return 1
     fi
     local _plugin_jar_url="$(echo "${_versions_json}" | jq -L/startup --raw-output "import \"semver\" as lib; [ .[] | select(.neo4j|lib::semver(\"${_neo4j_version}\")) ] | min_by(.neo4j) | .jar")"
     if [[ -z "${_plugin_jar_url}" ]] || [[ "${_plugin_jar_url}" == "null" ]]; then
@@ -238,12 +238,15 @@ function install_neo4j_plugins
         if [ "${_location}" != "null" -a -n "$(shopt -s nullglob; echo ${_location})" ]; then
             debug_msg "$plugin_name is already in the container at ${_location}"
             load_plugin_from_location "${plugin_name}" "${_location}"
+            debug_msg "Applying plugin specific configurations."
+            apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
         else
             debug_msg "$plugin_name must be downloaded."
-            load_plugin_from_url "${plugin_name}"
-        fi
+            if load_plugin_from_url "${plugin_name}"; then
                 debug_msg "Applying plugin specific configurations."
                 apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
+            fi
+        fi
     done
     rm "${_old_config}"
 }
diff --git a/neo4j_ubi9/Dockerfile b/neo4j_ubi9/Dockerfile
index 7047e00..24af755 100644
--- a/neo4j_ubi9/Dockerfile
+++ b/neo4j_ubi9/Dockerfile
@@ -50,12 +50,12 @@ RUN set -eux; \
     microdnf remove -y git* perl* make gcc glibc-headers glibc-devel libxcrypt-devel; \
     microdnf clean all
 
-ENV NEO4J_SHA256=7dae6bfca596e0c3fbcf12ad8897e95277601047d1253b44c6a513983ede6859 \
-    NEO4J_TARBALL=neo4j-community-5.25.1-unix.tar.gz \
+ENV NEO4J_SHA256=ad8ac3398606145502b8f489530bbd39333707ae4668156af16b6086b5b037d7 \
+    NEO4J_TARBALL=neo4j-community-5.26.0-unix.tar.gz \
     NEO4J_EDITION=community \
     NEO4J_HOME="/var/lib/neo4j" \
     LANG=C.UTF-8
-ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-5.25.1-unix.tar.gz
+ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-5.26.0-unix.tar.gz
 
 COPY ./local-package/* /startup/
 
@@ -80,7 +80,7 @@ RUN set -eux; \
     ln -s /data "${NEO4J_HOME}"/data; \
     ln -s /logs "${NEO4J_HOME}"/logs
 
-ENV PATH "${NEO4J_HOME}"/bin:$PATH
+ENV PATH="${NEO4J_HOME}"/bin:$PATH
 
 WORKDIR "${NEO4J_HOME}"
 
diff --git a/neo4j_ubi9/local-package/docker-entrypoint.sh b/neo4j_ubi9/local-package/docker-entrypoint.sh
index 7062481..18d1f87 100755
--- a/neo4j_ubi9/local-package/docker-entrypoint.sh
+++ b/neo4j_ubi9/local-package/docker-entrypoint.sh
@@ -159,7 +159,7 @@ function load_plugin_from_url
         echo >&2 "ERROR: could not query ${_versions_json_url} for plugin compatibility information.
     This could indicate a problem with your network or this container's network settings.
     Neo4j will continue to start, but \"${_plugin_name}\" will not be loaded."
-        return
+        return 1
     fi
     local _plugin_jar_url="$(echo "${_versions_json}" | jq -L/startup --raw-output "import \"semver\" as lib; [ .[] | select(.neo4j|lib::semver(\"${_neo4j_version}\")) ] | min_by(.neo4j) | .jar")"
     if [[ -z "${_plugin_jar_url}" ]] || [[ "${_plugin_jar_url}" == "null" ]]; then
@@ -238,12 +238,15 @@ function install_neo4j_plugins
         if [ "${_location}" != "null" -a -n "$(shopt -s nullglob; echo ${_location})" ]; then
             debug_msg "$plugin_name is already in the container at ${_location}"
             load_plugin_from_location "${plugin_name}" "${_location}"
+            debug_msg "Applying plugin specific configurations."
+            apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
         else
             debug_msg "$plugin_name must be downloaded."
-            load_plugin_from_url "${plugin_name}"
-        fi
+            if load_plugin_from_url "${plugin_name}"; then
                 debug_msg "Applying plugin specific configurations."
                 apply_plugin_default_configuration "${plugin_name}" "${_old_config}"
+            fi
+        fi
     done
     rm "${_old_config}"
 }

Relevant Maintainers:

@yosifkit yosifkit merged commit a5206ca into docker-library:master Dec 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants