Skip to content

Commit 65a5950

Browse files
committed
e2e: test build records export
Signed-off-by: CrazyMax <[email protected]>
1 parent 1e50e8d commit 65a5950

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hack/test-driver

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ if [ "$DRIVER" != "docker" ]; then
143143
"${context}"
144144
fi
145145

146+
# list build records
147+
buildxCmd --builder="${builderName}" history ls
148+
149+
# export build records
150+
sleep 3
151+
buildxCmd --builder="${builderName}" history export --finalize --all --output "${context}/records.dockerbuild"
152+
file "${context}/records.dockerbuild"
153+
146154
# create bake def
147155
cat > "${bakedef}" <<EOL
148156
group "default" {

0 commit comments

Comments
 (0)