forked from Deuxfleurs/bottin
Création script bash de test
This commit is contained in:
parent
f93f9e6958
commit
5fbe39c38a
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
trap "kill 0" EXIT
|
||||
|
||||
export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
|
||||
echo $BOTTIN_DEFAULT_ADMIN_PW
|
||||
./consul agent -dev > /dev/null 2>&1 &
|
||||
consul agent -dev > /dev/null 2>&1 &
|
||||
sleep 2
|
||||
./bottin > /dev/null 2>&1 &
|
||||
go run integration.go
|
||||
sleep 1
|
||||
./test_automatic/integration
|
||||
|
|
Loading…
Reference in a new issue