82a3bdd86b
* Ultimate e2e for native to erc type of bridge * Initialize * Node and yarn not needed anymore.
13 lines
450 B
Bash
Executable File
13 lines
450 B
Bash
Executable File
#!/usr/bin/env bash
|
|
cd $(dirname $0)
|
|
set -e # exit when any command fails
|
|
|
|
CODEBASE_BRANCH=${CIRCLE_BRANCH-$(git symbolic-ref --short HEAD)}
|
|
DOCKER_LOCALHOST=${DOCKER_LOCALHOST-localhost}
|
|
|
|
while [ "$1" != "" ]; do
|
|
docker-compose build && docker-compose run -e CODEBASE_BRANCH=$CODEBASE_BRANCH -e DOCKER_LOCALHOST=$DOCKER_LOCALHOST molecule_runner /bin/bash -c "molecule test --scenario-name $1"
|
|
|
|
shift # Shift all the parameters down by one
|
|
done
|