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 version top-level elements from compose examples #1687

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Mar 7, 2025

Motivation

Reason for removing the version attributes see localstack/localstack#12354.

Also, hugo now takes the default docker compose files directly from the localstack/localstack repository using the github shortcode.

For this to work, I needed to enable the github shortcode to include the file as-is, without any highlighting, as the highlights are already done in the tab.
Happy to discuss this, if there is a better solution.

Changes

  • Remove version top level attributes from all docker compose examples.
  • Get fresh versions of the docker compose examples directly from the LS repository.

…files, include default docker compose files from github directly
Copy link

github-actions bot commented Mar 7, 2025

🎊 PR Preview has been successfully built and deployed to https://localstack-docs-preview-pr-1687.surge.sh 🎊

@dfangl dfangl requested review from HarshCasper and removed request for simonrw, dominikschubert, joe4dev, silv-io, pinzon and bentsku March 7, 2025 11:45
@dfangl
Copy link
Member Author

dfangl commented Mar 7, 2025

Note that the preview still shows the version tag in the github-pulled files - I merged the PR after the build already started.

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for the cleanup of the compose files! Getting rid of all the deprecation warnings! 🥳 💯

Copy link
Member

Choose a reason for hiding this comment

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

praise: Nice! This way they will be updated on every build! 🤩 ‏

Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

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

Great!

@HarshCasper HarshCasper merged commit 689be53 into main Mar 10, 2025
5 checks passed
@HarshCasper HarshCasper deleted the docker/remove-compose-version branch March 10, 2025 07:32
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.

4 participants