Skip to content

scripting job from generic-scripting/5

Github source: 481c498 or master branch

Properties

scripting

post-deploy-script

script to launch after deployment is complete

post-start-script

script to launch after job start

post-stop-script

script to launch after job stop

pre-start-script

script to launch at job start

pre-stop-script

script to launch after job stop

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/scripting/ directory (learn more).

  • bin/post-deploy (from post-deploy.erb)
  • bin/post-start (from post-start.erb)
  • bin/post-stop (from post-stop.erb)
  • bin/pre-start (from pre-start.erb)
  • bin/pre-stop (from pre-stop.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.

This job relies on no runtime packages.