Reputation: 2570
Due to some limitations I cannot use docker, let alone docker orchestration tools like Docker Swarm and Kubernetes.
I still want to achieve a basic CI/CD process.
More specifically, I'd like to have a system that deploys new releases but also monitor my service (i.e. makes health check) and in case of a failure it redeploys the service or rollbacks to a previous release.
Which tools are available for me?
Upvotes: 0
Views: 298
Reputation: 2061
For basic CI/CD on your stack, best bet would be bash scripts set up by something like Ansible. If you are on cloud and need to go large scale (far beyond basic), consider Spinnaker (this would be an immutable infrastructure approach on the VM level).
Note, that in any case this is a previous generation approach. But your bash scripts and tooling for basic case may look like that:
And your bash script on cron would work along following lines:
Here Consul would be used to synchronize across multiple nodes.
Again, note that this is a previous generation approach. Modern container orchestration tools do lots of this stuff for you so you don't need to script all that.
Upvotes: 2