-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Env: Remove version field from docker-compose config #63099
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @alessandrotesoro. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Size Change: +292 B (+0.02%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once the remaining tests complete. Thanks for identifying the problem and fixing it. The release note could indicate why this was removed, but it's probably good enough on its own.
Flaky tests detected in 868c47f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9780588492
|
Unlinked contributors: alessandrotesoro. Co-authored-by: ockham <[email protected]> Co-authored-by: cbravobernal <[email protected]> Co-authored-by: dmsnell <[email protected]>
What?
Remove the
version
field that's written to thedocker-compose.config.yml
file generated by the env package.Fixes #63073.
Why?
The field is obsolete and has started causing automated tests to fail (due to a warning about it being obsolete), see e.g https://github.com/WordPress/gutenberg/actions/runs/9776598064/job/26989677669?pr=62092.
We have some precedent for this in
wordpress-develop
, see#61101
and WordPress/wordpress-develop#6492.How?
By removing that field 🤷♂️
Testing Instructions
Verify that tests pass in CI. Alternatively, try locally. You might want to destroy your current wp-env setup and recreate it.