Skip to content

Commit a008747

Browse files
committed
Update busybox:glibc in integration tests to latest builds
Signed-off-by: Tianon Gravi <[email protected]>
1 parent 89c46a9 commit a008747

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

tests/integration/bootstrap-get-images.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ set -Eeuo pipefail
99
# https://github.com/docker-library/bashbrew/releases
1010

1111
images=(
12-
# pinned to an older BusyBox (prior to 1.36 becoming "latest") because 1.36.0 has some unresolved bugs, especially around sha256sum
13-
'https://github.com/docker-library/official-images/raw/eaed422a86b43c885a0f980d48f4bbf346086a4a/library/busybox:glibc'
12+
# https://github.com/docker-library/official-images/commits/HEAD/library/busybox
13+
'https://github.com/docker-library/official-images/raw/c31327563b48a3567f29e158a76f780ae41fc24a/library/busybox:glibc'
1414

1515
# pinned to an older Debian Buster which has more architectures than the latest does (Buster transitioned from the Debian Security Team to the LTS Team which supports a smaller set)
1616
'https://github.com/docker-library/official-images/raw/ce10f6b60289c0c0b5de6f785528b8725f225a58/library/debian:buster-slim'
@@ -76,7 +76,7 @@ bashbrew cat --format '
7676
{{- $branch := $.TagEntry.ArchGitFetch . | trimPrefixes "refs/heads/" -}}
7777
{{- $commit := $.TagEntry.ArchGitCommit . -}}
7878
{{- $dir := $.TagEntry.ArchDirectory . -}}
79-
{{- $tarball := eq $.RepoName "debian" | ternary "rootfs.tar.xz" "busybox.tar.xz" -}}
79+
{{- $tarball := eq $.RepoName "debian" | ternary "rootfs.tar.xz" "rootfs.tar.gz" -}}
8080
8181
{{ . | replace "arm64v8" "arm64" "arm32" "arm" "i386" "386" }} {{- ")\n" -}}
8282
{{- "\t" -}}# {{ $repo }}/tree/{{ $branch }}{{- "\n" -}}

tests/integration/get-images.sh

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,50 +49,56 @@ fi
4949
case $arch in
5050
amd64)
5151
# https://github.com/docker-library/busybox/tree/dist-amd64
52-
# https://github.com/docker-library/busybox/tree/31d342ad033e27c18723a516a2274ab39547be27/stable/glibc
53-
url="https://github.com/docker-library/busybox/raw/31d342ad033e27c18723a516a2274ab39547be27/stable/glibc/busybox.tar.xz"
52+
# https://github.com/docker-library/busybox/tree/c9d396b13758b9ef013ff0ebc31b15e246ced4d2/latest/glibc/amd64
53+
url="https://github.com/docker-library/busybox/raw/c9d396b13758b9ef013ff0ebc31b15e246ced4d2/latest/glibc/amd64/rootfs.tar.gz"
5454
;;
5555

5656
armv5)
5757
# https://github.com/docker-library/busybox/tree/dist-arm32v5
58-
# https://github.com/docker-library/busybox/tree/96ea82ea25565f78b50bd032d5768d64985d6e11/stable/glibc
59-
url="https://github.com/docker-library/busybox/raw/96ea82ea25565f78b50bd032d5768d64985d6e11/stable/glibc/busybox.tar.xz"
58+
# https://github.com/docker-library/busybox/tree/731a682974d050920dff0cf9547d41ad1f898ba4/latest/glibc/arm32v5
59+
url="https://github.com/docker-library/busybox/raw/731a682974d050920dff0cf9547d41ad1f898ba4/latest/glibc/arm32v5/rootfs.tar.gz"
6060
;;
6161

6262
armv7)
6363
# https://github.com/docker-library/busybox/tree/dist-arm32v7
64-
# https://github.com/docker-library/busybox/tree/5cb6c347469e86e4468e5e248de751b3598bb577/stable/glibc
65-
url="https://github.com/docker-library/busybox/raw/5cb6c347469e86e4468e5e248de751b3598bb577/stable/glibc/busybox.tar.xz"
64+
# https://github.com/docker-library/busybox/tree/f51cc9054cc8eb2996a5b48bf4364997c0c3ab93/latest/glibc/arm32v7
65+
url="https://github.com/docker-library/busybox/raw/f51cc9054cc8eb2996a5b48bf4364997c0c3ab93/latest/glibc/arm32v7/rootfs.tar.gz"
6666
;;
6767

6868
arm64)
6969
# https://github.com/docker-library/busybox/tree/dist-arm64v8
70-
# https://github.com/docker-library/busybox/tree/94c664b5ca464546266bce54be0082874a44c7b2/stable/glibc
71-
url="https://github.com/docker-library/busybox/raw/94c664b5ca464546266bce54be0082874a44c7b2/stable/glibc/busybox.tar.xz"
70+
# https://github.com/docker-library/busybox/tree/ef09fbe6f4c562e34bb67a0ba372702018eaccd4/latest/glibc/arm64v8
71+
url="https://github.com/docker-library/busybox/raw/ef09fbe6f4c562e34bb67a0ba372702018eaccd4/latest/glibc/arm64v8/rootfs.tar.gz"
7272
;;
7373

7474
386)
7575
# https://github.com/docker-library/busybox/tree/dist-i386
76-
# https://github.com/docker-library/busybox/tree/461a473aef31b7726ea99909a24551bf44565c05/stable/glibc
77-
url="https://github.com/docker-library/busybox/raw/461a473aef31b7726ea99909a24551bf44565c05/stable/glibc/busybox.tar.xz"
76+
# https://github.com/docker-library/busybox/tree/07b656d2484ca0788433469dbfce9da6c55658b2/latest/glibc/i386
77+
url="https://github.com/docker-library/busybox/raw/07b656d2484ca0788433469dbfce9da6c55658b2/latest/glibc/i386/rootfs.tar.gz"
7878
;;
7979

8080
mips64le)
8181
# https://github.com/docker-library/busybox/tree/dist-mips64le
82-
# https://github.com/docker-library/busybox/tree/47f73f7c735dcd6760a976bfe0012d251b6ef0a9/stable/glibc
83-
url="https://github.com/docker-library/busybox/raw/47f73f7c735dcd6760a976bfe0012d251b6ef0a9/stable/glibc/busybox.tar.xz"
82+
# https://github.com/docker-library/busybox/tree/8985b768384fd6f3ed696734e7e4db34b031ee2f/latest/glibc/mips64le
83+
url="https://github.com/docker-library/busybox/raw/8985b768384fd6f3ed696734e7e4db34b031ee2f/latest/glibc/mips64le/rootfs.tar.gz"
8484
;;
8585

8686
ppc64le)
8787
# https://github.com/docker-library/busybox/tree/dist-ppc64le
88-
# https://github.com/docker-library/busybox/tree/9ca13bc214717966383cf97e08606b444b7300e4/stable/glibc
89-
url="https://github.com/docker-library/busybox/raw/9ca13bc214717966383cf97e08606b444b7300e4/stable/glibc/busybox.tar.xz"
88+
# https://github.com/docker-library/busybox/tree/3bbb15b7efd6d99a73690516b4499b6642f97ef5/latest/glibc/ppc64le
89+
url="https://github.com/docker-library/busybox/raw/3bbb15b7efd6d99a73690516b4499b6642f97ef5/latest/glibc/ppc64le/rootfs.tar.gz"
90+
;;
91+
92+
riscv64)
93+
# https://github.com/docker-library/busybox/tree/dist-riscv64
94+
# https://github.com/docker-library/busybox/tree/0aa8d9691f136754b8dab5af01429b32dfa36490/latest/glibc/riscv64
95+
url="https://github.com/docker-library/busybox/raw/0aa8d9691f136754b8dab5af01429b32dfa36490/latest/glibc/riscv64/rootfs.tar.gz"
9096
;;
9197

9298
s390x)
9399
# https://github.com/docker-library/busybox/tree/dist-s390x
94-
# https://github.com/docker-library/busybox/tree/a03814d21bcf97767121bb9422a742ec237a09e2/stable/glibc
95-
url="https://github.com/docker-library/busybox/raw/a03814d21bcf97767121bb9422a742ec237a09e2/stable/glibc/busybox.tar.xz"
100+
# https://github.com/docker-library/busybox/tree/221f9e80b411fcfea795ca453cb5d2f9ef24aeee/latest/glibc/s390x
101+
url="https://github.com/docker-library/busybox/raw/221f9e80b411fcfea795ca453cb5d2f9ef24aeee/latest/glibc/s390x/rootfs.tar.gz"
96102
;;
97103

98104
*)

0 commit comments

Comments
 (0)