GitHub

Managing deployment

Continuous Integration (CI)

You would like to use Outblocks with your Continues integration service in most situations.

Creating service account

To set up CI you will need credentials; therefore you need to create a service account:

# default name is 'outblocks-ci'
ok gcp-create-service-account -n <name of the account>

As a response, you will get a key in JSON format, e.g.:

To use it in CI or locally, add the following environment variable:

GCLOUD_SERVICE_KEY='<your key in JSON>'

Now you should set this variable in your CI service to enable access to your infrastructure provider by Outblocks CLI during the deployment process.

Configuring CI

Circle CI - Orb

Orbs are shareable packages of CircleCI configuration you can use to simplify your builds, and Outblocks provides its own Outblocks Orb.

Previous
Logs