nytimes / drone-gae

Drone plugin for managing deployments and services on Google App Engine (GAE)
https://open.nytimes.com/continuous-deployment-to-google-cloud-platform-with-drone-7078fe0c2eaf
Apache License 2.0
97 stars 26 forks source link
appengine ci-cd drone drone-plugin gae gcp go

drone-gae

Build Status

Drone plugin to manage deployments on Google App Engine.

Links

Overview

This plugin is a simple wrapper around the appcfg.py and gcloud app commands, which makes it capable of making deployments in the standard environment or flexible environments with any language available.

The action configuration variable (shown below) can accept any action that you would normally call on appcfg.py or gcloud app. So far, it has been tested with update to deploy and set_default_version to migrate traffic in appcfg and gcloud app deploy for gcloud app, but it should also be capable of running helpful ops commands like update_indexes and update_cron.

To see a full list of configuration settings for the project, check out the GAE struct declaration.

To see the App Engine SDK and gcloud versions, check out the Dockerfile dependency download.

Drone versions compatibility

This plugin supports Drone 1.0+.

For usage, see these docs and main.go.