uselagoon / build-deploy-tool

Tool to generate build resources
4 stars 6 forks source link

chore: support newer compose-go library with lagoon workarounds #304

Open shreddedbacon opened 6 months ago

shreddedbacon commented 6 months ago

Updates the compose-go library to the latest version with lagoon workarounds for the more common issues.

Unfortunately, the duplicate mapping error is not a lagoon workaround, so introducing this into the build-deploy-tool will result in builds failing if those duplicate mapping keys error is encountered.

Also, env_file got an update to allow for these to be optionally required by changing the structure of the yaml to support a path and required field. This will be handy in the future for when we eventually decide to fail builds and move towards consuming the upstream compose-go library directly. See workarounds in https://github.com/shreddedbacon/compose-go/pull/5

Closes

closes #252