mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
Enhancement: update dockerimage for s3test
Signed-off-by: zhuzhengyi001 <zhuzhengyi001@ke.com> Signed-off-by: slasher <shenjie1@oppo.com>
This commit is contained in:
parent
6bf2882c53
commit
9f968b373d
@ -25,6 +25,7 @@ ltptest:
|
||||
tags:
|
||||
- cfs
|
||||
script:
|
||||
- docker/run_docker.sh --clean
|
||||
- rm -rf docker/docker_data/*
|
||||
- docker/run_docker.sh -l
|
||||
|
||||
|
||||
@ -352,7 +352,7 @@ services:
|
||||
ipv4_address: 192.168.0.43
|
||||
|
||||
lcnode1:
|
||||
image: ghcr.io/cubefs/cbfs-base:1.0-golang-1.16.12
|
||||
image: ${IMAGE}
|
||||
ports:
|
||||
- "17410"
|
||||
- 9500
|
||||
@ -372,7 +372,7 @@ services:
|
||||
|
||||
|
||||
lcnode2:
|
||||
image: ghcr.io/cubefs/cbfs-base:1.0-golang-1.16.12
|
||||
image: ${IMAGE}
|
||||
ports:
|
||||
- "17410"
|
||||
- 9500
|
||||
@ -391,7 +391,7 @@ services:
|
||||
ipv4_address: 192.168.0.62
|
||||
|
||||
lcnode3:
|
||||
image: ghcr.io/cubefs/cbfs-base:1.0-golang-1.16.12
|
||||
image: ${IMAGE}
|
||||
ports:
|
||||
- "17410"
|
||||
- 9500
|
||||
|
||||
@ -264,6 +264,7 @@ delete_volumes() {
|
||||
test_bucket() {
|
||||
BUCKET=${bucket} python3 -m unittest2 discover ${work_path} "*.py" -v
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo -e "\033[31mS3 unittest FAILED\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
echo "Test bucket ${bucket} succeeded!"
|
||||
@ -276,18 +277,6 @@ run_s3_test() {
|
||||
echo " S3 compatibility tests ";
|
||||
echo "******************************";
|
||||
|
||||
# install system requirements
|
||||
echo -n "Installing system requirements ... "
|
||||
apt-get update &>> /dev/null && apt-get install -y \
|
||||
sudo \
|
||||
python3 \
|
||||
python3-pip &>> /dev/null
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo -e "\033[31mfail\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "\033[32mdone\033[0m"
|
||||
|
||||
# install python requirements
|
||||
echo -n "Installing python requirements ... "
|
||||
pip3 install -r ${work_path}/requirements.txt &>> /dev/null
|
||||
|
||||
0
docker/script/start_client_auth.sh
Normal file → Executable file
0
docker/script/start_client_auth.sh
Normal file → Executable file
0
docker/script/start_lcnode.sh
Normal file → Executable file
0
docker/script/start_lcnode.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user