Skip to content

Commit

Permalink
taking into account review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Soule BA <[email protected]>
  • Loading branch information
souleb committed Mar 7, 2024
1 parent 0e85963 commit 80d2a7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/production-promotion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: production-promotion
on:
repository_dispatch:
types:
- HelmRelease/redis.backend
- HelmRelease/memcached.backend
- HelmRelease/podinfo.frontend
- HelmRelease/* # Trigger on HelmRelease events

permissions:
contents: write
Expand Down
8 changes: 3 additions & 5 deletions components/backend/staging/production-promotion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ spec:
name: github
summary: "Trigger promotion"
eventMetadata:
env: staging
cluster: staging-1
env: ${ENVIRONMENT}
cluster: ${CLUSTER_NAME}
eventSeverity: info
eventSources:
- kind: HelmRelease
name: redis
- kind: HelmRelease
name: memcached
name: '*'
inclusionList:
- ".*succeeded.*"
6 changes: 3 additions & 3 deletions components/frontend/staging/production-promotion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
name: github
summary: "Trigger promotion"
eventMetadata:
env: staging
cluster: staging-1
env: ${ENVIRONMENT}
cluster: ${CLUSTER_NAME}
eventSeverity: info
eventSources:
- kind: HelmRelease
name: podinfo
name: '*'
inclusionList:
- ".*succeeded.*"

0 comments on commit 80d2a7b

Please sign in to comment.