Skip to content

Commit

Permalink
Merge pull request #231 from intelops/clickhousemigration
Browse files Browse the repository at this point in the history
client chart version changed
  • Loading branch information
vijeyash1 authored Sep 15, 2023
2 parents 890fa9a + b28c578 commit 94b3ff9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion charts/client/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.0
version: 1.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
24 changes: 0 additions & 24 deletions dockerfiles/migration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
# Build the manager binary
FROM golang:1.20 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
COPY ./ ./
RUN go mod download

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o migration cmd/cli/main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/migration .
COPY /workspace/sql /sql
COPY /workspace/script /script
RUN chmod +x /script/wait-for-clickhouse.sh
USER 65532:65532

ENTRYPOINT ["/migration"]


FROM golang:1.20 as builder

WORKDIR /workspace
Expand Down

0 comments on commit 94b3ff9

Please sign in to comment.