Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion release/clouddeploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This directory contains the Google Cloud Deploy configuration files for the Nomu
## Files

### `delivery-pipeline.yaml`
Defines the `DeliveryPipeline` resource named `deploy-nomulus` and its associated `Automation` resource (`deploy-nomulus/auto-advance-canary`). It sets up the serial pipeline for rolling out changes to different targets and automatically advancing canary rollouts.
Defines the `DeliveryPipeline` resource named `deploy-nomulus` and its associated `Automation` resources. It sets up the serial pipeline for rolling out changes to different targets, automatically promoting releases, and automatically advancing canary rollouts.

### Target Configurations (e.g., `crash-target.yaml`)
Files matching this format define the `Target` resources for Cloud Deploy. They specify the GKE cluster and other environment-specific settings for deployment.
Expand Down
34 changes: 33 additions & 1 deletion release/clouddeploy/delivery-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,23 @@ rules:
---
apiVersion: deploy.cloud.google.com/v1
kind: Automation
metadata:
name: deploy-nomulus/auto-advance-canary-production
description: Automatically advances rollouts from canary-1 to canary-5 phase in production.
# Placeholder: Replace with project service account.
serviceAccount: serviceAccount
selector:
targets:
- id: production
rules:
- advanceRolloutRule:
id: advance-canary-phases
sourcePhases:
- "canary-1"
wait: 0m
---
apiVersion: deploy.cloud.google.com/v1
kind: Automation
metadata:
name: deploy-nomulus/auto-promote-crash-to-sandbox
description: Automatically promotes release to sandbox after successful rollout in crash.
Expand All @@ -290,4 +307,19 @@ rules:
id: promote-crash-to-sandbox
destinationTargetId: "sandbox"
wait: 0m

---
apiVersion: deploy.cloud.google.com/v1
kind: Automation
metadata:
name: deploy-nomulus/auto-promote-sandbox-to-production
description: Automatically promotes release to production after successful rollout in sandbox.
# Placeholder: Replace with project service account.
serviceAccount: serviceAccount
selector:
targets:
- id: sandbox
rules:
- promoteReleaseRule:
id: promote-sandbox-to-production
destinationTargetId: "production"
wait: 0m
Loading