ExecutionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of the environment to use when calling Skaffold.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
usages |
MutableSequence[google.cloud.deploy_v1.types.ExecutionConfig.ExecutionEnvironmentUsage]
Required. Usages when this configuration should be applied. |
default_pool |
google.cloud.deploy_v1.types.DefaultPool
Optional. Use default Cloud Build pool. This field is a member of oneof _ execution_environment .
|
private_pool |
google.cloud.deploy_v1.types.PrivatePool
Optional. Use private Cloud Build pool. This field is a member of oneof _ execution_environment .
|
worker_pool |
str
Optional. The resource name of the WorkerPool , with the
format
projects/{project}/locations/{location}/workerPools/{worker_pool} .
If this optional field is unspecified, the default Cloud
Build pool will be used.
|
service_account |
str
Optional. Google service account to use for execution. If unspecified, the project execution service account ( |
artifact_storage |
str
Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. |
execution_timeout |
google.protobuf.duration_pb2.Duration
Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used. |
Classes
ExecutionEnvironmentUsage
ExecutionEnvironmentUsage(value)
Possible usages of this configuration.
Values: EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED (0): Default value. This value is unused. RENDER (1): Use for rendering. DEPLOY (2): Use for deploying and deployment hooks. VERIFY (3): Use for deployment verification. PREDEPLOY (4): Use for predeploy job execution. POSTDEPLOY (5): Use for postdeploy job execution.