Change order of deploy-fast command #18
Replies: 3 comments 5 replies
-
hey, well - there are few things to consider:
I think the best solution could be to modify |
Beta Was this translation helpful? Give feedback.
-
Before doing any crazy workaround over here, I think I'm going to ask Helmut Hummel, why the |
Beta Was this translation helpful? Give feedback.
-
I guess making Maybe I will do a check for a missing |
Beta Was this translation helpful? Give feedback.
-
Hey,
I wanted to ask if it would be possible to change one order of the commands called by
deploy-fast
.I would like to see that the commands
typo3cms:database:updateschema
anddb:truncate
are switched. This way, the truncate command does not fail with an empty database anddeploy-fast
can be executed on newly provisioned hosts that do not have a database structure yet.It's a very common task for us to create new hosts from scratch that shall run TYPO3 installations. Unfortunately, this is not as easy as it could be. We have to run the deployment commands multiple times, wait for the next error, fix them by ssh-ing to the host, re-run and again.. That's why I created the command
deploy:prepare:typo3
that does all the stuff, we would need to do manually. An issue, I always run into and cannot fix without checking out the concrete project repository in advance, is the missing database schema. It is not possible to setup a fresh host and run a (fast) deployment without triggering some sort of database access that throws an exception, because of missing tables.I know, my command is highly customized to our workflow and needs improvements (fixed key paths etc.). I just wanted to avoid to override the
deploy-fast
task right away and talk to you first. What do you think about my plan? Maybe I'm missing something..Best,
Maik
Beta Was this translation helpful? Give feedback.
All reactions