Skip to content

Commit 74764b5

Browse files
committed
ci: reduce rustfs wait time from 60 to 5 seconds
The wait time was unnecessarily long for local development. Reducing it to 5 seconds improves development workflow without affecting functionality.
1 parent e3ae051 commit 74764b5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ALIAS_NAME="${RUSTFS_ALIAS_NAME:-local}"
2020
ENDPOINT="${RUSTFS_ENDPOINT:-http://rustfs:9000}"
2121
ACCESS="${RUSTFS_ACCESS_KEY:-rustfsadmin}"
2222
SECRET="${RUSTFS_SECRET_KEY:-rustfsadmin}"
23-
WAIT="${RUSTFS_WAIT_SECONDS:-60}"
23+
WAIT="${RUSTFS_WAIT_SECONDS:-5}"
2424
T=0
2525
until curl -sI --connect-timeout 2 "$ENDPOINT" >/dev/null 2>&1; do
2626
T=$((T+1))

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ services:
2929
RUSTFS_ACCESS_KEY: rustfsadmin
3030
RUSTFS_SECRET_KEY: rustfsadmin
3131
RUSTFS_ALIAS_NAME: local
32+
RUSTFS_WAIT_SECONDS: 5
3233
command:
3334
- mb
3435
- gitlab-artifacts

0 commit comments

Comments
 (0)