Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
|
6a9ba29aca | |
|
be3fa5e1e1 | |
|
d67e0678bd | |
|
c9eb711c0f | |
|
2dde531292 |
|
@ -83,7 +83,7 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: |
|
||||||
docker load -i /tmp/workspace/image.tar
|
docker load -i /tmp/workspace/image.tar
|
||||||
~/go/src/github.com/litmuschaos/chaos-executor/builds/push --type=release
|
~/go/src/github.com/litmuschaos/chaos-executor/build/push --type=release
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[](https://goreportcard.com/report/github.com/litmuschaos/chaos-executor)
|
||||||
|
[](https://bettercodehub.com/)
|
||||||
|
|
||||||
# CHAOS RUNNER
|
# CHAOS RUNNER
|
||||||
|
|
||||||
The chaos Runner is an operational bridge between the Chaos-Operator and the LitmusChaos experiment jobs.
|
The chaos Runner is an operational bridge between the Chaos-Operator and the LitmusChaos experiment jobs.
|
||||||
|
@ -57,4 +60,4 @@ spec:
|
||||||
|
|
||||||
## Further Improvements
|
## Further Improvements
|
||||||
|
|
||||||
- The Go Chaos Runner is in alpha stage with further improvements coming soon!!
|
- The Go Chaos Runner is in beta stage with further improvements coming soon!!
|
||||||
|
|
|
@ -28,6 +28,7 @@ func (expDetails *ExperimentDetails) SetENV(engineDetails EngineDetails, clients
|
||||||
expDetails.Env["APP_LABEL"] = engineDetails.AppLabel
|
expDetails.Env["APP_LABEL"] = engineDetails.AppLabel
|
||||||
expDetails.Env["APP_NAMESPACE"] = engineDetails.AppNamespace
|
expDetails.Env["APP_NAMESPACE"] = engineDetails.AppNamespace
|
||||||
expDetails.Env["APP_KIND"] = engineDetails.AppKind
|
expDetails.Env["APP_KIND"] = engineDetails.AppKind
|
||||||
|
expDetails.Env["AUXILIARY_APPINFO"] = engineDetails.AuxiliaryAppInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
//SetValueFromChaosEngine sets value in experimentDetails struct from chaosEngine
|
//SetValueFromChaosEngine sets value in experimentDetails struct from chaosEngine
|
||||||
|
|
|
@ -15,4 +15,5 @@ func GetOsEnv(engineDetails *EngineDetails) {
|
||||||
engineDetails.SvcAccount = os.Getenv("CHAOS_SVC_ACC")
|
engineDetails.SvcAccount = os.Getenv("CHAOS_SVC_ACC")
|
||||||
engineDetails.ClientUUID = os.Getenv("CLIENT_UUID")
|
engineDetails.ClientUUID = os.Getenv("CLIENT_UUID")
|
||||||
engineDetails.Experiments = strings.Split(experimentList, ",")
|
engineDetails.Experiments = strings.Split(experimentList, ",")
|
||||||
|
engineDetails.AuxiliaryAppInfo = os.Getenv("AUXILIARY_APPINFO")
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ type EngineDetails struct {
|
||||||
AppKind string
|
AppKind string
|
||||||
AppNamespace string
|
AppNamespace string
|
||||||
ClientUUID string
|
ClientUUID string
|
||||||
|
AuxiliaryAppInfo string
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExperimentDetails is for collecting all the experiment-related details
|
// ExperimentDetails is for collecting all the experiment-related details
|
||||||
|
|
Loading…
Reference in New Issue