Skip to content

Commit

Permalink
Fix job name references in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Dec 17, 2024
1 parent 36dbc00 commit e3e6ec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ jobs:
# filtering out any deployment to a cluster with a failed staging hub job.
filter-failed-staging-jobs:
runs-on: ubuntu-latest
needs: [generate-jobs, filter-failed-support-jobs, upgrade-staging]
needs: [generate-jobs, filter-failed-support-jobs, upgrade-staging-hubs]
if: |
!cancelled() &&
(github.event_name == 'push' && contains(github.ref, 'main')) &&
Expand All @@ -523,7 +523,7 @@ jobs:
import json
prod_jobs = json.loads(r"""${{ needs.filter-failed-support-jobs.outputs.filtered-prod-hub-matrix-jobs }}""")
outputs = json.loads(r"""${{ toJson(needs.upgrade-staging.outputs) }}""")
outputs = json.loads(r"""${{ toJson(needs.upgrade-staging-hubs.outputs) }}""")
try:
filtered_prod_jobs = [
Expand All @@ -532,7 +532,7 @@ jobs:
if outputs[f"failure_{prod_job['cluster_name'].replace('.', '-')}"] != "true"
]
except KeyError:
print(f"The {cluster_name} cluster wasn't found in the `upgrade-staging.outputs` list. Please add it before continuing!")
print(f"The {cluster_name} cluster wasn't found in the `upgrade-staging-hubs.outputs` list. Please add it before continuing!")
env_file = os.getenv("GITHUB_ENV")
with open(env_file, "a") as f:
Expand Down

0 comments on commit e3e6ec2

Please sign in to comment.