mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
ci-automation: Trivial fixes
Dropped some trailing whitespace, fixed a typo. Trivial.
This commit is contained in:
parent
9b57d5ded6
commit
698d0de129
@ -27,7 +27,7 @@
|
||||
set -eu
|
||||
|
||||
function garbage_collect() {
|
||||
local keep="${1:-50}"
|
||||
local keep="${1:-50}"
|
||||
local dry_run="${DRY_RUN:-}"
|
||||
local purge_versions="${PURGE_VERSIONS:-}"
|
||||
|
||||
@ -53,7 +53,7 @@ function garbage_collect() {
|
||||
|
||||
local sshcmd="$(gen_sshcmd)"
|
||||
|
||||
echo
|
||||
echo
|
||||
echo "######## The following version(s) will be purged ########"
|
||||
if [ "$dry_run" = "y" ] ; then
|
||||
echo
|
||||
@ -61,13 +61,13 @@ function garbage_collect() {
|
||||
echo
|
||||
fi
|
||||
echo "${purge_versions}" | awk -v keep="${keep}" '{if ($0 == "") next; printf "%5d %s\n", NR + keep - 1, $0}'
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
|
||||
local version
|
||||
for version in ${purge_versions}; do
|
||||
echo "--------------------------------------------"
|
||||
echo
|
||||
echo
|
||||
echo "#### Processing version '${version}' ####"
|
||||
echo
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
# Helper script for extracting information from TAP files and for merging multiple
|
||||
# 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.):
|
||||
# tap_ingest_tapfile - add test results from tap file to the DB
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user