hyperdx/Makefile

203 lines
6.8 KiB
Makefile
Raw Normal View History

2023-09-13 04:25:01 +00:00
LATEST_VERSION := $$(sed -n 's/.*"version": "\([^"]*\)".*/\1/p' package.json)
2024-03-01 19:01:00 +00:00
BUILD_PLATFORMS = linux/arm64,linux/amd64
2023-09-13 04:25:01 +00:00
include .env
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
# ---------------------------------------------------------------------------
# Multi-agent / worktree isolation
# ---------------------------------------------------------------------------
# Compute a deterministic port offset (0-99) from the working directory name
# so that multiple worktrees can run integration tests in parallel without
# port conflicts. Override HDX_CI_SLOT manually if you need a specific slot.
#
# Port mapping (base + slot):
# ClickHouse HTTP : 18123 + slot
# MongoDB : 39999 + slot
# API test server : 19000 + slot
# OpAMP : 14320 + slot
# ---------------------------------------------------------------------------
HDX_CI_SLOT ?= $(shell printf '%s' "$(notdir $(CURDIR))" | cksum | awk '{print $$1 % 100}')
HDX_CI_PROJECT := int-$(HDX_CI_SLOT)
HDX_CI_CH_PORT := $(shell echo $$((18123 + $(HDX_CI_SLOT))))
HDX_CI_MONGO_PORT:= $(shell echo $$((39999 + $(HDX_CI_SLOT))))
HDX_CI_API_PORT := $(shell echo $$((19000 + $(HDX_CI_SLOT))))
HDX_CI_OPAMP_PORT:= $(shell echo $$((14320 + $(HDX_CI_SLOT))))
export HDX_CI_CH_PORT HDX_CI_MONGO_PORT HDX_CI_API_PORT HDX_CI_OPAMP_PORT
2023-09-13 04:25:01 +00:00
.PHONY: all
all: install-tools
.PHONY: install-tools
install-tools:
yarn setup
2023-09-13 04:25:01 +00:00
@echo "All tools installed"
.PHONY: dev-build
dev-build:
docker compose -f docker-compose.dev.yml build
.PHONY: dev-up
dev-up:
npm run dev
2023-09-13 04:25:01 +00:00
.PHONY: dev-down
dev-down:
docker compose -f docker-compose.dev.yml down
.PHONY: dev-lint
dev-lint:
2024-11-12 12:53:15 +00:00
npx nx run-many -t lint:fix
2023-09-13 04:25:01 +00:00
.PHONY: ci-build
ci-build:
npx nx run-many -t ci:build
2023-09-13 04:25:01 +00:00
.PHONY: ci-lint
ci-lint:
2024-11-12 12:53:15 +00:00
npx nx run-many -t ci:lint
2023-09-13 04:25:01 +00:00
.PHONY: dev-int-build
dev-int-build:
npx nx run-many -t ci:build
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml build
2023-09-13 04:25:01 +00:00
.PHONY: dev-int
dev-int:
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
@echo "Using CI slot $(HDX_CI_SLOT) (project=$(HDX_CI_PROJECT) ch=$(HDX_CI_CH_PORT) mongo=$(HDX_CI_MONGO_PORT) api=$(HDX_CI_API_PORT))"
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d
npx nx run @hyperdx/api:dev:int $(FILE); ret=$$?; \
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down; \
exit $$ret
2023-09-13 04:25:01 +00:00
.PHONY: dev-int-common-utils
dev-int-common-utils:
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
@echo "Using CI slot $(HDX_CI_SLOT) (project=$(HDX_CI_PROJECT) ch=$(HDX_CI_CH_PORT) mongo=$(HDX_CI_MONGO_PORT))"
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d
npx nx run @hyperdx/common-utils:dev:int $(FILE)
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down
2023-09-13 04:25:01 +00:00
.PHONY: ci-int
ci-int:
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --quiet-pull
npx nx run-many -t ci:int --parallel=false
Enable parallel integration testing across multiple worktrees (#1917) ## Summary - Enable multiple agents/developers to run `make dev-int` simultaneously from different git worktrees without Docker port conflicts - Compute a deterministic port offset (0-99) from the worktree directory name via `cksum`, giving each worktree its own isolated Docker Compose project and port range - Switch `.env.test` files to use `${HDX_CI_*:-default}` variable expansion (powered by `dotenv-expand`) so test processes connect to the correct dynamic ports ## How it works Each worktree gets a unique **slot** derived from its directory name. All service ports are offset by that slot: | Service | Base port | Example (slot 68) | |-----------------|-----------|-------------------| | ClickHouse HTTP | 18123 | 18191 | | MongoDB | 39999 | 40067 | | API test server | 19000 | 19068 | | OpAMP | 14320 | 14388 | Docker Compose project names are also unique (`int-<slot>`), isolating containers and networks. Backward compatible — when no `HDX_CI_*` env vars are set, all ports fall back to their original defaults. ## Changes - **Makefile**: Added `HDX_CI_SLOT` computation and dynamic project names/ports for all `dev-int` targets - **docker-compose.ci.yml**: Ports use `${HDX_CI_*:-default}` env vars; removed unused OTel collector published port; removed hardcoded network name (auto-generated from project name) - **packages/api/.env.test** / **packages/common-utils/.env.test**: Ports use `${HDX_CI_*:-default}` expansion syntax - **packages/api/jest.config.js** / **packages/common-utils/jest.int.config.js**: Switched from `dotenv/config` to `dotenv-expand/config` to enable variable expansion - **packages/api/package.json** / **packages/common-utils/package.json**: Added `dotenv-expand` devDependency - **agent_docs/development.md**: Documented multi-agent worktree support ## Testing Ran full Alert integration test suite (`make dev-int FILE=alerts`) — **6 test suites, 150 tests passed** on slot 68 with dynamic ports.
2026-03-16 19:42:08 +00:00
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down
2023-09-13 04:25:01 +00:00
.PHONY: dev-unit
dev-unit:
npx nx run-many -t dev:unit
.PHONY: ci-unit
ci-unit:
npx nx run-many -t ci:unit
.PHONY: e2e
e2e:
# Run full-stack by default (MongoDB + API + local Docker ClickHouse)
# For more control (--ui, --last-failed, --headed, etc), call the script directly:
# ./scripts/test-e2e.sh --ui --last-failed
./scripts/test-e2e.sh
# TODO: check db connections before running the migration CLIs
.PHONY: dev-migrate-db
dev-migrate-db:
@echo "Migrating Mongo db...\n"
npx nx run @hyperdx/api:dev:migrate-db
@echo "Migrating ClickHouse db...\n"
npx nx run @hyperdx/api:dev:migrate-ch
2023-09-22 21:41:19 +00:00
.PHONY: version
version:
sh ./version.sh
2023-09-13 04:25:01 +00:00
# Build targets (local builds only)
.PHONY: build-otel-collector
build-otel-collector:
docker build . -f docker/otel-collector/Dockerfile \
-t ${OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
-t ${NEXT_OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
--target prod
.PHONY: build-local
build-local:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context clickhouse=./docker/clickhouse \
--build-context otel-collector=./docker/otel-collector \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${LOCAL_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
-t ${NEXT_LOCAL_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
--target all-in-one-noauth
.PHONY: build-all-in-one
build-all-in-one:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context clickhouse=./docker/clickhouse \
--build-context otel-collector=./docker/otel-collector \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${ALL_IN_ONE_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
-t ${NEXT_ALL_IN_ONE_IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
--target all-in-one-auth
.PHONY: build-app
build-app:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${IMAGE_NAME_DOCKERHUB}:${IMAGE_VERSION}${IMAGE_VERSION_SUB_TAG} \
--target prod
.PHONY: build-otel-collector-nightly
build-otel-collector-nightly:
docker build . -f docker/otel-collector/Dockerfile \
-t ${OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
-t ${NEXT_OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
--target prod
.PHONY: build-app-nightly
build-app-nightly:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
--target prod
.PHONY: build-local-nightly
build-local-nightly:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context clickhouse=./docker/clickhouse \
--build-context otel-collector=./docker/otel-collector \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${LOCAL_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
-t ${NEXT_LOCAL_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
--target all-in-one-noauth
.PHONY: build-all-in-one-nightly
build-all-in-one-nightly:
docker build . -f ./docker/hyperdx/Dockerfile \
--build-context clickhouse=./docker/clickhouse \
--build-context otel-collector=./docker/otel-collector \
--build-context hyperdx=./docker/hyperdx \
--build-context api=./packages/api \
--build-context app=./packages/app \
2025-05-28 22:31:57 +00:00
--build-arg CODE_VERSION=${CODE_VERSION} \
-t ${ALL_IN_ONE_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
-t ${NEXT_ALL_IN_ONE_IMAGE_NAME_DOCKERHUB}:${IMAGE_NIGHTLY_TAG} \
--target all-in-one-auth