-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cluster default env #678
Cluster default env #678
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @carolineechen and the rest of your teammates on |
b033875
to
615e2ed
Compare
615e2ed
to
700f66c
Compare
700f66c
to
3b6945c
Compare
3b6945c
to
b950de1
Compare
a7ed140
to
ab4625f
Compare
b950de1
to
da17024
Compare
e204d8a
to
ec01315
Compare
da17024
to
b014294
Compare
726f4d8
to
8d164d2
Compare
b014294
to
a459ec9
Compare
3f399c8
to
5e0124b
Compare
a459ec9
to
9180cf2
Compare
569227b
to
33860f2
Compare
9180cf2
to
a808817
Compare
ac1c56f
to
61759b6
Compare
a8ad009
to
5508282
Compare
61759b6
to
a67e4cb
Compare
5508282
to
b5b5e3f
Compare
aed9159
to
4321a16
Compare
a67e4cb
to
d569840
Compare
4321a16
to
35c4575
Compare
@@ -148,6 +148,9 @@ def _print_status(config): | |||
|
|||
first_info_to_print = ["den_auth", "server_connection_type", "server_port"] | |||
|
|||
if config.get("default_env") and isinstance(config["default_env"], Dict): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should probably be if config.get("default_env") is not None and ...
@@ -205,12 +206,10 @@ def to( | |||
new_env.secrets = self._secrets_to(system) | |||
|
|||
if isinstance(system, Cluster): | |||
if new_env.name == Env.DEFAULT_NAME: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confused on this check
if self.is_up(): | ||
self.check_server() | ||
if not self.get(self._default_env.name): | ||
self._sync_default_env_to_cluster() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of doing sync and then put resource, could I not just do .to
d569840
to
2710b3a
Compare
35c4575
to
cf98546
Compare
default env flow
behavior
TODOs (can be in follow up?)