Skip to content

Commit

Permalink
deployer: add deployer:skip-deploy-hubs to allow support only deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 9, 2024
1 parent c93d0e4 commit 85518cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deployer/commands/generate/helm_upgrade/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def generate_hub_matrix_jobs(
"""
if pr_labels and "deployer:skip-deploy" in pr_labels:
return []
if pr_labels and "deployer:skip-deploy-hubs" in pr_labels:
return []

# Empty list to store all the matrix job definitions in
matrix_jobs = []
Expand Down
2 changes: 1 addition & 1 deletion deployer/commands/generate/helm_upgrade/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def helm_upgrade_jobs(
),
pr_labels: str = typer.Argument(
"[]",
help="JSON formatted list of PR labels, where 'deployer:skip-deploy' is respected.",
help="JSON formatted list of PR labels, where 'deployer:skip-deploy' and 'deployer:skip-deploy-hubs' are respected.",
),
):
"""
Expand Down

0 comments on commit 85518cf

Please sign in to comment.