2020-09-15 12:51:40 +02:00
|
|
|
#!/bin/bash
|
|
|
|
IP=$1
|
|
|
|
HARBOR_VERSION=$2
|
2020-11-10 10:33:09 +01:00
|
|
|
DOCKER_USER=$3
|
|
|
|
DOCKER_PWD=$4
|
2021-07-26 15:58:45 +02:00
|
|
|
LOCAL_REGISTRY=$5
|
|
|
|
LOCAL_REGISTRY_NAMESPACE=$6
|
|
|
|
make swagger_client
|
2021-03-17 15:33:02 +01:00
|
|
|
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
|
2020-09-15 12:51:40 +02:00
|
|
|
cd /drone/tests/robot-cases/Group3-Upgrade
|
2021-07-26 15:58:45 +02:00
|
|
|
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
|