Customizing Init Scripts

Background

The intended purpose of the init script is to provide an established location to run shell commands before the service's workflow runs. Uses include, but are not limited to:

  1. Building source files

  2. Building fixtures to use for mocking

To learn more where it is used, see:

Workflow

Customizing

  1. Each workflow provides an init script that will be run in the workflow's init step

  2. It can be accessed in the following location:

.stoobly/docker/<SERVICE-NAME>/<WORKFLOW-NAME>/bin/init 
  1. Modifications to this file will not be overriten when the service create command is re-run.

Last updated

Was this helpful?