Google Cloud & MinIO - Deprecated
Sorry-cypress installation instructions for Google Cloud Run with MinIO
Minio Gateway
MinIO GCS Gateway allows to access Google Cloud Storage (GCS) with AWS S3-compatible APIs.
MinIO Gateway is Deprecated since February 2022
Create Service Account
Navigate to the API Console Credentials page
Select a project or create a new project. Note the project ID.
Select the Create credentials drop-down on the Credentials page, and click Service account key.
Select New service account from the Service account drop-down.
Populate the Service account name and Service account ID.
Click the drop-down under Grant this service account access to the project, the Role and choose Storage > Storage Admin (Full control of GCS resources).
Click on the service account and select Add Key > Create New Key key
Download the JSON file and rename it as
credentials.json
The service account is granted admin access to all GC storage objects. Please refer to Google Cloud and Minio documentation to limit access.
Deploy Minio Gateway
Grab the following Dockerfile and place it in the same directory as created earlier credentials.json
Replace project
and choose secure MINIO_ACCESS_KEY
and MINIO_SECRET_KEY
, build the image and push to GCR.
Create and deploy Cloud Run minio
service.
Upon successful deployment, note the Service URL
of the deployed service. You'd be able to open browsers and access Minio dashboard with the credentials you've set in Dockerfile earlier.
Create a New Bucket
Run the next command to create a new bucket (<bucket_name>
) and set policy using mc
- minio client Docker image
🎉 You have setup Minio Gateway that sorry-cypress can use to store the recordings of your runs.
Continue the setup steps for deploying sorry-cypress
Continue with the setup here and use these environment variables instead:
Last updated