Skip to content

Commit dfd1908

Browse files
scme0NimRegev
andauthored
Add section for MAX_UPLOAD_SIZE_MB env var (codefresh-io#1059)
* Add section for new env var * Update test-reports.md Minor edit * Update test-reports.md --------- Co-authored-by: NimRegev <nima.regev@codefresh.io>
1 parent da32884 commit dfd1908

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

_docs/testing/test-reports.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,27 @@ The icons shown are specified by the `REPORT_TYPE` variable. The following optio
502502

503503
If you don't provide a `REPORT_TYPE`, Codefresh uses a default icon.
504504

505+
## Uploading large test reports
506+
507+
By default, the maximum size for a test report is 1000MB. Override the default size through the `MAX_UPLOAD_SIZE_MB` environment variable.
508+
509+
Example:
510+
511+
{% highlight yaml %}
512+
{% raw %}
513+
unit_test_reporting_step:
514+
title: Upload Mocha test reports
515+
image: codefresh/cf-docker-test-reporting
516+
working_directory: /codefresh/volume/demochat/
517+
environment:
518+
- REPORT_DIR=mochawesome-report
519+
- REPORT_INDEX_FILE=mochawesome.html
520+
- CLEAR_TEST_REPORT=true
521+
- BUCKET_NAME=my-bucket-name
522+
- CF_STORAGE_INTEGRATION=google
523+
- MAX_UPLOAD_SIZE_MB=3000
524+
{% endraw %}
525+
{% endhighlight %}
505526

506527
## Getting results from tests that fail
507528

0 commit comments

Comments
 (0)