cloudbuild

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.

class pulumi_gcp.cloudbuild.Trigger(resource_name, opts=None, build=None, description=None, disabled=None, filename=None, ignored_files=None, included_files=None, project=None, substitutions=None, trigger_template=None, __props__=None, __name__=None, __opts__=None)

Configuration for an automated build in response to source repository changes.

To get more information about Trigger, see:

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The build object supports the following:

  • images (pulumi.Input[list])

  • steps (pulumi.Input[list])

    • args (pulumi.Input[list])

    • dir (pulumi.Input[str])

    • entrypoint (pulumi.Input[str])

    • envs (pulumi.Input[list])

    • id (pulumi.Input[str])

    • name (pulumi.Input[str])

    • secretEnvs (pulumi.Input[list])

    • timeout (pulumi.Input[str])

    • timing (pulumi.Input[str])

    • volumes (pulumi.Input[list])

      • name (pulumi.Input[str])

      • path (pulumi.Input[str])

    • waitFors (pulumi.Input[list])

  • tags (pulumi.Input[list])

The trigger_template object supports the following:

  • branchName (pulumi.Input[str])

  • commitSha (pulumi.Input[str])

  • dir (pulumi.Input[str])

  • projectId (pulumi.Input[str])

  • repoName (pulumi.Input[str])

  • tagName (pulumi.Input[str])

project = None

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

static get(resource_name, id, opts=None, build=None, create_time=None, description=None, disabled=None, filename=None, ignored_files=None, included_files=None, project=None, substitutions=None, trigger_id=None, trigger_template=None)

Get an existing Trigger resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The build object supports the following:

  • images (pulumi.Input[list])

  • steps (pulumi.Input[list])

    • args (pulumi.Input[list])

    • dir (pulumi.Input[str])

    • entrypoint (pulumi.Input[str])

    • envs (pulumi.Input[list])

    • id (pulumi.Input[str])

    • name (pulumi.Input[str])

    • secretEnvs (pulumi.Input[list])

    • timeout (pulumi.Input[str])

    • timing (pulumi.Input[str])

    • volumes (pulumi.Input[list])

      • name (pulumi.Input[str])

      • path (pulumi.Input[str])

    • waitFors (pulumi.Input[list])

  • tags (pulumi.Input[list])

The trigger_template object supports the following:

  • branchName (pulumi.Input[str])

  • commitSha (pulumi.Input[str])

  • dir (pulumi.Input[str])

  • projectId (pulumi.Input[str])

  • repoName (pulumi.Input[str])

  • tagName (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str