rhythmic-morning-87313
11/01/2023, 5:53 AMdocker-compose
from v2.21.0 to v2.22.0/2.23.0, it may break your compose up -d
commands with the error message "initializing git cache: /.cache/docker-compose/git" (note that it's on the root directory) executed inside a pytest fixture run by pants test
, because now `docker-compose` requires `HOME` environment variable to be present. Since pants
removes it by default, you need to update `pants.toml`: [test].extra_env_vars = ["HOME"]
to make it working.
FYI: docker-compose v2.22.0 was introduced in September 7th, and v2.23.0 was introduced in October 22nd to the ubuntu-22.04
runner image.rhythmic-morning-87313
11/01/2023, 6:00 AMdocker-compose-plugin
2.21.0 and you may experience that "it works on my local setup but breaks in the GitHub Actions".rhythmic-morning-87313
11/01/2023, 6:03 AMrhythmic-morning-87313
11/01/2023, 6:09 AMHOME
by default in pants test
, though...rhythmic-morning-87313
11/01/2023, 6:12 AMdocker-compose
often breaks something when they do a minor update, and makes it difficult to keep up a hermetic CI setup (even we fix the runner image version to ubuntu-22.04
or similar...)...acoustic-library-86413
11/01/2023, 7:48 AM