Clear parallel actions from previous install

In local dev environment, there can be actions from previous build.
As we are appending actions for per-project build, clear the content
first from last image build execution.

Change-Id: I5c15b5a474a16da5680f3c382154d8bfb9d4731c
This commit is contained in:
Arun Kant 2019-01-09 10:59:06 -08:00
parent 86bafe3cc8
commit b12e466404
1 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,8 @@ pushd ${LOCI_SRC_DIR}
eval "${docker_build_cmd}"
docker push ${tag}
unset projects[0]
# clear action from previous install (can be in dev local builds)
truncate -s 0 ${LOG_PREFIX}actions
# Run the rest of the projects with parallel
for project in ${projects[@]}; do
get_project_image_build_arguments $project