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

PhaseConfig

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

PhaseConfig represents the configuration for a phase in the custom canary deployment.

interface PhaseConfig {
percentage?: number;
phaseId?: string;
postdeploy?: Postdeploy;
predeploy?: Predeploy;
profiles?: string[];
verify?: boolean;
}

§Properties

§
percentage?: number
[src]

Required. Percentage deployment for the phase.

§
phaseId?: string
[src]

Required. The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

§
postdeploy?: Postdeploy
[src]

Optional. Configuration for the postdeploy job of this 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 this phase. If this is not configured, there will be no predeploy job for this phase.

§
profiles?: string[]
[src]

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

§
verify?: boolean
[src]

Whether to run verify tests after the deployment.