You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. go build -o ./alioss ./alioss && go test ./alioss/integration/...
68
69
69
70
- To run it from scratch; create a new bucket, run tests, delete the bucket
70
-
1. Create a user in your ali account and add policy `AliyunOSSFullAccess` or restrict the users with more granular policies like `oss:CreateBucket, oss:DeleteBucket` etc.
71
+
1. Create a user in your ali account and add policy `AliyunOSSFullAccess`, or restrict the users with more granular policies like `oss:CreateBucket`, `oss:DeleteBucket` etc.
71
72
1. Create access key for the user.
72
73
1. Export `AccessKeyId` with command`export access_key_id=<AccessKeyId>`.
73
-
1. Export `AccessKeySecret` with command`export access_key_secret=<AccessKeyId>`.
74
+
1. Export `AccessKeySecret` with command`export access_key_secret=<AccessKeySecret>`.
74
75
1. Navigate to project's root folder.
75
-
1. Run environment setup script to create container `/.github/scripts/alioss/setup.sh`.
76
-
1. Run tests `/.github/scripts/alioss/run-int.sh`.
77
-
1. Run environment teardown script to delete test resources `/.github/scripts/alioss/teardown.sh`.
76
+
1. Run environment setup script to create bucket `./.github/scripts/alioss/setup.sh`.
77
+
1. Run tests `./.github/scripts/alioss/run-int.sh`.
78
+
1. Run environment teardown script to delete test resources `./.github/scripts/alioss/teardown.sh`.
0 commit comments