reg-publish-gcs-plugin
v0.14.4
Published
Fetch and publish snapshot images to Google Cloud Storage.
Downloads
58,768
Maintainers
Readme
reg-publish-gcs-plugin
reg-suit plugin to fetch and publish snapshot images to Google Cloud Storage.
Install
npm i reg-publish-gcs-plugin -D
reg-suit prepare -p publish-gcs
Authorizing GCP
This plugin has to be authorized using GCP's Application Default Credentials.
If you run this plugin in your CI service, it's recommended to create a Service Account. Visit https://cloud.google.com/iam/docs/creating-managing-service-accounts to see more details.
Configure
{
bucketName: string;
customUri?: string;
pathPrefix?: string;
}
bucketName
- Required - GCS bucket name to publish the snapshot images to.customUri
- Optional - Custom URI prefix. Default value ishttps://storage.googleapis.com/${bucketName}
. It's useful if you request report HTML over some HTTP proxy servers.pathPrefix
- Optional - Specify paths. For example if you setsome_dir
, the report is published with URL such ashttps://storage.googleapis.com/your-bucket/some_dir/xxxxxxxxxindex.html
.