forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minio is an s3 compliant object store. A Minio server can be setup locally and used to test our s3 plugin. This make local testing of our s3 plugin possible and easy without going through the trouble of needing to setup Amazon S3 just for a testing endpoint. Created a new makefile rule to setup a Minio server using docker, run our plugin_test against the s3 plugin, and tear it down. Co-authored-by: Kevin Yeap <kyeap@vmware.com> Co-authored-by: Brent Doil <bdoil@vmware.com>
- Loading branch information
1 parent
3a9a4f5
commit 9950492
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
cat <<MINIO_CONFIG > /tmp/minio_config.yaml | ||
executablepath: $(which gpbackup_s3_plugin) | ||
options: | ||
endpoint: http://localhost:9000/ | ||
aws_access_key_id: minioadmin | ||
aws_secret_access_key: minioadmin | ||
bucket: gpbackup-s3-test | ||
folder: test/backup | ||
MINIO_CONFIG |