Skip to content

Commit c3afb5a

Browse files
committed
fix(buildah-remote): logs when build on remote host started/finished
It's hard to determine if the issue happened on remote host or in container. Signed-off-by: Martin Basti <[email protected]>
1 parent 37120b2 commit c3afb5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

task/buildah-remote/0.3/buildah-remote.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ spec:
574574
REMOTESSHEOF
575575
chmod +x scripts/script-build.sh
576576
577+
echo "Starting build on the remote host $SSH_HOST"
577578
if ! [[ $IS_LOCALHOST ]]; then
578579
PRIVILEGED_NESTED_FLAGS=()
579580
if [[ "${PRIVILEGED_NESTED}" == "true" ]]; then
@@ -629,6 +630,8 @@ spec:
629630
else
630631
bash scripts/script-build.sh "$@"
631632
fi
633+
echo "Build on the remote host $SSH_HOST finished"
634+
632635
buildah images
633636
container=$(buildah from --pull-never "$IMAGE")
634637
buildah mount "$container" | tee /shared/container_path

0 commit comments

Comments
 (0)