Sample of how to deploy from Circle CI and run an end-to-end test

This repo demonstrates how to deploy to Google Cloud from a Circle CI file and run an end to end test (in e2e_test.py) against a staging environment.

See the managed_vms branch for a similar repo and Circle deployment using Managed VMs.

Prerequisites

First, you must create a Cloud project. Two types of credentials are required. The first is a service account to authorize the gcloud command line tool in the Circle CI environment, which is used to deploy the project. The second is an API key used to access the Books API.

Both of the credentials need to be base64 encoded and added to the Circle CI project as an environment variable.

Contributing changes

Licensing

Copyright (C) 2015 Google Inc.