Skip to content

Commit 184e9f4

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

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
-
154154
name: Install k3s
155155
if: matrix.driver == 'kubernetes'
156-
uses: crazy-max/.github/.github/actions/install-k3s@7730d1434364d4b9aded32735b078a7ace5ea79a
156+
uses: crazy-max/.github/.github/actions/install-k3s@a94383ec9e125b23907fb6fcebf7ff87964595e5
157157
with:
158158
version: ${{ env.K3S_VERSION }}
159159
-

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 10
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)