Add container IDs to debug log
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
3wc 2021-01-24 19:07:25 +02:00
parent 6cc265e931
commit f90e1d154c
1 changed files with 4 additions and 0 deletions

4
abra
View File

@ -1142,6 +1142,8 @@ sub_app_run(){
exit
fi
debug "Using Container ID ${CONTAINER}"
# 3wc: we want the "splitting" that shellcheck warns us about, so that -u and
# $RUN_USER aren't treated as a single argument:
# shellcheck disable=SC2086
@ -1245,6 +1247,8 @@ sub_app_cp() {
exit
fi
debug "Using Container ID ${CONTAINER}"
# Replace $SERVICE with $CONTAINER in the original args
CP_ARGS=$(echo "$SOURCE $DEST" | sed "s/$SERVICE:/$CONTAINER:/")
# FIXME 3wc: this might cause problems for filenames with spaces..