Skip to content

Commit 537b976

Browse files
committed
esp/ci: Fix distro name used in upload_to_http job
1 parent 554a6c2 commit 537b976

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.gitlab-ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ upload_to_http:
164164
- *use_ci_tools
165165
script:
166166
- cit_add_ssh_key "${HTTP_UPLOAD_KEY}"
167-
- ARCHIVE_NAME=$(cat ${DIST_ART_DIR}/dist_name_linux-armel)
167+
- ARCHIVE_NAME=$(cat ${DIST_ART_DIR}/dist_name_linux-armhf)
168168
- pushd ${DIST_ART_DIR}
169169
- scp ${ARCHIVE_NAME} ${HTTP_UPLOAD_DIR}/openocd/
170170
- popd
@@ -220,25 +220,25 @@ create_coverage_reports:
220220
- mkdir -p cov_infos
221221
- mkdir -p dist
222222
# Below lines copies all .info files into cov_infos folder
223-
- >
223+
- >
224224
folder_list=$(ls -d build_test_app*);
225225
for each_folder in $folder_list ;
226-
do
226+
do
227227
cp ${each_folder}/*.info cov_infos;
228228
done
229229
- ls -la cov_infos/
230-
# Creating a html report of coverage files.
230+
# Creating a html report of coverage files.
231231
- genhtml --ignore-errors source cov_infos/*.info -o lcov_html_report/
232-
- tar czf dist/lcov_all_report.tar.gz lcov_html_report/
233-
# Below lines collecting all coverage file names with '-a' flag for lcov merge command.
234-
- >
232+
- tar czf dist/lcov_all_report.tar.gz lcov_html_report/
233+
# Below lines collecting all coverage file names with '-a' flag for lcov merge command.
234+
- >
235235
FILES="" ;
236236
for each_file in cov_infos/*.info ;
237-
do
237+
do
238238
FILES+=" -a ${each_file}" ;
239239
done
240240
- lcov ${FILES} -o cov_infos/merged.info
241-
# Line in below creates a txt file from merged coverage file which includes coverage percentages.
241+
# Line in below creates a txt file from merged coverage file which includes coverage percentages.
242242
- lcov --rc lcov_list_width=150 --list cov_infos/merged.info > cov_infos/metrics_input.txt
243243
- python3 tools/list_to_metrics.py --file cov_infos/metrics_input.txt
244244

0 commit comments

Comments
 (0)