Skip to content

Commit

Permalink
Update 5.7 to 5.7.43, dropping Debian support
Browse files Browse the repository at this point in the history
Upstream no longer supports Debian for the 5.7 series, so we follow suit.
  • Loading branch information
tianon committed Jul 27, 2023
1 parent eb18506 commit c13cda9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 112 deletions.
100 changes: 0 additions & 100 deletions 5.7/Dockerfile.debian

This file was deleted.

2 changes: 1 addition & 1 deletion 5.7/Dockerfile.oracle

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apply-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ generated_warning() {
for version; do
export version

rm -f "$version"/Dockerfile.*

for variant in oracle debian; do
export variant

Expand Down
11 changes: 2 additions & 9 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"5.7": {
"debian": {
"architectures": [
"amd64"
],
"suite": "buster",
"version": "5.7.42-1debian10"
},
"mysql-shell": {
"version": "8.0.34-1.el7"
},
Expand All @@ -15,9 +8,9 @@
"amd64"
],
"variant": "7-slim",
"version": "5.7.42-1.el7"
"version": "5.7.43-1.el7"
},
"version": "5.7.42"
"version": "5.7.43"
},
"8.0": {
"debian": {
Expand Down
5 changes: 3 additions & 2 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,20 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

versions=( "$@" )
if [ ${#versions[@]} -eq 0 ]; then
versions=( *.*/ )
versions=( */ )
json='{}'
else
json="$(< versions.json)"
fi
versions=( "${versions[@]%/}" )

for version in "${versions[@]}"; do
[ "$version" != 'template' ] || continue
export version

doc='{}'

if [[ "$version" == 5.* ]] || [ "$version" = '8.0' ]; then
if [ "$version" = '8.0' ]; then
debianSuite="${debianSuites[$version]:-$defaultDebianSuite}"
debianVersion="$(
curl -fsSL "https://repo.mysql.com/apt/debian/dists/$debianSuite/mysql-$version/binary-amd64/Packages.gz" \
Expand Down

0 comments on commit c13cda9

Please sign in to comment.