cool-easter-32542
11/07/2023, 1:47 PMpython_tests(
environment="test_docker_environment",
)
and in the parent folder the environment is defined
docker_environment(
name="local_test_environment",
image="image_sha",
)
and in my pants.toml I have added
[environments-preview.names]
test_docker_environment = "//parent/folder:local_test_environment"
local = "//:local-environment"
This all works fine and using pants test :: the test runs successfully in its own docker container.
However, the container remains after the tests and is not removed and remains active.
Pants version
2.16.0
OS
Are you encountering the bug on MacOS, Linux, or both?
Linux
pantsbuild/pants