File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 --health-interval 5s
3434 --health-timeout 5s
3535 --health-retries 10
36- minio :
37- image : bitnami/minio:latest
38- env :
39- MINIO_ROOT_USER : minioadmin
40- MINIO_ROOT_PASSWORD : minioadmin
41- MINIO_DEFAULT_BUCKETS : reqcore
42- ports :
43- - 9000:9000
44- options : >-
45- --health-cmd "curl -f http://localhost:9000/minio/health/live"
46- --health-interval 5s
47- --health-timeout 5s
48- --health-retries 10
36+
4937
5038 env :
5139 DATABASE_URL : postgresql://reqcore:reqcore-ci@localhost:5432/reqcore
6149 S3_FORCE_PATH_STYLE : " true"
6250
6351 steps :
52+ - name : Start MinIO
53+ run : |
54+ docker run -d \
55+ --name minio-ci \
56+ -p 9000:9000 \
57+ -e MINIO_ROOT_USER=minioadmin \
58+ -e MINIO_ROOT_PASSWORD=minioadmin \
59+ minio/minio:latest server /data
60+ timeout 30 sh -c 'until curl -sf http://localhost:9000/minio/health/live; do sleep 2; done'
61+ AWS_ACCESS_KEY_ID=minioadmin \
62+ AWS_SECRET_ACCESS_KEY=minioadmin \
63+ aws s3 mb s3://reqcore \
64+ --endpoint-url http://localhost:9000 \
65+ --region us-east-1
66+
6467 - name : Checkout
6568 uses : actions/checkout@v4
6669
You can’t perform that action at this time.
0 commit comments