Open thijslemmens opened 1 year ago
It used to work with +=, now with add it does not anymore. I'm not sure that it works with the vanilla dockerCompose plugin. It's in our backlog to check it out.
I tested with all plugin versions from 5.0.2 (the first version that introduced nested support) until 5.4.0 (the current latest version)
I could not find any version that actually appends additional items to the list of the composeFiles when creating a nested configuration.
By searching in all repositories, I can not find a single use of this behavior. However, I do see a pattern that can be mistaken for this behavior:
dockerCompose {
dockerComposeWorkingDirectory = 'docker-compose/'
keycloak {
useComposeFiles = dockerCompose.useComposeFiles + ['docker-compose-keycloak.yml']
}
}
Are you sure that this was ever supported?
The avast docker-compose plugin has this in their docs:
And that statement is there since version 0.12.2 (the behavior even earlier)