mirror of
https://github.com/minio/minio.git
synced 2025-02-25 12:29:15 -05:00
CI/CD to stop one node per pool in the two pools mint test (#17518)
This is to make sure that all S3 ops work when there is enough quorum
This commit is contained in:
parent
08acd9c43d
commit
66bea3942a
7
.github/workflows/run-mint.sh
vendored
7
.github/workflows/run-mint.sh
vendored
@ -18,9 +18,12 @@ cd .github/workflows/mint
|
|||||||
docker-compose -f minio-${MODE}.yaml up -d
|
docker-compose -f minio-${MODE}.yaml up -d
|
||||||
sleep 5m
|
sleep 5m
|
||||||
|
|
||||||
docker run --rm --net=host \
|
# Stop two nodes, one of each pool, to check that all S3 calls work while quorum is still there
|
||||||
|
[ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio{2,6}
|
||||||
|
|
||||||
|
docker run --rm --net=mint_default \
|
||||||
--name="mint-${MODE}-${JOB_NAME}" \
|
--name="mint-${MODE}-${JOB_NAME}" \
|
||||||
-e SERVER_ENDPOINT="127.0.0.1:9000" \
|
-e SERVER_ENDPOINT="nginx:9000" \
|
||||||
-e ACCESS_KEY="${ACCESS_KEY}" \
|
-e ACCESS_KEY="${ACCESS_KEY}" \
|
||||||
-e SECRET_KEY="${SECRET_KEY}" \
|
-e SECRET_KEY="${SECRET_KEY}" \
|
||||||
-e ENABLE_HTTPS=0 \
|
-e ENABLE_HTTPS=0 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user