Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 9 additions & 33 deletions .github/workflows/docker-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1615,39 +1615,14 @@ jobs:
# Per-service overrides for the images this PR cannot affect. Empty on a full build.
printf '%s' "$IMAGE_VERSION_ENV" | tee -a "$GITHUB_ENV"

# GMS AI env vars are injected into the GMS container via
# DATAHUB_LOCAL_COMMON_ENV (read as an env_file by docker-compose.gms.yml).
# GMS reaches Ollama over the Docker bridge network; the CI runner reaches
# it via the mapped port at localhost:11434.
- name: Write GMS AI env file (local)
if: matrix.provider == 'local'
run: |
printf '%s\n' \
"EMBEDDING_PROVIDER_TYPE=local" \
"ELASTICSEARCH_SEMANTIC_SEARCH_ENABLED=true" \
"SEARCH_SERVICE_SEMANTIC_SEARCH_ENABLED=true" \
"LOCAL_EMBEDDING_ENDPOINT=http://ollama:11434/v1/embeddings" \
"LOCAL_EMBEDDING_MODEL=${LOCAL_EMBEDDING_MODEL}" \
> /tmp/ai-gms.env

# The classical provider is lexical hashing, not semantic search; GMS refuses
# it without the explicit opt-in. system-update reads the same env file,
# which is what adds the hash_v1_2048 field to the V3 document index before
# GMS starts.
- name: Write GMS AI env file (classical)
if: matrix.provider == 'classical'
run: |
printf '%s\n' \
"EMBEDDING_PROVIDER_TYPE=classical" \
"CLASSICAL_EMBEDDING_ACKNOWLEDGE_LEXICAL_ONLY=true" \
"ELASTICSEARCH_SEMANTIC_SEARCH_ENABLED=true" \
"SEARCH_SERVICE_SEMANTIC_SEARCH_ENABLED=true" \
> /tmp/ai-gms.env

# Boots the compose profile the smoke label selected (quickstart-consumers
# when there is no label). That profile may or may not run separate MAE/MCE
# containers. The local leg also activates quickstart-ai (Ollama); classical
# embeds in-process and does not.
# Settings come from the leg's job layer (smoke-test/env/gen-ai).
# The matrix provider's file goes to every service through
# DATAHUB_LOCAL_COMMON_ENV. The CI runner reaches Ollama via the mapped port
# at localhost:11434.
- name: Start DataHub (selected smoke profile, plus quickstart-ai on the local leg)
run: |
SIGNING_KEY=$(openssl rand -base64 32)
Expand All @@ -1666,6 +1641,8 @@ jobs:
*) COMPOSE_PROFILES+=(--profile quickstart-ai) ;;
esac
fi
# Compose skips a missing job folder silently (required: false).
[[ -d smoke-test/env/gen-ai ]] || { echo "ERROR: job folder smoke-test/env/gen-ai does not exist" >&2; exit 1; }

DATAHUB_VERSION=${{ needs.setup.outputs.tag }} \
DATAHUB_TOKEN_SERVICE_SIGNING_KEY=${SIGNING_KEY} \
Expand All @@ -1675,13 +1652,12 @@ jobs:
XPACK_SECURITY_ENABLED=plugins.security.disabled=true \
ELASTICSEARCH_USE_SSL=false \
USE_AWS_ELASTICSEARCH=true \
ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS=1 \
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=1 \
POLICY_CACHE_REFRESH_INTERVAL_SECONDS=10 \
DATAHUB_ENV_JOB_DIR=$(pwd)/smoke-test/env/gen-ai \
DATAHUB_ENV_MODE=ci \
DATAHUB_TELEMETRY_ENABLED=false \
DATAHUB_ACTIONS_IMAGE=acryldata/datahub-actions \
DATAHUB_LOCAL_ACTIONS_ENV=$(pwd)/smoke-test/test_resources/actions/actions.env \
DATAHUB_LOCAL_COMMON_ENV=/tmp/ai-gms.env \
DATAHUB_LOCAL_COMMON_ENV=$(pwd)/smoke-test/env/gen-ai/providers/${{ matrix.provider }}.env \
LOCAL_EMBEDDING_MODEL=${LOCAL_EMBEDDING_MODEL} \
docker compose \
-p datahub \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gms-lite-local-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
paths:
- "gradle.properties"
- "smoke-test/env/**"
# The AI smoke leg's job layer; the Docker-free stack never reads it.
- "!smoke-test/env/gen-ai/**"
- "smoke-test/check_env_parity.py"
- "smoke-test/env-parity-allowlist.txt"
- "smoke-test/tests/unit/test_check_env_parity.py"
Expand Down
13 changes: 4 additions & 9 deletions docker/profiles/docker-compose.gms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ x-datahub-system-update-service: &datahub-system-update-service
SPRING_KAFKA_PROPERTIES_AUTO_REGISTER_SCHEMAS: ${SPRING_KAFKA_PROPERTIES_AUTO_REGISTER_SCHEMAS:-true}
SPRING_KAFKA_PROPERTIES_USE_LATEST_VERSION: ${SPRING_KAFKA_PROPERTIES_USE_LATEST_VERSION:-true}
ENTITY_VERSIONING_ENABLED: ${ENTITY_VERSIONING_ENABLED:-true}
ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS: ${ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS:-3}
# Quickstart and CI keep timeseries and usage at 3s; the product default inside the image is 60s.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS: ${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS:-3}
# Quickstart and CI keep usage at 3s; the product default inside the image is 60s. The index
# builder and timeseries refresh intervals are in env/docker/system-update.env.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_USAGE_SECONDS: ${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_USAGE_SECONDS:-3}
DATAHUB_PRECREATE_TOPICS: ${DATAHUB_PRECREATE_TOPICS:-true}
USE_CONFLUENT_SCHEMA_REGISTRY: false
Expand Down Expand Up @@ -230,14 +229,10 @@ x-datahub-gms-service: &datahub-gms-service
# The server type stays here: a later env file's ${KEY:-default} sees the value an earlier file set.
DATAHUB_SERVER_TYPE: ${DATAHUB_SERVER_TYPE:-quickstart}
METADATA_SERVICE_AUTH_ENABLED: ${METADATA_SERVICE_AUTH_ENABLED:-true}
# DataHub's built-in MCP server (/mcp, settings page, home module); off until released.
MCP_SERVER_ENABLED: ${MCP_SERVER_ENABLED:-false}
POLICY_CACHE_REFRESH_INTERVAL_SECONDS: ${POLICY_CACHE_REFRESH_INTERVAL_SECONDS:-120}
DATAHUB_OBJECT_STORAGE_URI: ${DATAHUB_OBJECT_STORAGE_URI:-file:///tmp/datahub-object-storage}
MCP_CONSUMER_BATCH_ENABLED: ${MCP_CONSUMER_BATCH_ENABLED:-true}
# Same values as system-update, which writes them onto the index. Unset, these stay at 3s
# instead of the image default of 60s.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS: ${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS:-3}
# Same value as system-update, which writes it onto the index. Unset, it stays at 3s instead of
# the image default of 60s. The timeseries interval is in env/docker/gms.env.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_USAGE_SECONDS: ${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_USAGE_SECONDS:-3}
# Optional log shipping to a Loki-push-compatible aggregator (dormant when empty)
LOG_AGGREGATOR_ENDPOINT: ${LOG_AGGREGATOR_ENDPOINT:-}
Expand Down
11 changes: 9 additions & 2 deletions env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

Env files for GMS, system-update and optional services in DataHub's local stacks. The Docker-free stack
(`metadata-service/gms-lite/bin/gms-lite-stack.py`, started by `scripts/dev/datahub-dev.sh start --local`)
reads `common/` and `docker-free/`. The Docker compose profiles read `common/` for GMS and the files in
`docker/`; the rest of their env still lives in `docker/profiles/*` and `smoke-test/smoke.*.env`.
reads `common/` and `docker-free/`. The Docker compose profiles read `common/` for GMS, the files in
`docker/`, and the job folder that `DATAHUB_ENV_JOB_DIR` selects (`smoke-test/run-quickstart.sh`
selects `smoke-test/env`); the rest of their env still lives in `docker/profiles/*`.

## Layout

Expand All @@ -16,6 +17,7 @@ env/
extensions/<name>/ one launcher extension's values, with the same common/ and docker-free/
folders, plus any conditional folders the extension adds
smoke-test/env/ job layer for the pytest smoke tests (--job smoke-test)
smoke-test/env/gen-ai/ job layer for the AI embedding smoke leg (docker-unified.yml), compose only
e2e-test/ui/playwright/env/ job layer for Playwright (--job playwright)
```

Expand Down Expand Up @@ -86,6 +88,11 @@ file cannot give an opt-in key a different default: the earlier value wins unles
3. Check the result: `python3 metadata-service/gms-lite/bin/gms-lite-stack.py --print-env [--job smoke-test] [--mode ci]`
prints every service's final values and the file each came from (secrets redacted). Each
start writes the same report to `<data-dir>/resolved-env.json`.
4. For a smoke value, run `python3 smoke-test/check_env_parity.py`. Both stacks read
`smoke-test/env`, so it no longer catches two copies drifting apart. It catches a GMS value
that differs between the stacks without a line in `smoke-test/env-parity-allowlist.txt`, for
example a key only `smoke-test/env/docker/` sets or one compose still pins in `environment:`,
and a job key the launcher pins.

## Isolation and extensions

Expand Down
8 changes: 8 additions & 0 deletions env/docker/gms.env
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,11 @@ SERVER_SHUTDOWN_MODE=immediate

# Telemetry
DATAHUB_TELEMETRY_ENABLED=${DATAHUB_TELEMETRY_ENABLED:-true}

# Settings the smoke job layer (smoke-test/env) overrides; an `environment:` entry would mask it.
# DataHub's built-in MCP server (/mcp, settings page, home module); off until released.
MCP_SERVER_ENABLED=${MCP_SERVER_ENABLED:-false}
POLICY_CACHE_REFRESH_INTERVAL_SECONDS=${POLICY_CACHE_REFRESH_INTERVAL_SECONDS:-120}
# Same value as system-update, which writes it onto the index. Unset, it stays at 3s instead of
# the image default of 60s.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS:-3}
5 changes: 5 additions & 0 deletions env/docker/system-update.env
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ REPROCESS_DEFAULT_BROWSE_PATHS_V2=${REPROCESS_DEFAULT_BROWSE_PATHS_V2:-false}
# Zero Downtime update flags
ZDU_STAGE_10=true
ZDU_STAGE_20=true

# Index refresh intervals. Quickstart and CI keep timeseries at 3s; the product default inside the
# image is 60s. The smoke job layer (smoke-test/env/docker) sets both to 1.
ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS=${ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS:-3}
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=${ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS:-3}
2 changes: 2 additions & 0 deletions scripts/dev/tests/test_datahub_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ def test_dev_env_uses_recorded_job_as_absolute_dir(monkeypatch):
"env/common/gms.env",
"env/docker/gms.env",
"smoke-test/env/gms.env",
"smoke-test/env/docker/all.env",
"smoke-test/env/docker/gms.env",
datahub_dev.DEV_ENV_FILE.relative_to(datahub_dev.REPO_ROOT).as_posix(),
]

Expand Down
9 changes: 5 additions & 4 deletions smoke-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,11 @@ SMOKE_BATCH_PLAN=/tmp/plan.json BATCH_NUMBER=0 \

### Env parity with the Docker-free stack

The Docker quickstart reads `smoke.common.env`, the compose and GMS image env, and the inline flags
in `run-quickstart.sh`. The Docker-free stack (`datahub-dev.sh start --local --job smoke-test`)
reads a copy of them in `smoke-test/env/` and `env/common/` (see [env/README.md](../env/README.md)).
When you change a smoke value, change it in both places, then run:
Both stacks read the smoke job layer in `smoke-test/env/` and the shared values in `env/common/`
(see [env/README.md](../env/README.md)): the Docker quickstart through the job slot that
`run-quickstart.sh` selects, the Docker-free stack (`datahub-dev.sh start --local --job smoke-test`)
directly. Values only Docker reads are in `smoke-test/env/docker/`; `run-quickstart.sh` still sets
a few inline and says why. After changing a smoke value, run:

```shell
python3 smoke-test/check_env_parity.py
Expand Down
71 changes: 21 additions & 50 deletions smoke-test/check_env_parity.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
"""Compare the smoke-test service env of the Docker quickstart with the Docker-free stack's.

Docker side: `docker compose config` for the smoke profile, with the inline env of
`quickstart_compose()` in run-quickstart.sh and its env-file slots, plus the CI GMS overlay that
docker-unified.yml appends, when there is one. Needs the Docker CLI, not a running daemon.
Docker side: `docker compose config` for the smoke profile, with the exports and inline env of
`quickstart_compose()` in run-quickstart.sh, in CI mode. Compose reads the smoke job layer
(smoke-test/env) through its job slot. Needs the Docker CLI, not a running daemon.
Docker-free side: `gms-lite-stack.py --print-env --job smoke-test --mode ci`.

Every difference must match a line in env-parity-allowlist.txt (`service KEY-GLOB # reason`), and
Expand All @@ -23,7 +23,6 @@
import re
import subprocess
import sys
import tempfile
from dataclasses import dataclass
from pathlib import Path

Expand All @@ -32,8 +31,6 @@
LAUNCHER = REPO_ROOT / "metadata-service/gms-lite/bin/gms-lite-stack.py"
JOB_DIR = SMOKE_DIR / "env"
ALLOWLIST = SMOKE_DIR / "env-parity-allowlist.txt"
CI_GMS_OVERLAY = SMOKE_DIR / "env/ci/gms.env"
DOCKER_WORKFLOW = REPO_ROOT / ".github/workflows/docker-unified.yml"
# Docker-free service -> the compose service that runs it in the quickstart-consumers profile.
SERVICES = {
"gms": "datahub-gms-quickstart-consumers",
Expand Down Expand Up @@ -72,33 +69,23 @@ def docker_envs() -> dict[str, dict[str, str]]:
exports = "\n".join(
line for line in script.splitlines() if line.startswith("export ")
)
with tempfile.TemporaryDirectory() as tmp:
# docker-unified.yml appends the CI GMS values to smoke.gms.env before quickstart.
gms_env = Path(tmp) / "smoke.gms.env"
gms_env.write_text(
"\n".join(
path.read_text()
for path in (SMOKE_DIR / "smoke.gms.env", CI_GMS_OVERLAY)
if path.exists()
)
)
bash = "\n".join(
[
"set -euo pipefail",
f'DIR="{SMOKE_DIR}"',
exports,
f'export DATAHUB_LOCAL_GMS_ENV="{gms_env}"',
function[0],
"quickstart_compose config --format json",
]
)
result = subprocess.run(
["bash", "-c", bash],
cwd=SMOKE_DIR,
env={**_minimal_env(), **_SHELL_PLACEHOLDERS},
capture_output=True,
text=True,
)
bash = "\n".join(
[
"set -euo pipefail",
f'DIR="{SMOKE_DIR}"',
exports,
function[0],
"quickstart_compose config --format json",
]
)
result = subprocess.run(
["bash", "-c", bash],
cwd=SMOKE_DIR,
# CI mode, like the Docker-free side; run-quickstart.sh exports it unchanged.
env={**_minimal_env(), **_SHELL_PLACEHOLDERS, "DATAHUB_ENV_MODE": "ci"},
capture_output=True,
text=True,
)
if result.returncode != 0:
raise SystemExit(f"docker compose config failed:\n{result.stderr}")
services = json.loads(result.stdout)["services"]
Expand Down Expand Up @@ -170,22 +157,6 @@ def job_sets_pinned(
]


def ci_overlay_drift() -> list[str]:
"""CI GMS values that docker-unified.yml does not append to smoke.gms.env as written."""
if not CI_GMS_OVERLAY.exists():
return []
workflow = DOCKER_WORKFLOW.read_text()
missing = []
for raw in CI_GMS_OVERLAY.read_text().splitlines():
line = raw.strip()
if line and not line.startswith("#") and f'echo "{line}"' not in workflow:
missing.append(
f"gms {line}: in {CI_GMS_OVERLAY.relative_to(REPO_ROOT)} but not appended "
f"by {DOCKER_WORKFLOW.relative_to(REPO_ROOT)}"
)
return missing


def read_allowlist(path: Path) -> list[AllowEntry]:
entries = []
for number, raw in enumerate(path.read_text().splitlines(), start=1):
Expand Down Expand Up @@ -251,7 +222,7 @@ def main() -> int:
unlisted, allowed, stale, pins = compare(
docker_envs(), docker_free, read_allowlist(ALLOWLIST), pinned
)
unlisted = ci_overlay_drift() + job_sets_pinned(job_keys(), pinned) + unlisted
unlisted = job_sets_pinned(job_keys(), pinned) + unlisted
lines = [
f"Env parity: {len(unlisted)} unlisted difference(s), {len(stale)} stale allowlist "
f"line(s), {len(allowed)} allowed difference(s), {len(pins)} pinned by the launcher.",
Expand Down
2 changes: 1 addition & 1 deletion smoke-test/env-parity-allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gms SKIP_CREATE_USAGE_EVENT_INDICES_STEP # embedded node has no ISM plugin; the
gms ELASTICSEARCH_IMPLEMENTATION # compose anchor value; the launcher pins the engine with ELASTICSEARCH_SHIM_ENGINE_TYPE
gms ES_BULK_FLUSH_PERIOD # bulk tuning for the shared node
gms ES_BULK_REQUESTS_LIMIT # bulk tuning for the shared node
gms ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS # quickstart passes it to system-update only
gms ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS # Docker sets it on system-update only

# Processes, ports, paths and credentials.
gms GMS_LITE_INSTANCE # local stack instance name
Expand Down
4 changes: 2 additions & 2 deletions smoke-test/smoke.common.env → smoke-test/env/docker/all.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Env applied to every service in the smoke stack, including the standalone
# MAE/MCE consumers. run-quickstart.sh passes it as DATAHUB_LOCAL_COMMON_ENV.
# Smoke tests on Docker only: every service, including the standalone MAE/MCE consumers.

# wait_for_writes_to_sync() waits until the consumers' committed offsets pass the
# write, and KafkaEventConsumerFactory auto-commits every 10s. Hooks finish in
Expand All @@ -13,4 +12,5 @@ SPRING_KAFKA_CONSUMER_PROPERTIES_AUTO_COMMIT_INTERVAL_MS=500
# refresh), so a search right after wait_for_writes_to_sync() could miss the write.
# Acking after the bulk transfer makes a committed offset mean the document is
# indexed, which leaves only the refresh interval that the wait already sleeps out.
# env/docker-free/gms.env sets it for the Docker-free stack.
ES_BULK_ACK_AFTER_TRANSFER=true
2 changes: 2 additions & 0 deletions smoke-test/env/docker/frontend.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Smoke tests on Docker only: the frontend. smoke-test/env/gms.env sets the same for GMS.
THEME_V2_DEFAULT=false
2 changes: 2 additions & 0 deletions smoke-test/env/docker/gms.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Smoke tests on Docker only: GMS. env/docker-free/gms.env already sets 1 for the Docker-free stack.
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=1
4 changes: 4 additions & 0 deletions smoke-test/env/docker/system-update.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Smoke tests on Docker only: system-update. env/docker-free/gms.env already sets both to 1 for
# the Docker-free stack.
ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS=1
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=1
3 changes: 3 additions & 0 deletions smoke-test/env/gen-ai/gms.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AI embedding smoke leg (docker-unified.yml): GMS.
POLICY_CACHE_REFRESH_INTERVAL_SECONDS=10
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=1
8 changes: 8 additions & 0 deletions smoke-test/env/gen-ai/providers/classical.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Embedding provider of the AI smoke leg's classical matrix entry. The workflow passes this file as
# DATAHUB_LOCAL_COMMON_ENV, so every service reads it. The classical provider is lexical hashing,
# not semantic search; GMS refuses it without the explicit opt-in. system-update reads the same
# file, which is what adds the hash_v1_2048 field to the V3 document index before GMS starts.
EMBEDDING_PROVIDER_TYPE=classical
CLASSICAL_EMBEDDING_ACKNOWLEDGE_LEXICAL_ONLY=true
ELASTICSEARCH_SEMANTIC_SEARCH_ENABLED=true
SEARCH_SERVICE_SEMANTIC_SEARCH_ENABLED=true
8 changes: 8 additions & 0 deletions smoke-test/env/gen-ai/providers/local.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Embedding provider of the AI smoke leg's local matrix entry. The workflow passes this file as
# DATAHUB_LOCAL_COMMON_ENV, so every service reads it. GMS reaches Ollama over the Docker bridge
# network. LOCAL_EMBEDDING_MODEL comes from the workflow's shell.
EMBEDDING_PROVIDER_TYPE=local
ELASTICSEARCH_SEMANTIC_SEARCH_ENABLED=true
SEARCH_SERVICE_SEMANTIC_SEARCH_ENABLED=true
LOCAL_EMBEDDING_ENDPOINT=http://ollama:11434/v1/embeddings
LOCAL_EMBEDDING_MODEL=${LOCAL_EMBEDDING_MODEL}
3 changes: 3 additions & 0 deletions smoke-test/env/gen-ai/system-update.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AI embedding smoke leg (docker-unified.yml): system-update.
ELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDS=1
ELASTICSEARCH_INDEX_REFRESH_INTERVAL_TIMESERIES_SECONDS=1
Loading