You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project is cloned locally using platform get <projectid>. Project is configured to use type: "php:7.4" in .platform.app.yaml. DDEV+ddev-platformsh is used to develop locally. Upstream changes occur, changing the type to php:8.1 with composer updates and other changes. git fetch & git pull are used to update the local copy of the repository. DDEV is restarted.
Expected outcome: web application container is update to reflect the updated type (php 8.2) in the application.
Actual outcome: web application container remains the same as initially configured (i.e. php 7.4)
Ideally, there would be a warning that the current platform configuration files are different from the ddev configurations and that a rebuild (possibly a ddev rebuild command?) needs to occur.
Only way I know to "fix" the application container currently is to either rerun the ddev get platformsh/ddev-platformsh command and walk through all the steps, or manually update the the .ddev/config.platformsh.yaml and then do a ddev restart.
The text was updated successfully, but these errors were encountered:
This is important. It's not really compatible with the current design, where all configuration is generated during ddev get, but it's worth strategizing about.
It's possible we could reorganize things so that ddev getgets the tools to evaluation the platform yamls, and those are used at the end of the ddev get and could also be used pre-start or something, or by a custom command to update.
Scenario:
Project is cloned locally using
platform get <projectid>
. Project is configured to usetype: "php:7.4"
in .platform.app.yaml. DDEV+ddev-platformsh is used to develop locally. Upstream changes occur, changing the type tophp:8.1
with composer updates and other changes.git fetch & git pull
are used to update the local copy of the repository. DDEV is restarted.Expected outcome: web application container is update to reflect the updated type (php 8.2) in the application.
Actual outcome: web application container remains the same as initially configured (i.e. php 7.4)
Ideally, there would be a warning that the current platform configuration files are different from the ddev configurations and that a rebuild (possibly a
ddev rebuild
command?) needs to occur.Only way I know to "fix" the application container currently is to either rerun the
ddev get platformsh/ddev-platformsh
command and walk through all the steps, or manually update the the.ddev/config.platformsh.yaml
and then do addev restart
.The text was updated successfully, but these errors were encountered: