@@ -12,17 +12,29 @@ description: Configure S3 cloud storage for the ReportPortal Flaky Test Detectio
1212
1313ReportPortal supports cloud storage options through the Java library [ JCLOUDS] ( https://jclouds.apache.org/ ) .
1414
15- To configure storage using Amazon S3, ReportPortal uses the following environment variables for the services ** API** , ** Jobs** , and ** Authorization** :
15+ To configure storage using Amazon S3, ReportPortal uses the following ** environment variables for the services API, Jobs, and Authorization** :
1616
1717``` bash
1818RP_FEATURE_FLAGS: singleBucket # Enable single-bucket storage (recommended)
19- DATASTORE_TYPE: aws- s3
19+ DATASTORE_TYPE: s3
2020DATASTORE_REGION: us-standard # Region of the bucket (JCloud ref. to `us-east-1`)
2121DATASTORE_ACCESSKEY: < access_key>
2222DATASTORE_SECRETKEY: < secret_key>
2323DATASTORE_DEFAULTBUCKETNAME: my-bucket # Name of the bucket
2424```
2525
26+ ** Environment variables for for Analyzer:**
27+
28+ ``` bash
29+ x-analyzer-environment: & common-analyzer-environment
30+ DATASTORE_REGION: us-east-1
31+ DATASTORE_ACCESSKEY: " <access_key>"
32+ DATASTORE_SECRETKEY: " <secret_key>"
33+ DATASTORE_BUCKETPREFIX: prj-
34+ DATASTORE_BUCKETPOSTFIX: " "
35+ DATASTORE_DEFAULTBUCKETNAME: my-rp-docker-bucket/analyzer
36+ ```
37+
2638## IAM Role-based authentication
2739
2840### Amazon EKS-based
@@ -341,11 +353,25 @@ In your `docker-compose.yml`, configure ReportPortal to use IAM-based S3 access:
341353``` yaml
342354x-environment : &common-environment
343355 # IAM Role-Based S3 Access - Leave credentials empty
344- DATASTORE_ACCESSKEY : " "
345- DATASTORE_SECRETKEY : " "
346- DATASTORE_TYPE : aws-s3
347- DATASTORE_REGION : us-standard # JClouds alias for us-east-1
356+ DATASTORE_ACCESSKEY : " " # Leave empty for IAM Role-based access
357+ DATASTORE_SECRETKEY : " " # Leave empty for IAM Role-based access
358+ RP_FEATURE_FLAGS : singleBucket
359+ DATASTORE_TYPE : s3 # Enable single-bucket storage (necessary for Amazon S3)
360+ DATASTORE_REGION : us-standard # JClouds alias for us-east-1
348361 DATASTORE_DEFAULTBUCKETNAME : my-rp-docker-bucket
362+
363+ x-analyzer-environment : &common-analyzer-environment
364+ LOGGING_LEVEL : info
365+ AMQP_EXCHANGE_NAME : analyzer-default
366+ AMQP_VIRTUAL_HOST : analyzer
367+ AMQP_URL : amqp://${RABBITMQ_DEFAULT_USER-rabbitmq}:${RABBITMQ_DEFAULT_PASS-rabbitmq}@rabbitmq:5672
368+ ES_HOSTS : http://opensearch:9200
369+ DATASTORE_REGION : us-east-1
370+ DATASTORE_ACCESSKEY : " " # Leave empty for IAM Role-based access
371+ DATASTORE_SECRETKEY : " " # Leave empty for IAM Role-based access
372+ DATASTORE_BUCKETPREFIX : prj-
373+ DATASTORE_BUCKETPOSTFIX : " "
374+ DATASTORE_DEFAULTBUCKETNAME : my-rp-docker-bucket/analyzer
349375` ` `
350376
351377:::note
0 commit comments