# Software distribution of helix-web-services # # This will package up the 'helix_web_services' project directory, along with # all of it's local dependencies. # name 'helix_web_services' dependency 'ruby' dependency 'bundler' dependency 'git_fusion_strings' dependency 'helix_web_services_client' dependency 'sqlite' # # This Omnibus definition expects to be a part of a distribution that includes # Helix Web Services locally. # source :path => File.absolute_path('../../../../../helix_web_services', __FILE__) build do env = with_standard_compiler_flags(with_embedded_path) # Typical conventions of bundle groups. We may not need these but TestKitchen # might end up getting used. bundle_without = %w(development test) # Install all dependencies. Note that this project actually includes the # helix_web_services_client code 'locally' in the Gemfile. # bundle "install --without #{bundle_without.join(" ")} --path=#{install_dir}/embedded/service/gem --jobs #{workers}", :env => env bundle 'install', :env => env rake 'build', :env => env gem "install #{project_dir}/pkg/helix_web_services-*.gem --no-rdoc --no-ri", :env => env mkdir "#{install_dir}/sbin" erb :dest => "#{install_dir}/bin/hws_configure", :source => 'hws_configure.erb', :mode => 0755, :vars => { :install_dir => install_dir } erb :dest => "#{install_dir}/bin/hws_console", :source => 'hws_console.erb', :mode => 0755, :vars => { :install_dir => install_dir } erb :dest => "#{install_dir}/bin/hws_launch", :source => 'hws_launch', :mode => 0755, :vars => { :install_dir => install_dir } erb :dest => "#{install_dir}/sbin/helix_web_services", :source => 'helix_web_services', :mode => 0755, :vars => { :install_dir => install_dir } erb :dest => "#{install_dir}/bin/make-dummy-cert", :source => 'make-dummy-cert.erb', :mode => 0755, :vars => { :install_dir => install_dir } sync project_dir, "#{install_dir}/embedded/service/helix_web_services", exclude: ["work", ".idea", ".bundle"] cert_path = File.absolute_path('../../../../../data/certs/nginx.crt', __FILE__) key_path = File.absolute_path('../../../../../data/certs/nginx.key', __FILE__) copy cert_path, '/opt/perforce/helix-web-services/nginx.crt' copy key_path, '/opt/perforce/helix-web-services/nginx.key' relnotes_path = File.absolute_path('../../../../../helix-web-services-notes.txt', __FILE__) copy relnotes_path, '/opt/perforce/helix-web-services/helix-web-services-notes.txt' end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 16318 | Doug Scheirer | merge from main | ||
#4 | 16289 | Doug Scheirer | merge from main | ||
#3 | 16275 | Doug Scheirer | Merge from main | ||
#2 | 16014 | Doug Scheirer | Merge down from main | ||
#1 | 15688 | Doug Scheirer |
Populate -o //guest/perforce_software/helix-web-services/... //guest/doug_scheirer/helix-web-services/.... |
||
//guest/perforce_software/helix-web-services/main/source/packaging/omnibus-helix-web-services/config/software/helix_web_services.rb | |||||
#1 | 15622 | tjuricek |
Move source code to 'source/' subdirectory of branch. build/ will remain where it is. |
||
//guest/perforce_software/helix-web-services/main/packaging/omnibus-helix-web-services/config/software/helix_web_services.rb | |||||
#5 | 15483 | tjuricek |
Add a new 'hws_console` application to the deployment. This should give users the ability to use the Ruby client for quick and dirty debugging of issues with HWS. Since it's so easy, I've added it to the deployment guide. |
||
#4 | 14932 | tjuricek |
CentOS 6 deployment support. I need a reliable way of detecting platform information. So I'm installing ohai, which comes from Chef, and seems to be a stable way of determing things like "I'm running on CentOS 6.5". |
||
#3 | 14870 | tjuricek | Add an upstart configuration for helix_web_services. | ||
#2 | 14841 | tjuricek |
Add *very basic* shell script wrappers to configure and launch the unicorn server. hws_configure: post-install script to setup or migrate the DB helix_web_services: bash script to point out the embedded Ruby setup This is far from complete, just the next step in getting to a basic package-based deployment. |
||
#1 | 14794 | tjuricek |
Omnibus installation framework. Right now, this mostly just packages up most of the software for use within an embedded ruby distribution. Not everything is working because there are decisions to make I'm not entirely sure about. Things, like, "do we embed postgres", or "do I embed unicorn and generate a stupid init.d script". |