chef-partners/appengine_cookbook

Name: appengine_cookbook

Owner: Chef Partners

Description: Chef Resources to control Google AppEngine

Created: 2016-06-21 17:32:49.0

Updated: 2016-06-22 22:30:54.0

Pushed: 2016-07-11 23:48:00.0

Homepage: https://appengine.google.com

Size: 34

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

appengine cookbook

Build Status

Description

Manage deployment and configuration of a AppEngine application from Google.

Requirements
Usage

Add the appengine cookbook to your run_list, to make sure that the dependancies are there. After this we have a Custom Resource to create appengine resource. For instance, the following will create "formal-platform-134918" with the following settings.

pengine "formal-platform-134918" do
app_id "formal-platform-134918" # this line is optional
app_yaml "#{node.default['appengine']['source_location']}/app.yaml"
service_id 'default'
bucket_name 'chef-conf16-appengine'
service_account_json   ::File.expand_path("/tmp/gcloud/service_account.json")
source node.default['appengine']['source_location']
action :create # this is default, so optional, but you can do the other actions here
d

app_id: the name of your application id from https://appengine.google.com/

service_id: unless you know what it is, you should set it to default

bucket_name: the storage location for your appengine resource

service_account: the service account json from [here]( https://console.cloud.google.com/iam-admin/serviceaccounts/project?project=&authuser=1), you should add it to files/default/service_account.json in this cookbook

source: location for the source repo to clone the repository

action:

Recipe
default

Installs the prerequisites to interact with the Google Appengine, including packages, and the gems required.

Testing
ChefSpec

There is basic coverage for the default recipe.

InSpec

TBD

Test Kitchen

The included .kitchen.yml runs the default master deployment in a generic fashion.

License and Author

Copyright 2016 Chef Software, Inc.

Copyright 2016 Google, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.