# Install dependencies (gems in particular) for p4_phoenix_services include: - postgres - perforce.web-services.p4_phoenix_services.gemset {% if pillar['deps.use_packages'] != True %} - perforce.web-services.p4_phoenix_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 %} p4-phoenix-services: cmd.run: - name: dpkg -i /var/tmp/p4-phoenix-services_{{ pillar['versions.p4_phoenix_services'] }}-{{ pillar['versions.changelist'] }}_amd64.deb - unless: dpkg-query --showformat '${Status} ${Package} ${Version} ${Architecture}\n' -W | grep 'p4-phoenix-services' - require_in: - cmd: p4_phoenix_services bundle install p4_phoenix_services bundle install: cmd.run: - name: {{ pillar['p4_phoenix_services.ruby.wrappers'] }}/bundle install --local - cwd: {{ pillar['p4_phoenix_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 | 13530 | tjuricek |
Add p4_phoenix_services package and Salt configuration for deployment. This uncovered a couple of issues from the C++ API during it's conversion to C++03. So, in a nutshell, most operations, except for notifications, appear to be working (well, using Vagrant machines). |