Skip to content

Fix gitpod failure to start, fixes #4889 - #4895

Merged
rfay merged 14 commits into
ddev:masterfrom
rfay:20230509_gitpod_output
May 13, 2023
Merged

rfay merged 14 commits into
ddev:masterfrom
rfay:20230509_gitpod_output

Conversation

@rfay

@rfay rfay commented May 9, 2023 •

Copy link
Copy Markdown
Member

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

github-actions Bot commented May 9, 2023 •

Copy link
Copy Markdown

@rfay
rfay force-pushed the 20230509_gitpod_output branch from 6fa4497 to 02b77bb Compare May 10, 2023 17:41
@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 force-pushed the 20230509_gitpod_output branch from 34f8736 to 7e9e98a Compare May 13, 2023 15:22
@rfay
rfay force-pushed the 20230509_gitpod_output branch from 7e9e98a to 7e1c734 Compare May 13, 2023 16:10
@rfay
rfay merged commit d957ea7 into ddev:master May 13, 2023
@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.

2 participants