testomatio / reporter

Testomatio Reporter
126 stars 22 forks source link

Path prefix for the artefacts storage #375

Open tikolakin opened 3 months ago

tikolakin commented 3 months ago

Is your feature request related to a problem? Please describe. Can we extend reporter to allow path prefix? Ex. S3_PATH or S3_BUCKET=bucketName/childFolder so that I can organise artefacts in the bucket better

Describe the solution you'd like A reporter would send data to a specific folder inside a bucket

tikolakin commented 3 months ago

Definition - https://github.com/testomatio/reporter/blob/079b850ea4f7a8538499a8e2a8b58fa240281479/lib/fileUploader.js#L244C53-L244C58 Usage - https://github.com/testomatio/reporter/blob/master/lib/client.js#L178 There is a bug with the test artefacts upload it seems we expect a test run id for all artefacts in the run but it doesn't happen in reality. What we actually get is just a random uuid Random uuid doesn't help with organising files in the bucket. Making bucket not manegable.