litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.36k stars 686 forks source link

Versioning of Experiments on Litmus ChaosHub #1228

Closed dgildeh closed 4 years ago

dgildeh commented 4 years ago

We've had some breaking issues of our experiment runs because changes were made to the experiments without us being aware and subsequently our experiments started failing. We need to be able to lock down experiment runs to specific versions so they don't break our tests even if new updates to experiments are made.

When installing the experiments from ChaosHub's URL I would like to see a 'version' parameter so I can lock the experiment versions during deployment to a new cluster to a specific version. I.e.:

kubectl create -f https://hub.litmuschaos.io/api/chaos?file=charts/generic/experiments.yaml?version=1.1.0

In addition, the ChaosHub UI should have some way to see what versions are available, similar to Docker Hub here: https://hub.docker.com/_/mysql?tab=tags

ksatchit commented 4 years ago

Steps involved include:

cc: @chandankumar4