docker-compose-buildkite-plugin icon indicating copy to clipboard operation
docker-compose-buildkite-plugin copied to clipboard

Support multiple `version` keys in docker-compose config

Open orien opened this issue 3 years ago • 1 comments

Context

The plugin has trouble working with docker-compose.yml files where there are multiple version entries. See #315.

Change

Alter the file parsing to consider only the first version entry it finds. Fixes #315.

orien avatar Dec 22 '21 07:12 orien

Hey @orien! Thank you for your contributions and sorry for the delay 🙏🏻 We'll review it soon and we'll keep you posted 🙂

pzeballos avatar Apr 27 '22 21:04 pzeballos

@orien, thanks a lot for your patience on this. We have finally gotten around to this and found that we would like to make a few minor improvements to your code. Would you be able to allow our contributions to the PR?

toote avatar Sep 19 '22 01:09 toote

Hi @toote, 👋 Thanks for looking into this.

Would you be able to allow our contributions to the PR?

Unfortunately, I don't have this option. Perhaps because the source repo is in the @envato account rather than my personal one.

orien avatar Sep 19 '22 01:09 orien

@orien thanks for the quick response.

That means I'll have to close this PR and create a new one (will make sure to keep your commits for proper attribution, thoug). It may take us a while because we will probably bundle this change (or merge close together) with the ones in #307 as they both deal with dockerfile versions.

toote avatar Sep 19 '22 01:09 toote

Thanks @toote! Go for it 🚀

orien avatar Sep 19 '22 01:09 orien

Re-created PR in #336

toote avatar Sep 19 '22 21:09 toote