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

Fix gitpod failure to start, fixes #4889 #4895

Merged
merged 14 commits into from
May 13, 2023
Merged

Conversation

rfay
Copy link
Member

@rfay rfay commented May 9, 2023

The Issue

Due to apparent odd docker configuration, DDEV projects fail to start on gitpod

How This PR Solves The Issue

Instead of using the classic approach of writing to /proc/1/fd/1 to get info into docker logs, use a dedicated fifo.

TODO

  • Make sure we fail quickly and with good information if start.sh fails. Maybe we should be running bash -c "start.sh || kill 1", something like that.
  • Make sure that when container is started NOT in ddev context that the logs are done correctly. If pipe doesn't exist, create link, start a cat in the background.

Manual Testing Instructions

Start a project on gitpod.
Make sure it works
Use ddev logs to make sure expected info is there.

Automated Testing Overview

No changes

Related Issue Link(s)

Release/Deployment Notes

@github-actions
Copy link

github-actions bot commented May 9, 2023

@rfay rfay marked this pull request as ready for review May 10, 2023 19:22
@rfay rfay requested review from a team as code owners May 10, 2023 19:22
@rfay rfay merged commit d957ea7 into ddev:master May 13, 2023
20 of 21 checks passed
@rfay rfay deleted the 20230509_gitpod_output branch May 13, 2023 21:46
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.

None yet

2 participants