include: - ruby.ruby22 /opt/perforce: file.directory: - user: vagrant - group: vagrant - mode: 755 - makedirs: True /var/cache/omnibus: file.directory: - user: vagrant - group: vagrant - mode: 755 - makedirs: True vagrant-to-rvm: cmd.run: - name: usermod -a -G rvm vagrant - user: root require: - sls: ruby.ruby22 bundler: cmd.run: - name: gem install bundler - unless: rvm alias list | grep bundle - user: vagrant - require: - cmd: vagrant-to-rvm package-deps: pkg.installed: - pkgs: - libpq-dev bundle install: cmd.run: - name: bundle install - user: vagrant - cwd: /home/vagrant/p4ws require: - pkg: package-deps
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 13517 | tjuricek |
Revised Salt hierarchy to allow for CD clustering. Now, there are two main salt environments: 'build' and 'eval'. The 'eval' environment can be configured for testing or development by setting the Grain 'dev_pillar: True' or 'test_pillar: True'. The test modes may need a bit more effort to figure out exactly where I'll put the .deb files. The dev box passes p4_web_api tests. |
||
#1 | 13504 | tjuricek |
The 'build-ubuntu12' seems to generate the appropriate debian packages for the distribution. I had permissions issues (probably related to shared folder usage) with the dpkg tools. So I've removed them. If we happen to need them, we'll have to figure out a build process. This environment probably shouldn't be used to test the packages, since omnibus likes to dirty everything up, leave files in the /opt/perforce directory owned by vagrant, etc. |