Update to Debian Trixie
This allows us to finally drop all "unstable" hacks (as `riscv64` is an officially supported architecture in Trixie+).
This commit is contained in:
parent
e73a53925b
commit
e0ffe6a223
|
|
@ -35,7 +35,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
strategy="$(GENERATE_STACKBREW_LIBRARY='.github/workflows/fake-gsl.sh' "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
|
strategy="$(GENERATE_STACKBREW_LIBRARY='.github/workflows/fake-gsl.sh' "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
|
||||||
strategy="$(.github/workflows/munge-build.sh -c <<<"$strategy")"
|
strategy="$(.github/workflows/munge-build.sh -c <<<"$strategy")"
|
||||||
strategy="$(.github/workflows/munge-unstable.sh -c <<<"$strategy")"
|
|
||||||
|
|
||||||
EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
|
EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
|
||||||
echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
|
echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
|
||||||
|
|
@ -65,10 +64,4 @@ jobs:
|
||||||
- name: '"docker images"'
|
- name: '"docker images"'
|
||||||
run: ${{ matrix.runs.images }}
|
run: ${{ matrix.runs.images }}
|
||||||
- name: Git Diff # see "munge-build.sh"
|
- name: Git Diff # see "munge-build.sh"
|
||||||
run: |
|
run: git diff --exit-code
|
||||||
if git diff --exit-code */*/Dockerfile.builder; then # see "hack-unstable.sh" (and "munge-unstable.sh")
|
|
||||||
git diff --exit-code
|
|
||||||
else
|
|
||||||
# for unstable builds, let's leave this in but purely informational (instead of causing CI to fail)
|
|
||||||
git diff
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -Eeuo pipefail
|
|
||||||
|
|
||||||
# see also "hack-unstable.sh"
|
|
||||||
jq '
|
|
||||||
.matrix.include += [
|
|
||||||
.matrix.include[]
|
|
||||||
| select(.name | test(" [(].+[)]") | not) # ignore any existing munged builds
|
|
||||||
| select(.os | startswith("windows-") | not)
|
|
||||||
| select(.meta.froms | any(startswith("debian:")))
|
|
||||||
| .name += " (unstable)"
|
|
||||||
| .runs.prepare += ([
|
|
||||||
"./hack-unstable.sh " + (.meta.entries[].directory | @sh),
|
|
||||||
"if git diff --exit-code; then exit 1; fi", # trust, but verify (if hack-unstable did not modify anything, we want to bail quickly)
|
|
||||||
empty
|
|
||||||
] | map("\n" + .) | add)
|
|
||||||
| .runs.pull = "" # pulling images does not make sense here (we just changed them)
|
|
||||||
]
|
|
||||||
' "$@"
|
|
||||||
|
|
@ -17,11 +17,10 @@ RUN set -eux; \
|
||||||
tar \
|
tar \
|
||||||
;
|
;
|
||||||
{{ ) else ( -}}
|
{{ ) else ( -}}
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bzip2 \
|
bzip2 \
|
||||||
curl \
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
@ -29,15 +28,14 @@ RUN set -eux; \
|
||||||
make \
|
make \
|
||||||
patch \
|
patch \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
{{ ) end -}}
|
{{ ) end -}}
|
||||||
{{ if env.variant == "uclibc" then ( -}}
|
{{ if env.variant == "uclibc" then ( -}}
|
||||||
|
|
||||||
# grab/use buildroot for its uClibc toolchain
|
# grab/use buildroot for its uClibc toolchain
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bc \
|
bc \
|
||||||
cpio \
|
cpio \
|
||||||
dpkg-dev \
|
dpkg-dev \
|
||||||
|
|
@ -49,7 +47,7 @@ RUN set -eux; \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# pub dsa1024 2009-01-15 [SC]
|
# pub dsa1024 2009-01-15 [SC]
|
||||||
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -Eeuo pipefail
|
|
||||||
|
|
||||||
if [ "$#" -eq 0 ]; then
|
|
||||||
set -- */*/
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# This is used to modify "Dockerfile.builder" for architectures that are not (yet) supported by stable releases (notably, riscv64).
|
|
||||||
sed -ri \
|
|
||||||
-e 's/^(FROM debian:)[^ -]+/\1unstable/g' \
|
|
||||||
"${@/%//Dockerfile.builder}"
|
|
||||||
|
|
@ -4,11 +4,10 @@
|
||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bzip2 \
|
bzip2 \
|
||||||
curl \
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
@ -16,7 +15,7 @@ RUN set -eux; \
|
||||||
make \
|
make \
|
||||||
patch \
|
patch \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# pub 1024D/ACC9965B 2006-12-12
|
# pub 1024D/ACC9965B 2006-12-12
|
||||||
# Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B
|
# Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,10 @@
|
||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bzip2 \
|
bzip2 \
|
||||||
curl \
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
@ -16,13 +15,12 @@ RUN set -eux; \
|
||||||
make \
|
make \
|
||||||
patch \
|
patch \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# grab/use buildroot for its uClibc toolchain
|
# grab/use buildroot for its uClibc toolchain
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bc \
|
bc \
|
||||||
cpio \
|
cpio \
|
||||||
dpkg-dev \
|
dpkg-dev \
|
||||||
|
|
@ -34,7 +32,7 @@ RUN set -eux; \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# pub dsa1024 2009-01-15 [SC]
|
# pub dsa1024 2009-01-15 [SC]
|
||||||
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,10 @@
|
||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bzip2 \
|
bzip2 \
|
||||||
curl \
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
@ -16,7 +15,7 @@ RUN set -eux; \
|
||||||
make \
|
make \
|
||||||
patch \
|
patch \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# pub 1024D/ACC9965B 2006-12-12
|
# pub 1024D/ACC9965B 2006-12-12
|
||||||
# Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B
|
# Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,10 @@
|
||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bzip2 \
|
bzip2 \
|
||||||
curl \
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
@ -16,13 +15,12 @@ RUN set -eux; \
|
||||||
make \
|
make \
|
||||||
patch \
|
patch \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# grab/use buildroot for its uClibc toolchain
|
# grab/use buildroot for its uClibc toolchain
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get install --update -y \
|
||||||
apt-get install -y \
|
|
||||||
bc \
|
bc \
|
||||||
cpio \
|
cpio \
|
||||||
dpkg-dev \
|
dpkg-dev \
|
||||||
|
|
@ -34,7 +32,7 @@ RUN set -eux; \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
apt-get dist-clean
|
||||||
|
|
||||||
# pub dsa1024 2009-01-15 [SC]
|
# pub dsa1024 2009-01-15 [SC]
|
||||||
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
# AB07 D806 D2CE 741F B886 EE50 B025 BA8B 59C3 6319
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue