Skip to content

Commit

Permalink
Merge pull request #5301 from sgibson91/ci-fix-2
Browse files Browse the repository at this point in the history
Use the correct object in filtering logic
  • Loading branch information
sgibson91 authored Dec 19, 2024
2 parents 965dfc5 + c905254 commit 329263c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,14 @@ jobs:
filtered_staging_jobs = [
staging_job
for staging_job in staging_jobs
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in staging_jobs.keys()
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in outputs.keys()
and outputs[f"failure_{staging_job['cluster_name'].replace('.', '-')}"] != "true"
]
filtered_prod_jobs = [
prod_job
for prod_job in prod_jobs
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in staging_jobs.keys()
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in outputs.keys()
and outputs[f"failure_{prod_job['cluster_name'].replace('.', '-')}"] != "true"
]
except KeyError as ke:
Expand Down

0 comments on commit 329263c

Please sign in to comment.