mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
56a35437b4
Change source of most of test image samples from docker-hub to local building ones, so it will cost less docker-hub pull requests. And some of cases like push cnab, they have to use docker-hub, but image samples in cnab test will cost 17 quotas, in this PR, we replace those samples, now cnab case will cost 6 quotas. Signed-off-by: danfengliu <danfengl@vmware.com>
10 lines
398 B
Bash
Executable File
10 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
IP=$1
|
|
HARBOR_VERSION=$2
|
|
DOCKER_USER=$3
|
|
DOCKER_PWD=$4
|
|
|
|
robot -v ip:$IP -v ip1: -v HARBOR_PASSWORD:Harbor12345 -v DOCKER_USER:$DOCKER_USER -v DOCKER_PWD:$DOCKER_PWD /drone/tests/robot-cases/Group1-Nightly/Setup.robot
|
|
cd /drone/tests/robot-cases/Group3-Upgrade
|
|
DOCKER_USER=$DOCKER_USER DOCKER_PWD=$DOCKER_PWD python ./prepare.py -e $IP -v $HARBOR_VERSION -l /drone/tests/apitests/python/
|