Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support temporal dynamic config args #1683

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

iand675
Copy link
Contributor

@iand675 iand675 commented Jan 23, 2025

Temporal servers have a bunch of dynamic configuration options they support, and we need them for testing purposes.

(lib.forEach cfg.namespaces (namespace: "--namespace=${namespace}")) ++
(lib.optionals (!cfg.state.ephemeral) [ "--db-filename=${databaseFile}" ]) ++
(lib.mapAttrsToList (name: value: "--sqlite-pragma ${name}=${value}") cfg.state.sqlite-pragma);
commandArgs =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatic nix formatting here.

@domenkozar domenkozar merged commit 4d65397 into cachix:main Jan 24, 2025
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.

2 participants