From b12e466404373f91c49e7950078795c33c6ba1c3 Mon Sep 17 00:00:00 2001 From: Arun Kant Date: Wed, 9 Jan 2019 10:59:06 -0800 Subject: [PATCH] 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 --- openstack/loci/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openstack/loci/build.sh b/openstack/loci/build.sh index 3cb68365..bacf501e 100755 --- a/openstack/loci/build.sh +++ b/openstack/loci/build.sh @@ -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