Skip to content

Commit

Permalink
Merge pull request #5181 from GeorgianaElena/exclude-tempaltes
Browse files Browse the repository at this point in the history
Exclude templates from triggering new hub deploys
  • Loading branch information
GeorgianaElena authored Nov 22, 2024
2 parents d70b405 + e6105d0 commit 46e6282
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ on:
- "!deployer/commands/generate/dedicated_cluster/**"
- "!deployer/commands/generate/hub_asset/**"
- "!deployer/commands/generate/resource_allocation/**"
- "!config/clusters/templates/**"
- requirements.txt
- .github/actions/setup-deploy/**
- helm-charts/**
- config/clusters/**
# Exclude the template configuration files
- "!config/clusters/templates"
- "!config/clusters/templates/**"
- "!terraform/aws/projects/template.tfvars"
- "!terraform/gcp/projects/cluster.tfvars.template"
- "!eksctl/template.jsonnet"

pull_request:
branches:
- main
Expand All @@ -44,7 +47,10 @@ on:
- helm-charts/**
- config/clusters/**
# Exclude the template configuration files
- "!config/clusters/templates"
- "!config/clusters/templates/**"
- "!terraform/aws/projects/template.tfvars"
- "!terraform/gcp/projects/cluster.tfvars.template"
- "!eksctl/template.jsonnet"

# Queue triggered executions of this workflow stemming from pushes to avoid
# deployment conflicts.
Expand Down

0 comments on commit 46e6282

Please sign in to comment.