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

changes to support release of neo4j-operations and updating go to 1.22 #330

Merged
merged 12 commits into from
May 10, 2024
2 changes: 1 addition & 1 deletion bin/gcloud/create_cluster
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CLOUDSDK_COMPUTE_ZONE="${CLOUDSDK_COMPUTE_ZONE:?CLOUDSDK_COMPUTE_ZONE is require

# Parameters
NODE_MACHINE="e2-standard-4"
NUM_NODES="${NUM_NODES:-10}"
NUM_NODES="${NUM_NODES:-11}"

# For more info on release channels see https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels
RELEASE_CHANNEL="stable"
Expand Down
2 changes: 2 additions & 0 deletions bin/gcloud/version_updates
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ echo "CURRENT_VERSION ${CURRENT_VERSION} NEO4J_VERSION ${NEO4J_VERSION}"
if [[ ${CURRENT_VERSION} != ${NEO4J_VERSION} ]]
then
sed -i "s/${CURRENT_VERSION}/${NEO4J_VERSION}/g" "neo4j/Chart.yaml"
# this update is for updating neo4j-operations image tag value which is same as the neo4j version being released
sed -i "s/${CURRENT_VERSION}/${NEO4J_VERSION}/g" "neo4j/values.yaml"
sed -i "s/${CURRENT_VERSION}/${NEO4J_VERSION}/g" "neo4j-headless-service/Chart.yaml"
sed -i "s/${CURRENT_VERSION}/${NEO4J_VERSION}/g" "neo4j-persistent-volume/Chart.yaml"
sed -i "s/${CURRENT_VERSION}/${NEO4J_VERSION}/g" "neo4j-admin/Chart.yaml"
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This dockerfile provides all the dependencies necessart to run go test on this project
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:slim

ENV HELM_VERSION="v3.9.4" VERIFY_CHECKSUM="true" VERIFY_SIGNATURES="false" GO_VERSION="1.21.5" SHELL=bash
ENV HELM_VERSION="v3.9.4" VERIFY_CHECKSUM="true" VERIFY_SIGNATURES="false" GO_VERSION="1.22.3" SHELL=bash
COPY docker_resources/* /tmp/

# use bash as the default shell (https://unix.stackexchange.com/questions/442510/how-to-use-bash-for-sh-in-ubuntu)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/neo4j/helm-charts

go 1.21
go 1.22

require (
github.com/hashicorp/go-multierror v1.1.1
Expand Down
2 changes: 1 addition & 1 deletion neo4j-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG IMAGE
FROM golang:1.21-bullseye as build
FROM golang:1.22-bullseye as build
RUN apt-get install -y curl
WORKDIR backup
COPY backup/aws aws/
Expand Down
2 changes: 1 addition & 1 deletion neo4j-admin/backup/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/neo4j/helm-charts/neo4j-admin/backup

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.37.0
Expand Down
2 changes: 1 addition & 1 deletion neo4j-reverse-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine
FROM golang:1.22-alpine
RUN apk --no-cache add curl \
&& addgroup --gid 7474 --system neo4j \
&& adduser --uid 7474 --system --no-create-home --home "/go" --ingroup neo4j neo4j
Expand Down
2 changes: 1 addition & 1 deletion neo4j-reverse-proxy/reverse-proxy/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module reverse-proxy

go 1.21
go 1.22
2 changes: 1 addition & 1 deletion neo4j/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ neo4j:
# The operations pod ends successfully if the server is enabled, or it was already enabled
operations:
enableServer: false
image: ""
image: "neo4j/helm-charts-operations:5.19.0"
# protocol can be "neo4j or "neo4j+ssc" or "neo4j+s". Default set to neo4j
# Note: Do not specify bolt protocol here...it will FAIL.
protocol: "neo4j"
Expand Down
Loading