mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
a4331f6b60
Signed-off-by: danfengliu <danfengl@vmware.com>
12 lines
533 B
Bash
Executable File
12 lines
533 B
Bash
Executable File
#!/bin/bash
|
|
IP=$1
|
|
HARBOR_VERSION=$2
|
|
DOCKER_USER=$3
|
|
DOCKER_PWD=$4
|
|
LOCAL_REGISTRY=$5
|
|
LOCAL_REGISTRY_NAMESPACE=$6
|
|
make swagger_client
|
|
robot -v ip:$IP -v ip1: -v HARBOR_PASSWORD:Harbor12345 -v DOCKER_USER:$DOCKER_USER -v DOCKER_PWD:$DOCKER_PWD -v http_get_ca:true /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/ -g $LOCAL_REGISTRY -p $LOCAL_REGISTRY_NAMESPACE
|