Class: Google::Cloud::Deploy::V1::CustomCanaryDeployment

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

CustomCanaryDeployment represents the custom canary deployment configuration.

Defined Under Namespace

Classes: PhaseConfig

Instance Attribute Summary collapse

Instance Attribute Details

#phase_configs::Array<::Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig>

Returns Required. Configuration for each phase in the canary deployment in the order executed.

Returns:



264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 264

class CustomCanaryDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # PhaseConfig represents the configuration for a phase in the custom
  # canary deployment.
  # @!attribute [rw] phase_id
  #   @return [::String]
  #     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])?$`.
  # @!attribute [rw] percentage
  #   @return [::Integer]
  #     Required. Percentage deployment for the phase.
  # @!attribute [rw] profiles
  #   @return [::Array<::String>]
  #     Skaffold profiles to use when rendering the manifest for this phase.
  #     These are in addition to the profiles list specified in the
  #     `DeliveryPipeline` stage.
  # @!attribute [rw] verify
  #   @return [::Boolean]
  #     Whether to run verify tests after the deployment.
  # @!attribute [rw] predeploy
  #   @return [::Google::Cloud::Deploy::V1::Predeploy]
  #     Optional. Configuration for the predeploy job of this phase. If this is
  #     not configured, there will be no predeploy job for this phase.
  # @!attribute [rw] postdeploy
  #   @return [::Google::Cloud::Deploy::V1::Postdeploy]
  #     Optional. Configuration for the postdeploy job of this phase. If this is
  #     not configured, there will be no postdeploy job for this phase.
  class PhaseConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end