Skip to content

Commit 07484cc

Browse files
committed
add missing arguments
1 parent c9786b6 commit 07484cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

incubating/test-reporting/step.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
"type": "string",
7878
"description": "Directory with test report files"
7979
},
80+
"report_path": {
81+
"type": "string",
82+
"description": "Path where the report files are saved in the bucket"
83+
},
8084
"report_index_file": {
8185
"type": "string",
8286
"description": "Root file that will be open in report"
@@ -88,6 +92,10 @@ spec:
8892
"max_upload_size_mb": {
8993
"type": "integer",
9094
"description": "Max upload size in MB. The default is 1000MB"
95+
},
96+
"cf_api_retries": {
97+
"type": "integer",
98+
"description": "The number of times to retry if a Codefresh API call fails. The default is 0"
9199
}
92100
}
93101
}
@@ -108,6 +116,9 @@ spec:
108116
[[ if .Arguments.report_dir ]]
109117
- REPORT_DIR=[[ .Arguments.report_dir ]]
110118
[[ end ]]
119+
[[ if .Arguments.report_path ]]
120+
- REPORT_PATH=[[ .Arguments.report_path ]]
121+
[[ end ]]
111122
[[ if .Arguments.report_index_file ]]
112123
- REPORT_INDEX_FILE=[[ .Arguments.report_index_file ]]
113124
[[ end ]]
@@ -119,6 +130,9 @@ spec:
119130
[[ end ]]
120131
[[ if .Arguments.max_upload_size_mb ]]
121132
- MAX_UPLOAD_SIZE_MB=[[ .Arguments.max_upload_size_mb ]]
133+
[[ end ]]
134+
[[ if .Arguments.cf_api_retries ]]
135+
- CF_API_RETRIES=[[ .Arguments.cf_api_retries ]]
122136
[[ end ]]
123137
- CF_STEP_NAME=first
124138
- CF_VOLUME_PATH=/meta

0 commit comments

Comments
 (0)