# Install dependencies (gems in particular) for notification_services include: - postgres - perforce.web-services.notification_services.gemset {% if pillar['deps.use_packages'] != True %} - perforce.web-services.notification_services.deps-local-sources {% endif %} # For most 'eval' modes, we install our software from a package installer, then # install the gems into the local application gemset. # # Development modes run 'gem install' from the soruce tree, which is configured # elsewhere. {% if pillar['deps.use_packages'] == True %} notification-services: cmd.run: - name: dpkg -i /var/tmp/notification-services_{{ pillar['versions.notification_services'] }}-{{ pillar['versions.changelist'] }}_amd64.deb - unless: dpkg-query --showformat '${Status} ${Package} ${Version} ${Architecture}\n' -W | grep 'notification-services' - require_in: - cmd: notification_services bundle install notification_services bundle install: cmd.run: - name: {{ pillar['notification_services.ruby.wrappers'] }}/bundle install --local - cwd: {{ pillar['notification_services.dir'] }} - user: webservices {% endif %}
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#3 | 13552 | tjuricek | Added the 'eval' Vagrant box that uses our deployed packages. | ||
#2 | 13544 | tjuricek |
Revise package and gem versioning. Packages will use [gem]-[changelist] as their versions. Gems will use a standard Ruby MAJOR.MINOR.REVISION format. P4WEBAPI-64 |
||
#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. |