refactor(docker): move service env files to env/docker
Ā
DE
14h ago+499+499+012345678901234567890123456789-479-479-012345678901234567890123456789
Summary
Pure move of the six DataHub service env files from docker/<service>/env/docker.env to env/docker/<service>.env (gms, system-update, frontend, actions, mae-consumer, mce-consumer). No values change. This is the first step of layering Docker env under env/.
- Old paths stay as relative symlinks for one release.
- Compose
env_filepaths underdocker/profiles/, the mysql fragment,datahub-upgrade.sh, docs (including the env file link indocs/deploy/aws.md) andenv/README.mduse the new paths. - The
datahub-upgradeREADME says itsdocker run --env-fileexamples run fromdocker/datahub-upgrade/, since the env file path is relative to that folder. - Infra env files, variant files (
docker.postgres.env,docker-without-neo4j.env, ...) and allenvironment:blocks are untouched.
Verification
- Rendered
docker compose configenv for every profile and service, before and after: identical (33 profiles, 231 profile/service pairs). Thedebug-frontendprofile does not render alone, before or after. ./gradlew :docker:generateQuickstartComposeConfig, thengit diff --exit-code docker/quickstart/: clean.python3 smoke-test/check_env_parity.py: exit 0.- No stack was started.
Checklist
- The PR conforms to DataHub's Contributing Guideline (PR title format)
- Links to related issues (if applicable): n/a
- Tests for the changes have been added/updated (if applicable): n/a, pure move
- Docs related to the changes have been added/updated
- Breaking change entry: n/a, old paths still resolve through symlinks
š¤ Generated with Claude Code
Summary by cubic
Moves the DataHub Docker service env files from docker/<service>/env/docker.env to env/docker/<service>.env, the first step of consolidating env layering under env/. The old paths remain as relative symlinks for one release, so existing references keep working.
Details
- Compose
env_filepaths, the MySQL fragment,datahub-upgrade.sh(with README examples now stating they are relative todocker/datahub-upgrade/), and docs point to the new files. - CI path filters now watch
env/so PRs touching only these files still run the Docker build, backend, frontend, actions, and smoke jobs; the docs impact env check now coversenv/*.env. - Infra env files, variant files, and
environment:blocks are untouched.
Verified by rendering docker compose config for all 33 profiles (231 service pairs) with identical output before and after, plus quickstart config generation and env parity checks.