You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Drone pipeline has a services section, the service containers within are started with the working directory set to the Drone workspace (i.e. /tmp/aws/drone/src) when using the AWS runner. This is different from the Docker runner which retains the working directory set by a WORKDIR statement in the Dockerfile.
AWS runner overriding the working directory for services is problematic because some services/containers may depend on being started inside a specific directory. At the very least, the behaviour should be documented and consistent with other types of runners. There is an undocumented(?) setting working_dir which AFAIU should allow the user to override the directory, but the setting doesn't do anything when the AWS runner is used.
The text was updated successfully, but these errors were encountered:
If a Drone pipeline has a
services
section, the service containers within are started with the working directory set to the Drone workspace (i.e./tmp/aws/drone/src
) when using the AWS runner. This is different from the Docker runner which retains the working directory set by aWORKDIR
statement in the Dockerfile.AWS runner overriding the working directory for services is problematic because some services/containers may depend on being started inside a specific directory. At the very least, the behaviour should be documented and consistent with other types of runners. There is an undocumented(?) setting
working_dir
which AFAIU should allow the user to override the directory, but the setting doesn't do anything when the AWS runner is used.The text was updated successfully, but these errors were encountered: