mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
fix issue 2362 (#3146)
This commit is contained in:
parent
b9422ec60a
commit
0a75efbfce
@ -100,9 +100,10 @@ script:
|
|||||||
- docker-compose -f make/docker-compose.test.yml down
|
- docker-compose -f make/docker-compose.test.yml down
|
||||||
- sudo rm -rf /data/config/*
|
- sudo rm -rf /data/config/*
|
||||||
- ls /data/cert
|
- ls /data/cert
|
||||||
- sudo make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.2.7 NOTARYFLAG=true
|
- sudo make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.2.7 NOTARYFLAG=true CLAIRFLAG=true
|
||||||
|
|
||||||
- docker ps
|
- docker ps
|
||||||
|
- ./tests/validatecontainers.sh
|
||||||
- ./tests/notarytest.sh
|
- ./tests/notarytest.sh
|
||||||
- ./tests/swaggerchecker.sh
|
- ./tests/swaggerchecker.sh
|
||||||
- ./tests/startuptest.sh
|
- ./tests/startuptest.sh
|
||||||
|
8
tests/validatecontainers.sh
Executable file
8
tests/validatecontainers.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if docker ps --filter "status=restarting" | grep 'vmware'; then
|
||||||
|
echo "container is restaring, fail CI."
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user