Skip to content

Commit

Permalink
(fix)entrypoint: Minor fix in entrypoint.sh (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Udit Gaurav <[email protected]>
  • Loading branch information
uditgaurav authored Sep 23, 2020
1 parent deda26a commit 13da0a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

set -e

Expand All @@ -16,19 +16,19 @@ mkdir -p $HOME/go/src/github.com/mayadata-io
cd ${GOPATH}/src/github.com/mayadata-io/
dir=${GOPATH}/src/github.com/mayadata-io/chaos-ci-lib

if [[ ! -d $dir ]]
if [ ! -d $dir ]
then
git clone -b v0.2.0 --single-branch https://github.com/mayadata-io/chaos-ci-lib.git
fi
cd chaos-ci-lib

##Install litmus if it is not already installed
if [[ "$INSTALL_LITMUS" = "true" ]]
if [ "$INSTALL_LITMUS" = "true" ]
then
go test litmus/install-litmus_test.go -v -count=1
fi

if [[ "$EXPERIMENT_NAME" == "all" ]]; then
if [ "$EXPERIMENT_NAME" == "all" ]; then
## Run all BDDs
cd tests
ginkgo -nodes=${PARALLEL_EXECUTION}
Expand All @@ -40,7 +40,7 @@ else
fi

##litmus cleanup
if [[ "$LITMUS_CLEANUP" = "true" ]]
if [ "$LITMUS_CLEANUP" = "true" ]
then
go test litmus/uninstall-litmus_test.go -v -count=1
fi

0 comments on commit 13da0a7

Please sign in to comment.