-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/process-chipper-hierarchy
- Loading branch information
Showing
35 changed files
with
694 additions
and
116 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
Binary file not shown.
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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_DIR=$(dirname "$(realpath "$0")") | ||
|
||
secret_key=minioadmin | ||
access_key=minioadmin | ||
region=us-east-2 | ||
endpoint_url=http://localhost:9000 | ||
bucket_name=utic-dev-tech-fixtures | ||
|
||
function upload(){ | ||
echo "Uploading test content to new bucket in minio" | ||
AWS_REGION=$region AWS_SECRET_ACCESS_KEY=$secret_key AWS_ACCESS_KEY_ID=$access_key \ | ||
aws --output json --endpoint-url $endpoint_url s3api create-bucket --bucket $bucket_name | jq | ||
AWS_REGION=$region AWS_SECRET_ACCESS_KEY=$secret_key AWS_ACCESS_KEY_ID=$access_key \ | ||
aws --endpoint-url $endpoint_url s3 cp "$SCRIPT_DIR"/wiki_movie_plots_small.csv s3://$bucket_name/ | ||
} | ||
|
||
# Create Minio single server | ||
docker compose version | ||
docker compose -f "$SCRIPT_DIR"/docker-compose.yaml up --wait | ||
docker compose -f "$SCRIPT_DIR"/docker-compose.yaml ps | ||
|
||
echo "Cluster is live." | ||
upload |
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,13 @@ | ||
services: | ||
minio: | ||
image: quay.io/minio/minio | ||
container_name: minio-test | ||
ports: | ||
- 9000:9000 | ||
- 9001:9001 | ||
command: server --console-address ":9001" /data | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] | ||
interval: 5s | ||
timeout: 20s | ||
retries: 3 |
Oops, something went wrong.