Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing version from docker-compose file #80

Merged
merged 5 commits into from
May 12, 2023
Merged

removing version from docker-compose file #80

merged 5 commits into from
May 12, 2023

Conversation

awlawl
Copy link

@awlawl awlawl commented Feb 24, 2023

In the current stable release, the code executes docker-compose locally on the host to normalize docker-compose.yml files before use. With docker-compose version 2+, this output doesn't include the "version" attribute in the yaml. The Fargate CLI expects this value and uses as a way to verify if the output is parsed correctly.

The future specifications for docker-compose use the new Compose Specification. This doesn't include a version attribute anymore. For this reason, I've removed the code that checks for it and removed the attribute all together.

I know this will require some additional testing with teams that are using docker-compose and task based workflows.

@awlawl awlawl changed the title removing version from DC file removing version from docker-compose file Feb 24, 2023
@awlawl awlawl marked this pull request as ready for review May 11, 2023 14:39
@awlawl awlawl merged commit 5abb3c3 into master May 12, 2023
@awlawl awlawl deleted the v2compose-issue branch May 12, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant