Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Latest commit

 

History

History
68 lines (50 loc) · 2.56 KB

README.md

File metadata and controls

68 lines (50 loc) · 2.56 KB

opscode-push-jobs Omnibus project

This project creates full-stack platform-specific packages for opscode-push-jobs!

Kitchen-based Build Environment

Every Omnibus project ships will a project-specific Berksfile that will allow you to build your omnibus projects on all of the projects listed in the .kitchen.yml. You can add/remove additional platforms as needed by changing the list found in the .kitchen.yml platforms YAML stanza.

This build environment is designed to get you up-and-running quickly. However, there is nothing that restricts you to building on other platforms. Simply use the omnibus cookbook to setup your desired platform and execute the build steps listed above.

The default build environment requires Test Kitchen and VirtualBox for local development. Test Kitchen also exposes the ability to provision instances using various cloud providers like AWS, DigitalOcean, or OpenStack. For more information, please see the Test Kitchen documentation.

Once you have tweaked your .kitchen.yml (or .kitchen.local.yml) to your liking, you can bring up an individual build environment using the kitchen command.

NOTE: Test Kitchen should be installed external to the local Ruby bundle. Please either use ChefDK or install the latest test-kitchen from Rubygems.

bundle install
kitchen converge default-ubuntu-1204

Then login to the instance and build the project as described in the Usage section:

kitchen login default-ubuntu-1204

sudo su -
source /home/vagrant/load-omnibus-toolchain.sh
cd /home/vagrant/chef-push-server/omnibus
bundle install
bundle exec omnibus build opscode-push-jobs-server

For a complete list of all commands and platforms, run kitchen list or kitchen help.

License

All files in the repository are licensed under the Apache 2.0 license. If any file is missing the License header it should assume the following is attached;

Copyright 2014 Chef Software 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.