Benchmark infrastructure setup
This cookbook makes your favorite breakfast sandwich.
- Install RVM from official page.
- Install with rvm, ruby 2.1.5
rvm install ruby-2.1.5
- Install bundler:
gem install bundler
- Install dependencies from the root folder of this project
bundle install
berks install
No external dependencies at this time. Please see Installation section.
Key | Type | Description |
---|---|---|
['install_alfresco'] | Recipe | Install alfresco on a local vagrant machine |
There are many recipes available here, so just include alfresco-benchmark-chef
with appropriate recipes in your node's run_list
:
This will run the apt-get command on the system.
{
"name":"my_node",
"run_list": [
"recipe[alfresco-benchmark-chef][apt]"
]
}
This will run the apt-get command on the system.
{
"name":"my_node",
"run_list": [
"recipe[alfresco-benchmark-chef][install_alfresco]"
]
}
Take a look to .kitchen.yml from this repository for more examples.
- Just run
kitchen list
to see available instances with recipes available to converge. This cookbook was tests on iMAC, so it will expect that you will have a valid alfresco binary located in ~/Downloads folder. Please see install_alfresco.rb attributes file for appropiate version. - Run
kitchen converge <instance-name>
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Paul Brodner