mirror of
https://github.com/siop-spelev/siop2.git
synced 2026-08-08 12:41:54 +00:00
fix(ci): MinIO via docker run — bitnami/minio n'existe plus, l'image officielle exige une commande
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@@ -77,12 +77,6 @@ jobs:
|
|||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 5s --health-timeout 3s --health-retries 10
|
--health-interval 5s --health-timeout 3s --health-retries 10
|
||||||
minio:
|
|
||||||
image: bitnami/minio:2025
|
|
||||||
env:
|
|
||||||
MINIO_ROOT_USER: siop
|
|
||||||
MINIO_ROOT_PASSWORD: siop-minio
|
|
||||||
ports: ['9000:9000']
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql://siop:siop@localhost:5432/siop
|
DATABASE_URL: postgresql://siop:siop@localhost:5432/siop
|
||||||
REDIS_URL: redis://localhost:6379
|
REDIS_URL: redis://localhost:6379
|
||||||
@@ -92,6 +86,11 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: siop-minio
|
MINIO_SECRET_KEY: siop-minio
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
- name: Démarrer MinIO (l'image officielle exige une commande — pas un service)
|
||||||
|
run: |
|
||||||
|
docker run -d --name minio -p 9000:9000 \
|
||||||
|
-e MINIO_ROOT_USER=siop -e MINIO_ROOT_PASSWORD=siop-minio \
|
||||||
|
minio/minio:RELEASE.2025-09-07T16-13-09Z server /data
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
- uses: actions/setup-node@v5
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
@@ -139,12 +138,6 @@ jobs:
|
|||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 5s --health-timeout 3s --health-retries 10
|
--health-interval 5s --health-timeout 3s --health-retries 10
|
||||||
minio:
|
|
||||||
image: bitnami/minio:2025
|
|
||||||
env:
|
|
||||||
MINIO_ROOT_USER: siop
|
|
||||||
MINIO_ROOT_PASSWORD: siop-minio
|
|
||||||
ports: ['9000:9000']
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql://siop:siop@localhost:5432/siop
|
DATABASE_URL: postgresql://siop:siop@localhost:5432/siop
|
||||||
REDIS_URL: redis://localhost:6379
|
REDIS_URL: redis://localhost:6379
|
||||||
@@ -154,6 +147,11 @@ jobs:
|
|||||||
MINIO_SECRET_KEY: siop-minio
|
MINIO_SECRET_KEY: siop-minio
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
- name: Démarrer MinIO (l'image officielle exige une commande — pas un service)
|
||||||
|
run: |
|
||||||
|
docker run -d --name minio -p 9000:9000 \
|
||||||
|
-e MINIO_ROOT_USER=siop -e MINIO_ROOT_PASSWORD=siop-minio \
|
||||||
|
minio/minio:RELEASE.2025-09-07T16-13-09Z server /data
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
- uses: actions/setup-node@v5
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user