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
- With long-running hosts, rooting the volumes inside of the git
cloned source directory is problematic.
When tests are cancelled and containers remain running, files can
be locked, preventing subsequent runs from proceeding correctly.
Instead, generate a temporary directory (on Windows) to root the
files so that source can be cloned properly.
- This removes the need for cleaning up existing hardcoded dirs from
prior test runs, but we still make a best effort in the Azure job
to do cleanup
- For now this will continue to default to `.` in Travis, given hosts
are ephemeral.
On Windows hosts, this will be in the temp dir for the given user.
docker-compose understands Windows paths on the left hand side of
the volume mapping, so no conversions are necessary.
This was not always the case per:
docker/compose#4303 (comment)
- Stuff the temp dir in an Azure variable so it can be used in a later
cleanup stage
- Set the temp dir to give Users group full control to prevent the
containers from running into permissions issues
- Additional code will be added to perform cleanup from tests
0 commit comments