Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-s3-test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: tests/s3_exploratory/minio_scripts/minio-start
- name: Wait for minio object storage to start
run: |
until curl -if http://localhost:9001; do
until curl -s http://localhost:9000 >/dev/null; do
sleep 1;
done
- name: Run Reductionist container
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_s3_minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: tests/s3_exploratory/minio_scripts/minio-start
- name: Wait for minio object storage to start
run: |
until curl -if http://localhost:9001; do
until curl -s http://localhost:9000 >/dev/null; do
sleep 1;
done
- name: Run Reductionist container
Expand Down
8 changes: 7 additions & 1 deletion tests/s3_exploratory/minio_scripts/minio-start
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env bash

# Use timestamped storage volume so that test data is removed when container is stopped
exec docker run --detach --rm -p 9000:9000 -p 9001:9001 -v minio_$(date +%s) --name minio quay.io/minio/minio server data --console-address ":9001"
exec docker run --detach --rm \
-p 9000:8333 \
--name seaweedfs \
-e AWS_ACCESS_KEY_ID=minioadmin \
-e AWS_SECRET_ACCESS_KEY=minioadmin \
-e S3_BUCKET=pyactivestorage \
chrislusf/seaweedfs
2 changes: 1 addition & 1 deletion tests/s3_exploratory/minio_scripts/minio-stop
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

exec docker stop minio
exec docker stop seaweedfs
Loading