Skip to content

Commit e8d3609

Browse files
tonistiigivvoland
authored andcommitted
hack: use custom ref for buildkit tests
Signed-off-by: Tonis Tiigi <[email protected]> Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 21d2d55 commit e8d3609

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ require (
5555
github.com/miekg/dns v1.1.66
5656
github.com/mistifyio/go-zfs/v3 v3.0.1
5757
github.com/mitchellh/copystructure v1.2.0
58-
github.com/moby/buildkit v0.25.0-rc1
58+
github.com/moby/buildkit v0.25.0-rc1 // TODO: remove custom ref in hack/buildkit-ref
5959
github.com/moby/docker-image-spec v1.3.1
6060
github.com/moby/go-archive v0.1.0
6161
github.com/moby/ipvs v1.1.0

hack/buildkit-ref

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ if [[ "${buildkit_ref}" == *-*-* ]]; then
1919
buildkit_ref=$(curl -s "https://api.github.com/repos/${buildkit_repo}/commits/${buildkit_ref}" | jq -r .sha)
2020
fi
2121

22+
# Needed by v0.25.0-rc1
23+
buildkit_ref="e4d7acb44d7e29b594445a36c5cc28be44740142"
24+
2225
cat << EOF
2326
BUILDKIT_REPO=$buildkit_repo
2427
BUILDKIT_REF=$buildkit_ref

0 commit comments

Comments
 (0)