-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
fix: return MTU 1440 for Gitpod, fixes #5611 #5612
fix: return MTU 1440 for Gitpod, fixes #5611 #5612
Conversation
Download the artifacts for this pull request:
See Testing a PR |
labels: | ||
com.ddev.platform: ddev |
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.
Why I added labels here:
This is a small addition to clean up the project network during ddev poweroff
.
Some external programs (such as PhpStorm) can call docker-compose up
with this template:
And in this case, when you do a ddev poweroff
, the project network created by docker-compose
is not removed because it has no label.
Please take a look at the history on this and check it. It seems like we had to "wire" the MTU earlier. Do you remember this @shaal ? Anyway review of issues and commits should show it. |
I thought we already fiddled with gitpod mtu. |
What I remember was that before we made a fix to MTU value, running
composer on a Drupal website would get stuck on some packages.
…On Tue, Dec 12, 2023, 6:23 AM mk-mxp ***@***.***> wrote:
@rfay <https://github.com/rfay> Yes, you did: #3766
<#3766>. But that write it to
docker-compose.yaml only. @stasadev <https://github.com/stasadev> rewrote
the network launch to be handled by ddev without docker compose instead.
—
Reply to this email directly, view it on GitHub
<#5612 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFS5MVPU5MGXTPWQHTAD3YJA5EFAVCNFSM6AAAAABANDGXYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRHA2DOMZUHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah, it's a regression. |
The Issue
This is a regression.
How This PR Solves The Issue
The project's network is created programmatically and the MTU value is not set, since it is declared only in the
docker-compose.yaml
file and there is no way to modify the network after it is created.This PR returns the MTU value with a small refactoring.
Manual Testing Instructions
I don't know if this PR can be checked directly in Gitpod, so my way to check is:
Add
!
tonodeps.IsGitpod()
:make build
ddev start
docker inspect ddev-project-name_default
should contain this:Automated Testing Overview
Related Issue Link(s)
Release/Deployment Notes
Probably release a new Gitpod image after this PR goes to master (since this bug breaks Gitpod).