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

RSS

foreflight_build_agent (1) Versions 0.4.60

This cookbook builds a Mac OS X TeamCity build agent with Dropbox, TextMate2, Java, Appium and Caucho's Resin installed. At the time of this writing it does require you to install either Xcode or the Xcode command line tools.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'foreflight_build_agent', '~> 0.4.60'
cookbook 'foreflight_build_agent', '~> 0.4.60', :supermarket
knife cookbook site install foreflight_build_agent
knife cookbook site download foreflight_build_agent
README
Dependencies
Quality

Build Agent Cookbook

About

This cookbook builds a Mac OS X TeamCity build agent with Dropbox, TextMate2, Java, Appium and Caucho's Resin installed. At the time of this writing it does require you to install either Xcode or the Xcode command line tools.

Quick Installation

From your freshly formatted Mac:

First install Xcode command line tools. Keep in mind you'll need Xcode itself to build OS X and iOS projects, the command line tools will not suffice. I have not found a way to do this programmatically yet, so I've just been installing via the App Store.

xcode-select --install

Then run this command (substitute the URL for your TeamCity server):

curl -fsSL https://raw.githubusercontent.com/foreflight/foreflight_build_agent/master/setup.sh | sudo BUILD_SERVER="http://build.example.com" sh

Advanced Installation

If you want to get more advanced, use an encrypted data bag named "apple_dev_portal" and create an item named similar to below. This will log in to Apple's dev portal for each item, automatically download latest provisioning profiles each time chef is run. Using the certificate_manage recipe allows you to save the private key in the data bag as well.

{
  "id": "foreflightmobile",
  "password": "password",
  "username": "dev_portal_account@example.com",
  "certificates": [
    "com.foreflight.ForeFlightMobile",
    "ForeFlight LLC"
  ],
  key: "<snip>"
}

Test Kitchen

Getting Test Kitchen to run Mac OS X is another story entirely, so for now, here is a screenshot of the tests passing. screenshot of tests passing

License

Copyright:: 2015, ForeFlight LLC, 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

python >= 0.0.0
ssh-keys >= 0.0.0
dmg >= 0.0.0
certificate >= 0.0.0
sudo >= 0.0.0
osx >= 0.0.0
sprout-osx-settings >= 0.0.0
sprout-osx-apps >= 0.0.0
sprout-base >= 0.0.0
nodejs >= 0.0.0
runit >= 0.0.0
teamcity >= 0.0.0
java >= 0.0.0
homebrew >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.4.60 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.4.60 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.4.60 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: foreflight_build_agent/recipes/default.rb:6
FC034: Unused template variables: foreflight_build_agent/templates/default/appium_launchd.plist.erb:1
FC039: Node method cannot be accessed with key: foreflight_build_agent/attributes/default.rb:22
FC039: Node method cannot be accessed with key: foreflight_build_agent/recipes/default.rb:38
FC064: Ensure issues_url is set in metadata: foreflight_build_agent/metadata.rb:1
FC065: Ensure source_url is set in metadata: foreflight_build_agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: foreflight_build_agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: foreflight_build_agent/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.4.60 passed this metric

No Binaries Metric
            

0.4.60 passed this metric

Publish Metric
            

0.4.60 passed this metric

Supported Platforms Metric
            

0.4.60 passed this metric

Testing File Metric
            

0.4.60 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.4.60 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number