Skip to content

deploy: use dedicated ClickHouse migrator image - #20

Open
batond wants to merge 1 commit into
mainfrom
codex/use-clickhouse-migrator-image
Open

deploy: use dedicated ClickHouse migrator image#20
batond wants to merge 1 commit into
mainfrom
codex/use-clickhouse-migrator-image

Conversation

@batond

@batond batond commented Jul 22, 2026

Copy link
Copy Markdown

Summary

  • run the ClickHouse migration job from the dedicated migrator image in Helm and Docker Compose
  • keep the Postgres migrator on the Enterprise app image
  • add independent Helm values and a CLICKHOUSE_MIGRATOR_IMAGE Compose override
  • update the image bump script so future app SHA bumps also select <sha>-clickhouse-migrator
  • update upgrade and troubleshooting documentation

Image

ghcr.io/git-ai-project/git-ai-web-ee:7160143-clickhouse-migrator

This immutable tag is published by next-element-inc/monorepo#674 from the existing GHCR package. The image defines the migration command itself, so explicit command overrides in Helm and Compose are no longer needed.

Validation

  • Helm lint passes
  • rendered the ClickHouse Job with dependencies and confirmed the dedicated image, environment, and resources
  • Docker Compose config parses and resolves the dedicated image
  • image bump script passes bash -n
  • the image ran all 34 migrations against ClickHouse 25.8.9.20, skipped all 34 on a second run, and rejected a changed applied checksum

Rollout order

Merge after monorepo#674 has published the tag and before monorepo#675 removes the ClickHouse payload from the app image.

@batond
batond marked this pull request as ready for review July 22, 2026 06:18
devin-ai-integration[bot]

This comment was marked as resolved.

@batond
batond force-pushed the codex/use-clickhouse-migrator-image branch from c0d771e to b943d9d Compare July 22, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant