Skip to content

Change defaults for SCYLLA_URI* env variables#1555

Merged
Lorak-mmk merged 3 commits intoscylladb:mainfrom
Lorak-mmk:scylla_uri_defaults
Jan 19, 2026
Merged

Change defaults for SCYLLA_URI* env variables#1555
Lorak-mmk merged 3 commits intoscylladb:mainfrom
Lorak-mmk:scylla_uri_defaults

Conversation

@Lorak-mmk
Copy link
Collaborator

We pretty much always run everything with our dockerized cluster. It is frustrating to have to pass those variables - it will be much better if we just switch the defaults.

Fixes: #1553
Ref: #1552

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

@Lorak-mmk Lorak-mmk requested a review from wprzytula January 16, 2026 11:43
@Lorak-mmk Lorak-mmk added this to the 1.5.0 milestone Jan 16, 2026
@Lorak-mmk Lorak-mmk self-assigned this Jan 16, 2026
@github-actions
Copy link

github-actions bot commented Jan 16, 2026

cargo semver-checks found no API-breaking changes in this PR.
Checked commit: 4532bdc

@Lorak-mmk Lorak-mmk force-pushed the scylla_uri_defaults branch from 9daaab6 to f138cd8 Compare January 16, 2026 11:59
We bascially always run tests / examples against our dockerized cluster.
It will greatly improve ergonomics to not have to pass the values
directly.
This aims to make development easier. Typically, developers run the
cluster from our docker compose, using `make up`. It would be great for
default URIs to match that, in order to not require passing
`SCYLLA_URI`. This requires changing CI: either to pass SCYLLA_URI, or
to use the docker cluster. For consistency, using docker cluster seemes
like a better option to me.
Now that the default match the docker IPs (172.42.0.2/3/4) we don't need
to pass them explicitly.
@Lorak-mmk Lorak-mmk force-pushed the scylla_uri_defaults branch from f138cd8 to 4532bdc Compare January 19, 2026 09:42
@Lorak-mmk Lorak-mmk requested a review from wprzytula January 19, 2026 09:42
@Lorak-mmk Lorak-mmk merged commit ebf3bd1 into scylladb:main Jan 19, 2026
12 checks passed
@wprzytula wprzytula mentioned this pull request Jan 29, 2026
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.

Make SCYLA_URI defaults match docker

2 participants