Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CanaryDeployment

import type { CanaryDeployment } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";

CanaryDeployment represents the canary deployment configuration

interface CanaryDeployment {
percentages?: number[];
postdeploy?: Postdeploy;
predeploy?: Predeploy;
verify?: boolean;
}

§Properties

§
percentages?: number[]
[src]

Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.

§
postdeploy?: Postdeploy
[src]

Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.

§
predeploy?: Predeploy
[src]

Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.

§
verify?: boolean
[src]

Whether to run verify tests after each percentage deployment.