summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan.devel@gmail.com>2018-10-08 18:58:54 +0000
committerChandan Singh <chandan.devel@gmail.com>2018-10-08 18:58:54 +0000
commit49df3d75f4e52076cb5ce9ef0c00dfe2c6b318b3 (patch)
tree7bf5c7b3d07aeb6e7526f7f214eb612a74aea477
parent350c67968b3033f37d0c3fcedede98559e5bb1d3 (diff)
parent3ca487b8762f3491d273aeae9c3b0b5c287e0b4e (diff)
downloadbuildstream-49df3d75f4e52076cb5ce9ef0c00dfe2c6b318b3.tar.gz
Merge branch 'chandan/fix-bst-docker-import-logging' into 'master'
bst-docker-import: Consistently use stderr for all logs See merge request BuildStream/buildstream!863
-rwxr-xr-xcontrib/bst-docker-import8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bst-docker-import b/contrib/bst-docker-import
index a451b8770..dfb16d7ce 100755
--- a/contrib/bst-docker-import
+++ b/contrib/bst-docker-import
@@ -93,10 +93,10 @@ echo "INFO: Checking out $element ..." >&2
$bst_cmd checkout --tar "$element" "$checkout_tar" || die "Failed to checkout $element"
echo "INFO: Successfully checked out $element" >&2
-echo "INFO: Importing Docker image ..."
+echo "INFO: Importing Docker image ..." >&2
"${docker_import_cmd[@]}" "$checkout_tar" "$docker_image_tag" || die "Failed to import Docker image from tarball"
-echo "INFO: Successfully import Docker image $docker_image_tag"
+echo "INFO: Successfully import Docker image $docker_image_tag" >&2
-echo "INFO: Cleaning up ..."
+echo "INFO: Cleaning up ..." >&2
rm "$checkout_tar" || die "Failed to remove $checkout_tar"
-echo "INFO: Clean up finished"
+echo "INFO: Clean up finished" >&2