2019-07-08 10:15:17 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
cd $(dirname $0)
|
|
|
|
set -e # exit when any command fails
|
|
|
|
|
|
|
|
while [ "$1" != "" ]; do
|
2019-08-29 10:20:55 +03:00
|
|
|
docker-compose build && docker-compose run molecule_runner /bin/bash -c "molecule test --scenario-name $1"
|
2019-07-08 10:15:17 +03:00
|
|
|
|
|
|
|
shift # Shift all the parameters down by one
|
|
|
|
done
|