This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch buffer-refactor
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/buffer-refactor by this push:
new 066d641a7 use aws cli to create bucket
066d641a7 is described below
commit 066d641a7de32db5d4dd4fda2ff97fbaca484604
Author: Xuanwo <[email protected]>
AuthorDate: Tue Aug 22 18:00:27 2023 +0800
use aws cli to create bucket
Signed-off-by: Xuanwo <[email protected]>
---
.github/workflows/service_test_s3.yml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/service_test_s3.yml
b/.github/workflows/service_test_s3.yml
index 80ed0ee4e..a9760c11d 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -147,17 +147,18 @@ jobs:
run: |
docker-compose -f docker-compose-minio.yml up -d
- name: Setup test bucket
+ env:
+ AWS_ACCESS_KEY_ID: "minioadmin"
+ AWS_SECRET_ACCESS_KEY: "minioadmin"
+ AWS_EC2_METADATA_DISABLED: "true"
run: |
+ aws --endpoint-url http://127.0.0.1:9000/ s3 mb s3://test
+
curl -O https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc alias set local http://127.0.0.1:9000/ minioadmin minioadmin
- ./mc mb local/test
./mc anonymous set public local/test
- while :; do
- echo "waiting minio to be ready"
- [[ "$(./mc ping --count 1 local | awk '{print $6}' | tr -d '\n')"
== "errors=1" ]] || break
- sleep 1
- done
+
- name: Setup Rust toolchain
uses: ./.github/actions/setup
with: