mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
clustering: Give time to minio container to come up
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
7c3a8f9d07
commit
799eab63a9
@@ -65,9 +65,17 @@ jobs:
|
|||||||
-v /tmp/config:/root/.minio \
|
-v /tmp/config:/root/.minio \
|
||||||
--health-cmd "curl http://localhost:9000/minio/health/live" \
|
--health-cmd "curl http://localhost:9000/minio/health/live" \
|
||||||
minio/minio:edge-cicd server /data
|
minio/minio:edge-cicd server /data
|
||||||
|
|
||||||
- name: Install py minio
|
- name: Install py minio
|
||||||
run: pip3 install minio
|
run: pip3 install minio
|
||||||
|
|
||||||
|
- name: Wait for minio to come up
|
||||||
|
run: |
|
||||||
|
curl --connect-timeout 5 \
|
||||||
|
--max-time 10 \
|
||||||
|
--retry 12 \
|
||||||
|
--retry-max-time 120 \
|
||||||
|
'http://localhost:9000/minio/health/live'
|
||||||
|
|
||||||
- name: Create minio bucket
|
- name: Create minio bucket
|
||||||
run: |
|
run: |
|
||||||
python3 - <<'EOF'
|
python3 - <<'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user