include: - ruby.ruby22 - perforce.web-services.user-gemsets # This will create wrappers available at the folder path: notification_services-gemset: cmd.run: - name: source /usr/local/rvm/scripts/rvm; rvm use 2.2.2; rvm gemset create notification_services - unless: source /usr/local/rvm/scripts/rvm; rvm use 2.2.2; rvm alias list | grep notification_services - user: webservices - shell: /bin/bash - require: - sls: perforce.web-services.user-gemsets # Before we do anything else, we really need bundler to handle doing the # majority of system setup. notification_services bundler: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/gem install bundler --version 1.8.9 - unless: {{ pillar['notification_services.ruby.wrappers'] }}/gem list | grep bundle - user: webservices - require: - cmd: notification_services-gemset
# | 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. |