mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
clustering: Give time to minio container to come up
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
parent
7c3a8f9d07
commit
799eab63a9
1 changed files with 9 additions and 1 deletions
10
.github/workflows/cluster.yaml
vendored
10
.github/workflows/cluster.yaml
vendored
|
@ -65,9 +65,17 @@ jobs:
|
|||
-v /tmp/config:/root/.minio \
|
||||
--health-cmd "curl http://localhost:9000/minio/health/live" \
|
||||
minio/minio:edge-cicd server /data
|
||||
|
||||
- name: Install py 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
|
||||
run: |
|
||||
python3 - <<'EOF'
|
||||
|
|
Loading…
Add table
Reference in a new issue