https://github.com/gildegoma/chef-android-sdk
Development repository for Android SDK Chef Cookbook
https://github.com/gildegoma/chef-android-sdk
android-sdk chef-cookbook linux
Last synced: over 1 year ago
JSON representation
Development repository for Android SDK Chef Cookbook
- Host: GitHub
- URL: https://github.com/gildegoma/chef-android-sdk
- Owner: gildegoma
- License: apache-2.0
- Created: 2013-08-08T13:22:44.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T16:30:07.000Z (almost 9 years ago)
- Last Synced: 2025-03-14T21:26:33.369Z (over 1 year ago)
- Topics: android-sdk, chef-cookbook, linux
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/android-sdk
- Size: 92.8 KB
- Stars: 26
- Watchers: 7
- Forks: 29
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Description
-----------
This cookbook will install [Google Android SDK](http://developer.android.com/sdk/index.html).
The **default** recipe of this Chef cookbook will:
* Download and install/upgrade Android SDK (not ADT)
* Update SDK dependencies to install *some* Android platforms (`--filter` list can be customized in cookbook attributes)
* Define a default `ANDROID_HOME` environment variable (via `/etc/profile.d/...` mechanism)
* Add `ANDROID_HOME/tools` and `ANDROID_HOME/platform-tools` to default `PATH` environment variable (via `/etc/profile.d/...` mechanism)
Requirements
------------
* Chef 12.5+ (due to transitive cookbook dependencies, and to avoid a dependency on compat_resource cookbook)
* Depends on **chef-cookbooks/ark** and **chef-cookbooks/java** cookbooks
* This cookbook currently supports Ubuntu 12.04+ and CentOS 6.6+, but more Linux distributions are welcome (depending on community interests). Support for MacOS and Windows is also on the [roadmap](https://github.com/gildegoma/chef-android-sdk/pull/33) thanks to @rjaros87.
Attributes
----------
TODO (work in progress)
Installation and Usage
----------------------
This cookbook is released at https://supermarket.chef.io/cookbooks/android-sdk and its original git repository is https://github.com/gildegoma/chef-android-sdk.
* Find your favourite way ([Berkhelf](http://berkshelf.com/), [Librarian-Chef](https://github.com/applicationsonline/librarian#readme), Chef Supermarket API, Git submodule, or even tarball download) to install this cookbook (and its dependencies).
* Include the `android-sdk::default` recipe to your run list or inside your cookbook.
* Provision!
Quality Assurance
-----------------
### Continous Integration
This Cookbook is being _tasted_ by Travis CI: [](https://travis-ci.org/gildegoma/chef-android-sdk)
Automated validations are following:
* Static Analysis of Ruby code with [tailor](https://github.com/turboladen/tailor#readme) lint tool
* Static Analysis of Chef Cookbooks with [foodcritic](http://acrmp.github.com/foodcritic/) lint tool
* `knife cookbook test` in a very basic sandbox
* _PENDING:_ Expectations described with RSpec examples with [ChefSpec](https://github.com/acrmp/chefspec)
* _PENDING:_ [ServerSpec](http://serverspec.org/) integration testing
* _PENDING:_ Run true chef (matrix) on travis VM!
### Development and Testing
During development, this cookbook is locally tested in following environments:
* Development with *recent* versions of Chef-Solo and Ubuntu (with great help of Berkshelf, Vagrant and Virtualbox and other tools provided by the Chef community).
* Integration with great help of Opscode [test-kitchen](https://github.com/opscode/test-kitchen)
License and Credits
-------------------
* Thanks to:: [All Contributors](https://github.com/gildegoma/chef-android-sdk/graphs/contributors)
* Thanks to:: [Ralf Kistner](https://github.com/rkistner), for all relevant information to create original cookbook
* Thanks to:: [Andrew Rosa](https://github.com/andrewhr), for all relevant information to improve this cookbook
* Thanks to:: [Travis CI Project](http://github.com/travis-ci/travis-cookbooks), for motivating the creation of this cookbook
* Copyright:: 2013-2014, Gilles Cornu
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.