4c1e56ccce
* correct config issues #271 #272 * rename type tags * replace env lib * move to config module * read flags * show e2e logs on error * extract env * replace deprecated env var * increment index * check replica numbers do not start with 0 * remove test suite * error handling * refactor flags * flags test * file test * file test * config tests * extend tests * test mixed mode * simplify * simplify * test mask * correct uniqe replicas * Update types_test.go * e2e test with file mode
10 lines
283 B
Bash
Executable File
10 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
kubectl config set-context --current --namespace=agh-e2e
|
|
|
|
if [[ $(helm list --no-headers -n agh-e2e | grep agh-e2e | wc -l) == "1" ]]; then
|
|
helm delete agh-e2e -n agh-e2e --wait
|
|
fi
|
|
helm install agh-e2e testdata/e2e -n agh-e2e --create-namespace --set mode=${1}
|