-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Move to Dockerfile installation #32
Move to Dockerfile installation #32
Conversation
cfce2d2
to
bd3e3e8
Compare
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.
This is awesome. A few problems with copy-pasta, but it's great.
The overall problem of how to manage custom configuration without breaking future ddev get ddev/ddev-cron
and also making ddev get --remove
work successfully has possibilities. In add-ons I've been using unmanaged files (non-#ddev-generated) like docker-compose.redis-extra.yaml
for example as overrides. Not sure how easy that is to do here but I think you'll get it.
Wow ... Not sure where my head was that day. Sorry for the low quality. |
Co-authored-by: Randy Fay <[email protected]>
Co-authored-by: Randy Fay <[email protected]>
Co-authored-by: Randy Fay <[email protected]>
a20f135
to
4ca42b3
Compare
Did some research and had a rethink.
|
I suspect the "install from release" test are failing because they don't the content from this PR, no? |
Yes, you can either ignore the "install from release" tests or temporarily disable them. |
Test with
|
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.
I tried this out and it looks great. Some suggestions along the way.
- I think it would be good to add info about
timezone:
configuration here because people will get confused about what time things happen without that - Mentioning
ddev exec crontab -l
may help people to see what's configured.
d4bd794
to
4cf3aea
Compare
4cf3aea
to
6986d00
Compare
OK ... merged the suggested changes. Also fixed the issue with running multiple jobs so should be OK now. |
OH, now I remember why IS_DDEV_PROJECT is critical in the context of cron. Cron doesn't pass any environment variables along. So for any CMS type that has DDEV-generated settings, like Drupal or TYPO3 but probably not Laravel? the settings won't be executed without it. Sorry for forgetting this. |
Thanks. I thinks that everything now, or did I miss something? |
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.
Several suggestions didn't get committed or discussed, please return to those.
The one thing that might make it easier for people would be to provide the main examples as examples in the .ddev/web-build. Maybe the drupal and typo3 examples, for example, just like you do with the simple time log.
Thanks for this!
38c6708
to
6986d00
Compare
Co-authored-by: Randy Fay <[email protected]>
Co-authored-by: Randy Fay <[email protected]>
2d2c393
to
5aed29f
Compare
Co-authored-by: Randy Fay <[email protected]>
I replace |
Sorry, we're getting lost here, and the review page is getting too cluttered and I get lost in it now. Here's what the README has right now: This is one of the things I was trying to get rid of because I don't believe people will ever need to edit it: Other than thinking we shouldn't confuse people with that one, I think everything is fine to go. Sorry it's been so difficult to get through this, but I sure appreciate this good work. |
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.
Thanks, looking great. Pull when you're ready.
I don't think that github "Files changed" page was helping us much. It got all messy and you couldn't tell what was where.
Thank you. We got there in the end. |
All tests from this PR passed after merge and |
Fixes #31