From f13334395533b660d8c779d3c7f395726d64f0e2 Mon Sep 17 00:00:00 2001 From: Eryk Szpotanski Date: Mon, 2 Sep 2024 12:46:32 +0200 Subject: [PATCH] docker.bzl: Add prints with debug information Signed-off-by: Eryk Szpotanski --- docker.bzl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker.bzl b/docker.bzl index dee5327a..454d215c 100644 --- a/docker.bzl +++ b/docker.bzl @@ -21,6 +21,8 @@ def _impl(repository_ctx): image, ], ) + print("Create STDOUT:", created.stdout) + print("Create STDERR:", created.stderr) if created.return_code != 0: fail("Failed to create stopped container: {}".format(created.stderr), created.return_code) container_id = created.stdout.strip() @@ -32,6 +34,8 @@ def _impl(repository_ctx): ".", ], ) + print("Copy STDOUT:", cp.stdout) + print("Copy STDERR:", cp.stderr) remove = repository_ctx.execute( [ docker,