mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 19:56:09 +01:00
12 lines
266 B
Bash
Executable File
12 lines
266 B
Bash
Executable File
#!/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
|
|
|
|
# solution user token file for test
|
|
mkdir -p /etc/ui/token/
|
|
echo "token" > /etc/ui/token/tokens.properties
|