0.14.4 • Published 20 days ago

reg-publish-s3-plugin v0.14.4

Weekly downloads
17,877
License
MIT
Repository
github
Last release
20 days ago

reg-publish-s3-plugin

reg-suit plugin to fetch and publish snapshot images to AWS S3.

Install

npm i reg-publish-s3-plugin -D
reg-suit prepare -p publish-s3

Requirements

To use this plugin, you need to create an S3 bucket and configure to allow to access it from your CI.

Configure

{
  bucketName: string;
  acl?: string;
  sse?: boolean | string;
  sseKMSKeyId?: string;
  customDomain?: string;
  pathPrefix?: string;
  sdkOptions?: S3ClientConfig;
}
  • bucketName - Required - AWS S3 bucket name to publish the snapshot images to.
  • enableACL - Optional - Specifies whether ACL is enabled or not. Default true.
  • acl - Optional - Specify ACL property. By default, public-read.
  • sse - Optional - Specify server-side encryption property. Default false. If you set true, this plugin send with --sse="AES256.
  • sseKMSKeyId - Optional - Specify server-side encryption KMS KEY ID. If provided, is passed as SSEKMSKeyId to s3.putObject.
  • customDomain - Optional - Set if you have your domain and host S3 on it. If set, the HTML report will be published with this custom domain(e.g. https://your-sub.example.com/...).
  • pathPrefix - Optional - Specify paths. For example if you set some_dir, the report is published with URL such as https://your-backet-name.s3.amazonaws.com/some_dir/xxxxxxxxx/index.html.
  • sdkOptions - Optional - Specify options to pass to S3Client constructor. For details about the options, refer to the AWS JavaScript SDK docs.

IAM Role Policy

This plugin needs following role policy.

  "Action": [
    "s3:DeleteObject",
    "s3:GetObject",
    "s3:GetObjectAcl",
    "s3:PutObject",
    "s3:PutObjectAcl",
    "s3:ListBucket"
  ]
0.14.4

20 days ago

0.14.3

3 months ago

0.14.2

3 months ago

0.14.0

3 months ago

0.13.0

4 months ago

0.12.2

11 months ago

0.12.1

2 years ago

0.11.0

3 years ago

0.10.17

3 years ago

0.10.16

3 years ago

0.10.15

3 years ago

0.10.10

3 years ago

0.10.9

3 years ago

0.10.8

4 years ago

0.10.7

4 years ago

0.10.6

4 years ago

0.10.3

4 years ago

0.9.0

4 years ago

0.8.5

4 years ago

0.7.25

5 years ago

0.7.23

5 years ago

0.7.22

5 years ago

0.7.18

6 years ago

0.7.16

6 years ago

0.7.10

6 years ago

0.7.6

6 years ago

0.7.5

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.3

6 years ago

0.6.1

6 years ago

0.6.0

7 years ago

0.5.9

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.3

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.2.6

7 years ago

0.2.3

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.17

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago