Skip to content

drain job from test/1

This job does not do anything except run a drain script.

Github source: de8af5a4 or master branch

Properties

drain

delay_secs

Number of seconds to delay before exiting

Default
0

exit_code

Exit code to return

Default
0

stderr

Content to send to stderr

Default
stderr

stdout

Content to send to stdout

Default
stdout

Templates

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

  • bin/drain (from drain.sh)

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.