Repository navigation
Add a clickhouse-client feature - #17
Merged
Merged
Conversation
Installs clickhouse-client from ClickHouse's signed stable apt repository, latest by default or a pinned package version. A pinned client also pins clickhouse-common-static, which the client depends on at exactly its own version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
benwilson512
force-pushed
the
benwilson512-clickhouse-client-feature
branch
from
December 1, 2026 17:03
0394b76 to
41ef493
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ghcr.io/CargoSense/devcontainer-features/clickhouse-client:1, which installsclickhouse-clientfrom ClickHouse's signedstableapt repository. It follows thegoogle-cloud-clifeature: it adds the keyring and apt source, installs the package, and removes curl and gpg afterwards if it had to install them.Options:
versionislatest(the default) or a full package version such as26.8.51.4. A pinned client also pinsclickhouse-common-staticto the same version, becauseclickhouse-clientdepends on exactly its own version of that package and apt won't resolve a mismatch.Size: the client ships inside
clickhouse-common-static(the single ClickHouse binary), which is about 615 MB installed. ClickHouse doesn't publish a smaller client-only package. The README says so.Testing
test/clickhouse-client/has the autogenerated test plus two scenarios ondebian:trixie:latest, and one pinned to26.8.51.4that asserts the version. The feature is in both matrices intest.yml, so this PR's CI runs them.install.shwithVERSION=latestsucceeds. A simulated install of the pinned pair resolves, and the client pinned without the common package fails with the unmetclickhouse-common-static (= 26.8.51.4)dependency the script avoids.shellcheckpasses with the repo's.shellcheckrc.Merging publishes the feature through
release.yml.🤖 Generated with Claude Code