refactor(docker): move service env files to env/docker

DE
14h ago
+499-479

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_file paths under docker/profiles/, the mysql fragment, datahub-upgrade.sh, docs (including the env file link in docs/deploy/aws.md) and env/README.md use the new paths.
  • The datahub-upgrade README says its docker run --env-file examples run from docker/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 all environment: blocks are untouched.

Verification

  • Rendered docker compose config env for every profile and service, before and after: identical (33 profiles, 231 profile/service pairs). The debug-frontend profile does not render alone, before or after.
  • ./gradlew :docker:generateQuickstartComposeConfig, then git 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_file paths, the MySQL fragment, datahub-upgrade.sh (with README examples now stating they are relative to docker/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 covers env/*.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.