Skip to content
Snippets Groups Projects
Commit 8d213316 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Merge branch 'master' into 'dev'

# Conflicts:
#   reposync.nomad.tpl
parents b3f12938 63b03419
No related branches found
No related tags found
1 merge request!20Set network requirement to 100mbps to run fewer concurrent tasks
Pipeline #623569 canceled
......@@ -153,6 +153,16 @@ for rpm in ${CHANGELIST}; do
EOF
done
CHANGECOUNT=`echo "${CHANGELIST}" | wc -l | awk '{print $1}'`
cat << EOF | log
"message_type": "result",
"exit_code": ${RET},
"pre_count": ${PRECOUNT},
"post_count": ${POSTCOUNT},
"change_count": ${CHANGECOUNT}
EOF
# Turn the new-line separated list of changes into a comma-separated list of quoted strings
LIST=`sed 's/^/"/;s/$/"/;s/^""$//' <(echo "${CHANGELIST}") | /usr/bin/tr '\n' ',' | sed 's/,$//'`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment