Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

appengine (9) Versions 0.0.3

Configures appengine

Policyfile
Berkshelf
Knife
cookbook 'appengine', '= 0.0.3', :supermarket
cookbook 'appengine', '= 0.0.3'
knife supermarket install appengine
knife supermarket download appengine
README
Dependencies
Quality 0%

appengine cookbook

Build Status

Description

Manage deployment and configuration of a AppEngine application from Google.

Requirements

  • Ubuntu 14.04 +
  • CentOS 7.2 +

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.

  appengine "formal-platform-134918" do
    app_id "formal-platform-134918" # this line is optional
    service_id 'default'
    bucket_name 'chef-conf16-appengine'
    service_account_json   ::File.expand_path("/tmp/gcloud/service_account.json")
    source '/tmp/hello_world'
    action :create
  end

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, you should add it to files/default/service_account.json in this cookbook

source: location for the source repo to clone the repository

action:
- :create creates the app, uploads the files from the repo, then activates the app, this is the default action
- :uploaduploads the files from the repo
- :delete deletes the app
- :activate activates the app
- :stage creates the app, uploads the files from the repo

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](.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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.0.3 failed this metric

FC005: Avoid repetition of resource declarations: /tmp/6543b07857c413db2103b1cf/appengine/recipes/default.rb:20
FC023: Prefer conditional attributes: /tmp/6543b07857c413db2103b1cf/appengine/recipes/default.rb:71