rocketeer
rocketeer copied to clipboard
Clone and resolve dependencies locally before deployment
I would like to achieve the following workflow for deployment:
- Check remote server
- Create remote release
- Clone repository to local directory
- Resolve dependencies in local directory
- Send result to remote server (preferably via
rsync
) - Perform migrations on remote server
Can this exact order be achieved with Rocketeer? It seems dependencies are always resolved after deployment.
Background: in a perfect world I don't need git
, composer
or similar on the remote server for a deployment.
+1 I also need to clone the project locally before uploading to a remote server.
The cloning part can be achieved with the LocalClone
strategy, a speciality here is the local dependency resolving. With the current structure the only option I see is a custom deploy
strategy which performs clone, resolves dependencies and then uploads to the remote server. The original dependencies
strategy needs to be disabled here.
And I did exactly that now. With cc0656c it is now actually possible to disable strategies.
Now I really don't need neither Git nor Composer on the servers. :-)