Comments (7)
hooks:
post-start:
- exec: 'platform self:update -qy || true'
probably best
from ddev-platformsh.
Thanks, and glad you're using some parts. I didn't quite understand what update notification you were talking about?
from ddev-platformsh.
Oh you're saying that the platform tool inside is wanting the self-update when you use it. Yeah, it only gets done the one time during build, but the build cache in Docker then doesn't try it again :(
IMO it would be best to disable that.
from ddev-platformsh.
We could do the self-update in start.sh, or implement your auto-add-to-start.sh and put it there. Seems like a sad thing to do, but these things always pestering about getting an update are a bit annoying.
from ddev-platformsh.
the auto add to start could be the hook, you could add a config.platformsh.yml with a post-start hook, although you'll have to add it to the git repo as well as a post_install action as it will otherwise be ignored.
from ddev-platformsh.
hooks:
post-start:
- exec: 'platform self:update -qy'
I added this to my project.
from ddev-platformsh.
Hello
I agree, best would probably be to do this during post-start
like @hanoii is suggesting.
Anyway, this will soon change with the Platform CLI v4 as we'll distribute it in a different way (apt, brew...)
from ddev-platformsh.
Related Issues (20)
- shasum is also required and must be handled
- Support redis 7.0 + 6.2 HOT 3
- How to override platform.sh environment variables set in `.ddev/config.platformsh.yaml` ? HOT 5
- ddev get ddev/ddev-platformsh ends with Syntax Error (Ibexa) HOT 9
- Problem on MacOs with base64 option HOT 2
- Python-based app fails to start HOT 2
- Support `composer_version: 2.5.x` or warn if it is not supported HOT 1
- There are no commands defined in the "self" namespace. HOT 1
- upstream value in `PLATFORM_ROUTES` is incorrect HOT 2
- Move ddev-platformsh to drud org and make official HOT 3
- Consider `settings_management_disabled: true` for platform.sh projects
- Remove PLATFORM_MOUNTS and PLATFORM_DIR
- Environment variables must be set much earlier for php-fpm HOT 7
- Tests aren't valid if they don't get to content-checking point HOT 1
- config files and config mismatches HOT 1
- Support multi-app configuration (.platform.app.yaml isn't always in the root (and applications.yaml is a thing too)) HOT 10
- Homebrew base64 does not support `base64 -w` HOT 18
- interface conversion: interface {} is bool, not string HOT 6
- Magento2 doesn't work with add-on: "Cannot find the main route for Magento. Please add `id: magento_route` to your routes.yaml" HOT 6
- [docs] README should explain that `ddev get` is when config translation happens, and you need to repeat if changing Platform config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddev-platformsh.