Skip to content

Commit fc53242

Browse files
authored
chore: Don't enforce stage match for non-CI work (#228)
#206 Added logic to better exclude regions being built from CI, it also included checks for CLI apply, render, etc which is annoying to always have to type. Ignoring the stage here doesn't impact CI so let's remove it
1 parent 5fff280 commit fc53242

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

sentry_kube/cli/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,6 @@ def main(ctx, *, cluster_name, root, customer, quiet, no_sentry, stage):
150150
die(
151151
f"""Invalid region specified, must be one of:
152152
{newline_customers}
153-
"""
154-
)
155-
156-
if customer_config.stage != stage:
157-
die(
158-
f"""Region '{customer_name}' has stage '{customer_config.stage}', not '{stage}'.
159-
160-
Valid regions for stage '{stage}':
161-
{newline_customers}
162153
"""
163154
)
164155

0 commit comments

Comments
 (0)