harbor/tests/admiral.sh

12 lines
270 B
Bash
Raw Normal View History

2017-06-06 11:51:40 +02:00
#!/bin/bash
# run admiral for unit test
name=admiral
port=8282
docker rm -f $name 2>/dev/null
docker run -d -p $port:8282 --name $name vmware/admiral:v1.2.1
2017-07-19 11:31:00 +02:00
# solution user token file for test
mkdir -p /etc/core/token/
echo "token" > /etc/core/token/tokens.properties