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

Remove obsolete compose version specifier #3652

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

SimonCW
Copy link
Contributor

@SimonCW SimonCW commented Feb 17, 2025

Description

Version specifier for docker compose is obsolete. See: https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete

I did not remove the version specifier from embedded yml in posts on purpose. I don't think we should change blog articles and it's quite clear that the embedded yml is not a stand-alone compose file. Compare:

See this PR to collect changes across opensearch-project repos: opensearch-project/documentation-website#8606

peterzhuamazon
peterzhuamazon previously approved these changes Feb 17, 2025
Copy link
Member

@peterzhuamazon peterzhuamazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SimonCW

@peterzhuamazon
Copy link
Member

Hi @SimonCW maybe also leave --- untouched as part of the yml lint check?

Thanks.

@SimonCW
Copy link
Contributor Author

SimonCW commented Feb 17, 2025

My bad, I wasn't aware that it breaks linting. Thanks @peterzhuamazon!

SimonCW and others added 3 commits February 17, 2025 22:51
Signed-off-by: Simon Weiß <SimonCW@users.noreply.github.com>
Signed-off-by: Simon Weiß <weiss.simon@outlook.com>
Signed-off-by: Simon Weiß <weiss.simon@outlook.com>
Signed-off-by: Simon Weiß <weiss.simon@outlook.com>
@kolchfa-aws kolchfa-aws merged commit e5ff160 into opensearch-project:main Feb 17, 2025
5 checks passed
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.

3 participants