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

Use --env instead of --zone to start the server in development environment #2878

Merged
merged 3 commits into from
May 20, 2022

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented May 20, 2022

What changed?
Use --env instead of --zone to start the server in development environment.

development.yaml is recreated as a symlink to development-cass.yaml to allow to run default server configuration without specifing --env or --zone params.

Why?
To prevent implicit config merge behaviour.

How did you test it?
Run locally.

Potential risks
If someone manually start server with --zone parameter using existing development config files, it needs to be changed to use --env instead. Production usage of manually created zone configs is not affected (still works).

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner May 20, 2022 18:51
Copy link
Contributor

@wxing1292 wxing1292 left a comment

Choose a reason for hiding this comment

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

if someone is already using --zone will this PR cause any issue?

@@ -0,0 +1 @@
/home/shtin/github.com/alexshtin/temporal/config/development-cass.yaml
Copy link
Member Author

Choose a reason for hiding this comment

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

🤦

@alexshtin
Copy link
Member Author

if someone is already using --zone will this PR cause any issue?

Updated "Risks" section.

@alexshtin alexshtin merged commit faa215f into temporalio:master May 20, 2022
@alexshtin alexshtin deleted the feature/remove-config-zone branch May 20, 2022 20:02
Sushisource pushed a commit to Sushisource/temporal that referenced this pull request Jun 7, 2022
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.

None yet

2 participants