DevOps - OpenLMIS/open-lmis GitHub Wiki

Configuration Set Up

Build and Deployment

  • Gradle scripts for deployment.
  • Environment specific database settings in gradle properties within gradle-${environment}.properties.
  • Environment specific DB setup and application deployment.

Continuous Delivery

  • Automated Node setup using chef.
  • Automated Build and Deployment using gradle build scripts.
  • Jenkins CI
  • Automated db setup using Gradle
  • Adaptive and automated monitoring using nagios and chef

Cookbook Testing

  • Using chefspec (rspec based) tool for cookbook testing https://github.com/acrmp/chefspec .
  • Gemfile in env-setup has the gems loaded.
  • Run bundle install to install the gems.
  • unit_test rake task is defined in Rakefile.
  • Use bundle exec rake to test all cookbooks.
  • For individual cookbook spec testing use rspec chef/cookbooks//spec/*_spec.rb