deployer: Breaking new patch for TYPO3 recipe usage
- Deployer version: 7.3.2
- Deployment OS: Windows and Mac
import:
- recipe/typo3.php
config:
repository: '[git-ssh-repository]'
typo3_webroot: 'public'
keep_releases: 5
shared_dirs:
- '{{typo3_webroot}}/fileadmin'
- '{{typo3_webroot}}/typo3temp'
- 'config'
shared_files:
- '{{typo3_webroot}}/.htaccess'
- '{{typo3_webroot}}/apple-touch-icon.png'
- '{{typo3_webroot}}/favicon.ico'
hosts:
[server-ip]:
remote_user: deployer
deploy_path: '[server-deploy-path]'
tasks:
typo3:cache:flush:
- cd: "{{release_path}}"
- run: "{{bin/composer}} exec typo3 cache:flush"
deploy:
- 'deploy:prepare'
- 'deploy:vendors'
- 'deploy:symlink'
- 'typo3:cache:flush'
- 'deploy:unlock'
- 'deploy:cleanup'
- 'deploy:success'
after:
deploy:failed: deploy:unlock
After updating from Deployer 7.3.1 -> 7.3.2, my deployments are no longer working. After investigating a little bit, I can see that the TYPO3 recipe that I’m depending on, has been changed quite a lot, and is now using some different steps in the deploy task. Specifically it is the rsync that is causing issues, as it seems that it doesn’t work with the git repository setup, that I’m running. It tells me that the local path cannot be remote.
Anyone had similar issues and can help me, so I can stay up-to-date?
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Comments: 17 (12 by maintainers)
@antonmedv @rlvk-tc would it be an option to add this using a extra recipe? Something like
recipe/typo3-rsync.php
?I used the old (now current again) TYPO3 recipe quite some time and never understood why i had to write most of the stuff myself. Turned out, because it was outdated. Written for TYPO3 6.2.
The people i talked to preferred rsync over git. This is offered by deployer. So my idea was to build in CI and ship the final “build”. On top of this i have added the option to simply add a task before/after a task in a task group which seemed very handy to me.
In general, i did not expect this recipe to be released in a bugfix release. The repo owner makes the rules and that’s ok, but it felt really unusual to me and others.
Thanks for your time. Ii’ll wait for your response on how to proceed.
Let’s try to contact dev who made those changes.
Released https://github.com/deployphp/deployer/releases/tag/v7.3.3