githubEdit

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.

circle-exclamation

Create Service Account

  1. Select a project or create a new project. Note the project ID.

  2. Select the Create credentials drop-down on the Credentials page, and click Service account key.

  3. Select New service account from the Service account drop-down.

  4. Populate the Service account name and Service account ID.

  5. 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).

  6. Click on the service account and select Add Key > Create New Key key

  7. Download the JSON file and rename it as credentials.json

circle-exclamation

Deploy Minio Gateway

Grab the following Dockerfile and place it in the same directory as created earlier credentials.json

.
β”œβ”€β”€ credentials.json
└── Dockerfile

Replace project and choose secure MINIO_ACCESS_KEY and MINIO_SECRET_KEY, build the image and push to GCR.

Create and deploy Cloud Run minioservice.

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