dev.sls #5

  • //
  • guest/
  • tjuricek/
  • p4ws/
  • stream/
  • main/
  • salt/
  • pillar/
  • perforce/
  • web-services/
  • dev.sls
  • Commits
# Change User Description Committed
#5 13266 tjuricek Reorganized depot to avoid stream/main in path.

This may be re-imported.
#4 13245 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.
#3 13240 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).
#2 13230 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 13227 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.
//guest/tjuricek/p4ws/stream/main/salt/minion/dev/pillar/dev.sls
#2 13225 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.
#1 13222 tjuricek Add 'test-ubuntu12' environment that sets up projects based on "production" packages.

Packages are installed from source files that should have been created by the last 'build-ubuntu12' environment. Since the package building process "dirties" up the environment it's better to use a clean system to test package installation.