ci-automation: Trivial fixes

Dropped some trailing whitespace, fixed a typo. Trivial.
This commit is contained in:
Krzesimir Nowak 2022-06-03 14:44:24 +02:00
parent 9b57d5ded6
commit 698d0de129
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
set -eu set -eu
function garbage_collect() { function garbage_collect() {
local keep="${1:-50}" local keep="${1:-50}"
local dry_run="${DRY_RUN:-}" local dry_run="${DRY_RUN:-}"
local purge_versions="${PURGE_VERSIONS:-}" local purge_versions="${PURGE_VERSIONS:-}"
@ -53,7 +53,7 @@ function garbage_collect() {
local sshcmd="$(gen_sshcmd)" local sshcmd="$(gen_sshcmd)"
echo echo
echo "######## The following version(s) will be purged ########" echo "######## The following version(s) will be purged ########"
if [ "$dry_run" = "y" ] ; then if [ "$dry_run" = "y" ] ; then
echo echo
@ -61,13 +61,13 @@ function garbage_collect() {
echo echo
fi fi
echo "${purge_versions}" | awk -v keep="${keep}" '{if ($0 == "") next; printf "%5d %s\n", NR + keep - 1, $0}' echo "${purge_versions}" | awk -v keep="${keep}" '{if ($0 == "") next; printf "%5d %s\n", NR + keep - 1, $0}'
echo echo
echo echo
local version local version
for version in ${purge_versions}; do for version in ${purge_versions}; do
echo "--------------------------------------------" echo "--------------------------------------------"
echo echo
echo "#### Processing version '${version}' ####" echo "#### Processing version '${version}' ####"
echo echo

View File

@ -6,7 +6,7 @@
# Helper script for extracting information from TAP files and for merging multiple # Helper script for extracting information from TAP files and for merging multiple
# TAP files into one report. # TAP files into one report.
# The script uses a temporary SQLite DB for querzing and for result generation. # The script uses a temporary SQLite DB for querying and for result generation.
# #
# Brief usage overview (scroll down for parameters etc.): # Brief usage overview (scroll down for parameters etc.):
# tap_ingest_tapfile - add test results from tap file to the DB # tap_ingest_tapfile - add test results from tap file to the DB