# Install dependencies (gems in particular) for p4_project_services include: - postgres - perforce.web-services.p4_project_services.gemset {% if pillar['deps.use_packages'] != True %} - perforce.web-services.p4_project_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-project-services: cmd.run: - name: dpkg -i /var/tmp/p4-project-services_{{ pillar['versions.p4_project_services'] }}-{{ pillar['versions.changelist'] }}_amd64.deb - unless: dpkg-query --showformat '${Status} ${Package} ${Version} ${Architecture}\n' -W | grep 'p4-project-services' - require_in: - cmd: p4_project_services bundle install p4_project_services bundle install: cmd.run: - name: {{ pillar['p4_project_services.ruby.wrappers'] }}/bundle install --local - cwd: {{ pillar['p4_project_services.dir'] }} #- unless: {{ pillar['p4webapi.ruby.wrappers'] }}/gem list | grep p4_web_services_auth - user: webservices {% endif %}
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#7 | 13552 | tjuricek | Added the 'eval' Vagrant box that uses our deployed packages. | ||
#6 | 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 |
||
#5 | 13527 | tjuricek |
Added a basic p4-project-services .deb package There is some kind of configuration issue with the production config that causes tests to fail. The service is running, however, so this is likely related to having a few things not managed via salt. |
||
#4 | 13526 | tjuricek | Make sure that the p4 project services instance comes up after the libpq-dev package is installed. | ||
#3 | 13525 | tjuricek |
Setup God to manage both the p4 web api and p4 project services processes. Apparently, there can only be one true god per machine. |
||
#2 | 13520 | tjuricek |
Created a 'cluster' build procedure that creates an installer on build, and executes the install on a test instance. The main change is to package all gem dependencies via 'vendor/cache' (using the 'bundle package' command). Right now, there appears to be an issue with test data initialization, which may need a revised approach. |
||
#1 | 13515 | tjuricek |
Initial configuration for the p4_project_services. The tests haven't been run yet, so it's likely missing some more configuration. Using vagrant to even manage these environments may not be our realistic CD premise. I may end up moving some more responsibility into the Salt layer, which would make vSphere automation easier. |