ClusterLabs / hawk

A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager
http://hawk-ui.github.io/
GNU General Public License v2.0
151 stars 51 forks source link

Add automatic testing for continious developmend #255

Closed aleksei-burlakov closed 2 years ago

aleksei-burlakov commented 2 years ago

There is introduced a cd by means of github actions. It creates a basic 2-nodes ha cluster with a stonith/ssh resource and runs the e2e_test against the cluster. Q: Why are the containers started not as

    container:
      image: ghcr.io/aleksei-burlakov/hawk-node:latest

but rather docker run ? A: Because it's the only way to start them with the --privileged flag. Q: Why not use k8s/k3s/helm charts, bash/python/whatsoever scripts to deploy the ha-cluster? A: Yaml is already good enough.

aleksei-burlakov commented 2 years ago

@liangxin1300, @arbulu89, @rtorrero could you have a look at the PR, please?