Compare commits

...

5 Commits

Author SHA1 Message Date
Karthik Satchitanand 6a9ba29aca
Merge pull request #32 from amitbhatt818/cherry-pick
[Cherry pick into v1.0.x for GA]
2020-01-14 13:41:17 +05:30
Shubham Chaudhary be3fa5e1e1 (feat): Add auxiliaryAppInfo in go-executor (#31)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-01-14 13:30:11 +05:30
Karthik Satchitanand d67e0678bd
Merge pull request #29 from chandankumar4/1.0.0-RC2
[Cherry-pick for RC2]
2020-01-10 18:18:17 +05:30
Rahul M Chheda c9eb711c0f (chore) Added GoReport Card, and BCH Card in README.md (#28)
* (chore) Added GoReport Card, and BCH Card in README.md

Signed-off-by: Rahul M Chheda <rahul.chheda@mayadata.io>
2020-01-10 18:13:22 +05:30
Karthik Satchitanand 2dde531292 (fix)typo in circle ci config (#27)
Signed-off-by: ksatchit <ksatchit@mayadata.io>
2020-01-10 18:06:53 +05:30
5 changed files with 16 additions and 10 deletions

View File

@ -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

View File

@ -1,3 +1,6 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/litmuschaos/chaos-executor)](https://goreportcard.com/report/github.com/litmuschaos/chaos-executor)
[![BCH compliance](https://bettercodehub.com/edge/badge/litmuschaos/chaos-executor?branch=master)](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!!

View File

@ -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

View File

@ -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")
}

View File

@ -21,6 +21,7 @@ type EngineDetails struct {
AppKind string
AppNamespace string
ClientUUID string
AuxiliaryAppInfo string
}
// ExperimentDetails is for collecting all the experiment-related details