mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
3f7c605cf5
* Remove vendor folder from harbor code base Signed-off-by: Daniel Jiang <jiangd@vmware.com> * debug ut failure * debug failure * debug failure --------- Signed-off-by: Daniel Jiang <jiangd@vmware.com>
20 lines
501 B
Bash
Executable File
20 lines
501 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
set -e
|
|
|
|
export POSTGRESQL_HOST=$1
|
|
export REGISTRY_URL=http://$1:5000
|
|
export CHROME_BIN=chromium-browser
|
|
#export DISPLAY=:99.0
|
|
#sh -e /etc/init.d/xvfb start
|
|
|
|
sudo docker-compose -f ./make/docker-compose.test.yml up -d
|
|
sleep 10
|
|
./tests/pushimage.sh
|
|
docker ps
|
|
|
|
DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
sudo -E env "PATH=$PATH" "POSTGRES_MIGRATION_SCRIPTS_PATH=$DIR/../../make/migrations/postgresql/" ./tests/coverage4gotest.sh
|
|
#goveralls -coverprofile=profile.cov -service=github || true
|