Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
|
6a9ba29aca | |
|
be3fa5e1e1 | |
|
d67e0678bd | |
|
c9eb711c0f | |
|
2dde531292 |
|
@ -83,7 +83,7 @@ jobs:
|
|||
- checkout
|
||||
- run: |
|
||||
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:
|
||||
version: 2
|
||||
|
@ -111,4 +111,4 @@ workflows:
|
|||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[](https://goreportcard.com/report/github.com/litmuschaos/chaos-executor)
|
||||
[](https://bettercodehub.com/)
|
||||
|
||||
# CHAOS RUNNER
|
||||
|
||||
The chaos Runner is an operational bridge between the Chaos-Operator and the LitmusChaos experiment jobs.
|
||||
|
@ -57,4 +60,4 @@ spec:
|
|||
|
||||
## 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_NAMESPACE"] = engineDetails.AppNamespace
|
||||
expDetails.Env["APP_KIND"] = engineDetails.AppKind
|
||||
expDetails.Env["AUXILIARY_APPINFO"] = engineDetails.AuxiliaryAppInfo
|
||||
}
|
||||
|
||||
//SetValueFromChaosEngine sets value in experimentDetails struct from chaosEngine
|
||||
|
|
|
@ -15,4 +15,5 @@ func GetOsEnv(engineDetails *EngineDetails) {
|
|||
engineDetails.SvcAccount = os.Getenv("CHAOS_SVC_ACC")
|
||||
engineDetails.ClientUUID = os.Getenv("CLIENT_UUID")
|
||||
engineDetails.Experiments = strings.Split(experimentList, ",")
|
||||
engineDetails.AuxiliaryAppInfo = os.Getenv("AUXILIARY_APPINFO")
|
||||
}
|
||||
|
|
|
@ -14,13 +14,14 @@ import (
|
|||
|
||||
// EngineDetails struct is for collecting all the engine-related details
|
||||
type EngineDetails struct {
|
||||
Name string
|
||||
Experiments []string
|
||||
AppLabel string
|
||||
SvcAccount string
|
||||
AppKind string
|
||||
AppNamespace string
|
||||
ClientUUID string
|
||||
Name string
|
||||
Experiments []string
|
||||
AppLabel string
|
||||
SvcAccount string
|
||||
AppKind string
|
||||
AppNamespace string
|
||||
ClientUUID string
|
||||
AuxiliaryAppInfo string
|
||||
}
|
||||
|
||||
// ExperimentDetails is for collecting all the experiment-related details
|
||||
|
|
Loading…
Reference in New Issue