This repository was archived by the owner on Nov 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-15
lines changed Expand file tree Collapse file tree 7 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 6464 uses : docker/build-push-action@v6
6565 if : ${{ !inputs.PUSH }}
6666 with :
67- context : ${{ matrix.module }}/.
6867 tags : |
6968 quesma/quesma:${{ inputs.VERSION }}
7069 quesma/quesma:nightly
8079 uses : docker/build-push-action@v6
8180 if : ${{ inputs.PUSH }}
8281 with :
83- context : ${{ matrix.module }}/.
8482 tags : |
8583 quesma/quesma:${{ inputs.VERSION }}
8684 quesma/quesma:nightly
9795 uses : actions/upload-artifact@v4
9896 if : ${{ !inputs.PUSH }}
9997 with :
100- name : ${{ matrix.module }}
98+ name : " quesma-nightly " # this is just a name for artifact stored in github, not in dockerhub
10199 path : /tmp/image.tar
102100 retention-days : 1
Original file line number Diff line number Diff line change 6161 - name : Build and export
6262 uses : docker/build-push-action@v6
6363 with :
64- context : ${{ matrix.module }}/.
6564 tags : |
6665 europe-docker.pkg.dev/metal-figure-407109/quesma-nightly/quesma:${{ github.event.inputs.VERSION }}
6766 europe-docker.pkg.dev/metal-figure-407109/quesma-nightly/quesma:latest
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ docker/security/certificate-bundle.zip
2323docker /security /clickhouse
2424platform /config.yaml
2525platform /.installation_id
26+ cmd /config.yaml
27+ cmd /.installation_id
2628examples /kibana-sample-data /quesma /logs /*
2729bin /.running-docker-compose
2830docs /public /node_modules
Original file line number Diff line number Diff line change 11FROM golang:alpine AS builder
22
3-
4- WORKDIR /cmd
5-
6- COPY go.mod go.sum ./
7-
8- RUN --mount=type=cache,target=/go/pkg/mod \
9- go mod download
3+ COPY platform /platform
4+ COPY cmd /cmd
105
116ENV GOCACHE=/root/.cache/go-build
127ARG QUESMA_BUILD_SHA
138ARG QUESMA_VERSION
149ARG QUESMA_BUILD_DATE
1510
16- COPY util/healthcheck util/healthcheck
11+ WORKDIR /cmd
1712
1813RUN --mount=type=cache,target="/root/.cache/go-build" \
1914 --mount=type=cache,target=/go/pkg/mod \
2015 go build -o healthcheck ./util/healthcheck
2116
22- COPY . .
2317
2418RUN --mount=type=cache,target="/root/.cache/go-build" \
2519 --mount=type=cache,target=/go/pkg/mod \
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ QUESMA_VERSION="development"
99
1010export DOCKER_BUILDKIT=1
1111
12- docker build --build-arg QUESMA_BUILD_DATE=" $QUESMA_BUILD_DATE " --build-arg QUESMA_VERSION=" $QUESMA_VERSION " --build-arg QUESMA_BUILD_SHA=" $QUESMA_BUILD_SHA " -f cmd /Dockerfile -t quesma/quesma:nightly cmd
12+ docker build --progress=plain -- build-arg QUESMA_BUILD_DATE=" $QUESMA_BUILD_DATE " --build-arg QUESMA_VERSION=" $QUESMA_VERSION " --build-arg QUESMA_BUILD_SHA=" $QUESMA_BUILD_SHA " -f . /Dockerfile -t quesma/quesma:nightly .
Original file line number Diff line number Diff line change 11version : " 3.7"
22services :
33 quesma :
4- build : ../cmd
4+ build : ../
55 image : quesma:nightly
66 environment :
77 - QUESMA_CONFIG_FILE=/mnt/ci-config.yaml
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ require (
88 github.com/stretchr/testify v1.10.0
99)
1010
11+ replace github.com/QuesmaOrg/quesma/platform => ../platform
12+
1113require (
1214 filippo.io/edwards25519 v1.1.0 // indirect
1315 github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
You can’t perform that action at this time.
0 commit comments