[igt-dev] [PATCH i-g-t 2/2] gitlab-ci/pull-or-rebuild: added few debug prints

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Aug 31 15:35:17 UTC 2023


Added few debug prints to help diagnose problems.

Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
 .gitlab-ci/pull-or-rebuild.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci/pull-or-rebuild.sh b/.gitlab-ci/pull-or-rebuild.sh
index 31f3dbca4..57c470fa4 100755
--- a/.gitlab-ci/pull-or-rebuild.sh
+++ b/.gitlab-ci/pull-or-rebuild.sh
@@ -38,6 +38,7 @@ PODMAN_BUILD="podman build --build-arg=CI_COMMIT_SHA=${CI_COMMIT_SHA} --build-ar
 
 if [ "${TYPE}" = "base" ]; then
 	# base container (building, etc) - we rebuild only if changed or forced
+	echo "Inspecting base: ${DOCKERNAME}"
 	skopeo inspect docker://${DOCKERNAME}
 	IMAGE_PRESENT=$?
 
@@ -46,6 +47,7 @@ if [ "${TYPE}" = "base" ]; then
 		echo "Skipping, already built"
 	else
 		echo "Building!"
+		echo "Build with: ${PODMAN_BUILD} --squash -t ${DOCKERNAME} -f ${DOCKERFILE} ."
 		${PODMAN_BUILD} --squash -t ${DOCKERNAME} -f ${DOCKERFILE} .
 		podman push ${DOCKERNAME}
 	fi
-- 
2.39.2



More information about the igt-dev mailing list