Closed francoiscampbell closed 1 year ago
This is a great addition! :clap:
I would indeed add it behind a configuration, but have it on by default... the reason is two-fold: 1- whoever doesn't want/need the behaviour will be able to turn it off 2- it will make it simpler to not have to change all 75 tests and only turn it on in the feature-specific tests :wink: :wink:
Thanks for the feedback @toote, made it conditional (default true
), updated the existing tests to disable the option, and added a new test.
Adds labels that can be useful for finding the containers spawned on a host by this plugin. This can also enable automated tools to associate these docker-compose containers with the agent that started them.
Tested on our infra:
Question for maintainers: should this be behind a plugin config? I don't think so since it doesn't affect the behaviour of the container itself, but I'm happy to make it conditional if needed.