Git-based CI/CD so lightweight that it barely exists at all.
You add your build server as a git remote repository on your projects. When you push your code up to the server, ploy.sh uses git post-receive hooks to run your build, test, and deploy scripts.
You will need git and openssh installed on your build server.
git clone https://github.com/SpenceSellers/ploy.sh.git
./ploy.sh/install.sh
Create any or all of ploy/build
, ploy/test
, and ploy/deploy
files in your repository. Those files will be executed in that order on your build server whenever you push changes. Feel free to make them bash files or any other type of executable you want.
git remote add deploy ssh://user@my-server/ploy.sh
git push deploy
You'll need SSH credentials to push to your build server.
Sure.
None.
Yep. You do it by running docker commands in your build script.