Make collab quieter on startup (#8685)

Fix initialization of minio to happen on service start instead of
bootstrap,
don't log errors if extensions are empty or if clickhouse is disabled

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-03-01 13:39:13 -07:00 committed by GitHub
parent 64460e492a
commit 400fb12f7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 38 additions and 35 deletions

View file

@ -3,10 +3,6 @@
echo "installing foreman..."
which foreman > /dev/null || brew install foreman
echo "installing minio..."
which minio > /dev/null || brew install minio/stable/minio
mkdir -p .blob_store/the-extensions-bucket
echo "creating database..."
script/sqlx database create

9
script/run-local-minio Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash -e
which minio > /dev/null || (echo "installing minio..."; brew install minio/stable/minio)
mkdir -p .blob_store/the-extensions-bucket
mkdir -p .blob_store/zed-crash-reports
export MINIO_ROOT_USER=the-blob-store-access-key
export MINIO_ROOT_PASSWORD=the-blob-store-secret-key
minio server --quiet .blob_store