configs path
This commit is contained in:
parent
bc73ba340c
commit
b97fa9ed4a
|
|
@ -4,7 +4,7 @@ container:
|
||||||
tar xavf OliveTin-*linux-amd64.tar.gz
|
tar xavf OliveTin-*linux-amd64.tar.gz
|
||||||
docker rm -f olivetin && docker rmi -f olivetin
|
docker rm -f olivetin && docker rmi -f olivetin
|
||||||
docker build -t olivetin:latest OliveTin-*linux-amd64/
|
docker build -t olivetin:latest OliveTin-*linux-amd64/
|
||||||
docker create --name olivetin -p 1337:1337 -v `pwd`/config/:/config/ olivetin
|
docker create --name olivetin -p 1337:1337 -v `pwd`/configs/:/config/ olivetin
|
||||||
|
|
||||||
cypress:
|
cypress:
|
||||||
npm install
|
npm install
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ set -o xtrace
|
||||||
|
|
||||||
echo "Running config $1"
|
echo "Running config $1"
|
||||||
|
|
||||||
cp -f ./configs/config.$1.yaml ./config/config.yaml
|
cp -f ./configs/config.$1.yaml ./configs/config.yaml
|
||||||
docker start olivetin
|
docker start olivetin
|
||||||
NO_COLOR=1 ./node_modules/.bin/cypress run --headless -s cypress/integration/$1/* || true
|
NO_COLOR=1 ./node_modules/.bin/cypress run --headless -s cypress/integration/$1/* || true
|
||||||
docker kill olivetin
|
docker kill olivetin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue