Google Cloud Integration

Google Cloud Integration is used to connect Shippable DevOps Assembly Lines platform to Google Cloud and manage entities and services provided by Google Cloud.

Adding account integration

You can create this from the integrations page by following instructions here: Adding an account integration.

This is the information you would require to create this integration:

  • Integration Type -- Google Cloud
  • Name -- Friendly name for the integration
  • JSON Key -- JSON Security Key for Google Cloud

Usage in CI

Note: Since this is integration is of generic type, it can be plugged into hub section in the following use cases:

Resources that use this Integration in Assembly Lines

Resources are the building blocks of assembly lines and some types of resources refer to integrations by their names. The following resource types can be created with a Google Cloud integration.

Default Environment Variables

When you create a resource with this integration, and use it as an IN or OUT for a runSh or runCI job, a set of environment variables is automatically made available that you can use in your scripts.

<NAME> is the the friendly name of the resource with all letters capitalized and all characters that are not letters, numbers or underscores removed. For example, my-key-1 will be converted to MYKEY1, and my_key_1 will be converted to MY_KEY_1.

Environment variable Description
<NAME>_INTEGRATION_JSON_KEY JSON key supplied in the integration

Shippable Utility Functions

To make it easy to use these environment variables, the platform provides a command line utility that can be used to work with these values.

How to use these utility functions is documented here.

Further Reading