# For development modes, we execute 'rake install' to set up project # dependencies into the local gemset. include: - postgres - perforce.web-services.notification_services.gemset notification_services p4ruby bundle install: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/bundle install - cwd: {{ pillar['p4ruby.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4ruby require: - sls: perforce.web-services.notification_services.gemset notification_services p4ruby rake gem: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/rake gem - cwd: {{ pillar['p4ruby.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4ruby require: - sls: perforce.web-services.notification_services.gemset notification_services p4ruby gem install: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/gem install pkg/p4ruby-*.gem - cwd: {{ pillar['p4ruby.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4ruby require: - cmd: notification_services p4ruby rake gem notification_services p4webservicesauth init: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/bundle install - cwd: {{ pillar['p4_web_services_auth.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4_web_services_auth require: - sls: perforce.web-services.notification_services.gemset - pkg: bundler notification_services p4webservicesauth rake build: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/bundle exec rake build - cwd: {{ pillar['p4_web_services_auth.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4_web_services_auth require: - cmd: notification_services p4webservicesauth init notification_services p4webservicesauth install: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/gem install pkg/p4_web_services_auth*.gem - cwd: {{ pillar['p4_web_services_auth.dir'] }} - user: webservices - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep p4_web_services_auth require: - cmd: notification_services p4webservicesauth rake build notification_services bundle install: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/bundle install - cwd: {{ pillar['notification_services.dir'] }} - user: webservices require: - sls: perforce.web-services.p4webapi.gemset - sls: postgres - cmd: notification_services p4webservicesauth install
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#2 | 13768 | tjuricek |
Fixing the version of bundler to 1.8.9. The recent changes to 1.9.x don't seem to work smoothly with RVM - 'rake install' (a task defined by bundler) seems to shell out to the 'gem' command, which doesn't appear to be configured quite right when launched via an RVM wrapper script. |
||
#1 | 13535 | tjuricek |
Add notification_services to deployment, and reconfigure build step to exec bash. The execution bit doesn't seem to stay set on config/bash.sh The notification_services service doesn't have advanced tests just yet. |