Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 011c13b

Browse files
authored
Changing source directory from quesma to platform (#1304)
This PR changes `quesma` to `platform` as the goal is to leave all libraries here and extract executable(s) to separate module(s).
1 parent 87c2ad1 commit 011c13b

File tree

490 files changed

+1084
-1084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

490 files changed

+1084
-1084
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
quesma/logs
1+
platform/logs

.github/workflows/build-quesma-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build-quesma-docker-image:
3232
strategy:
3333
matrix:
34-
module: [ "quesma" ]
34+
module: [ "platform" ]
3535
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v4

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656
run: until [ "$(curl -s -o /dev/null -w "%{http_code}" localhost:8080)" = "200" ]; do sleep 3; done
5757

5858
- name: Run e2e tests
59-
working-directory: quesma
59+
working-directory: platform
6060
run: go test -race --tags=integration -v ./...
6161

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
quesma-test-and-compile:
1717
strategy:
1818
matrix:
19-
module: [ "quesma" ]
19+
module: [ "platform" ]
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-quesma-docker-image: # based on nightly-docker-build-and-push.yml, but heavily modified
1717
strategy:
1818
matrix:
19-
module: [ "quesma" ]
19+
module: [ "platform" ]
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Validate input - needs to match semver

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ mitmproxy/query/*.txt
88
.env
99
.env*
1010
.DS_Store
11-
ci/quesma/logs/err.log
12-
ci/quesma/logs/quesma.log
13-
quesma/logs/err.log
14-
quesma/logs/quesma.log
11+
ci/platform/logs/err.log
12+
ci/platform/logs/quesma.log
13+
platform/logs/err.log
14+
platform/logs/quesma.log
1515
heap.out
1616
**/.terraform.lock.hcl
1717
**/terraform.tfstate*
@@ -21,8 +21,8 @@ docker/security/ca
2121
docker/security/es.local
2222
docker/security/certificate-bundle.zip
2323
docker/security/clickhouse
24-
quesma/config.yaml
25-
quesma/.installation_id
24+
platform/config.yaml
25+
platform/.installation_id
2626
examples/kibana-sample-data/quesma/logs/*
2727
bin/.running-docker-compose
2828
docs/public/node_modules

ci/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.7"
22
services:
33
quesma:
4-
build: ../quesma
4+
build: ../platform
55
image: quesma:nightly
66
environment:
77
- QUESMA_CONFIG_FILE=/mnt/ci-config.yaml

ci/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.7"
22
services:
33
quesma:
4-
build: ../quesma
4+
build: ../platform
55
image: quesma:nightly
66
environment:
77
- QUESMA_CONFIG_FILE=/mnt/ci-config.yaml
File renamed without changes.

quesma/Dockerfile renamed to platform/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:alpine AS builder
22

33

4-
WORKDIR /quesma
4+
WORKDIR /platform
55

66
COPY go.mod go.sum ./
77

@@ -25,19 +25,19 @@ RUN --mount=type=cache,target="/root/.cache/go-build" \
2525
--mount=type=cache,target=/go/pkg/mod \
2626
go build \
2727
-ldflags=" \
28-
-X 'github.com/QuesmaOrg/quesma/quesma/buildinfo.BuildHash=$QUESMA_BUILD_SHA' \
28+
-X 'github.com/QuesmaOrg/quesma/platform/buildinfo.BuildHash=$QUESMA_BUILD_SHA' \
2929
-X 'buildinfo.BuildHash=$QUESMA_BUILD_SHA' \
30-
-X 'github.com/QuesmaOrg/quesma/quesma/buildinfo.Version=$QUESMA_VERSION' \
30+
-X 'github.com/QuesmaOrg/quesma/platform/buildinfo.Version=$QUESMA_VERSION' \
3131
-X 'buildinfo.Version=$QUESMA_VERSION' \
32-
-X 'github.com/QuesmaOrg/quesma/quesma/buildinfo.BuildDate=$QUESMA_BUILD_DATE' \
32+
-X 'github.com/QuesmaOrg/quesma/platform/buildinfo.BuildDate=$QUESMA_BUILD_DATE' \
3333
-X 'buildinfo.BuildDate=$QUESMA_BUILD_DATE' \
3434
" \
3535
-o bin
3636

3737
FROM scratch
3838

3939
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
40-
COPY --from=builder /quesma/bin /quesma/healthcheck ./
40+
COPY --from=builder /platform/bin /platform/healthcheck ./
4141

4242
ENTRYPOINT [ "/bin" ]
4343
HEALTHCHECK --interval=1s --timeout=1s --start-period=2s --retries=3 CMD [ "/healthcheck" ]

0 commit comments

Comments
 (0)