Skip to content

Commit

Permalink
build: Bump mysql to 8.0.36, fixes ddev#6250 (ddev#6291) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay authored Jun 10, 2024
1 parent eecec96 commit f66c121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions containers/ddev-dbserver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CURRENT_ARCH=$(shell ../get_arch.sh)
# So has to explicitly declare anything it might need from there (like SHELL)
SHELL = /bin/bash

BUILD_TARGETS=mariadb_5.5_amd64 mariadb_10.0_amd64 mariadb_10.1_both mariadb_10.2_both mariadb_10.3_both mariadb_10.4_both mariadb_10.5_both mariadb_10.6_both mariadb_10.7_both mariadb_10.8_both mariadb_10.11_both mysql_5.5_amd64 mysql_5.6_amd64 mysql_5.7_both mysql_8.0_both_8.0.33
BUILD_TARGETS=mariadb_5.5_amd64 mariadb_10.0_amd64 mariadb_10.1_both mariadb_10.2_both mariadb_10.3_both mariadb_10.4_both mariadb_10.5_both mariadb_10.6_both mariadb_10.7_both mariadb_10.8_both mariadb_10.11_both mysql_5.5_amd64 mysql_5.6_amd64 mysql_5.7_both mysql_8.0_both_8.0.36
TEST_TARGETS=$(shell if [ "$(CURRENT_ARCH)" = "amd64" ] ; then \
echo "mariadb_5.5_test mariadb_10.0_test mariadb_10.1_test mariadb_10.2_test mariadb_10.3_test mariadb_10.4_test mariadb_10.5_test mariadb_10.6_test mariadb_10.7_test mariadb_10.8_test mariadb_10.11_test mysql_5.5_test mysql_5.6_test mysql_5.7_test mysql_8.0_test"; \
else \
Expand Down Expand Up @@ -38,13 +38,13 @@ mysql_5.7: mysql_5.7_both

# Mysql 8.0 often must be pinned because xtrabackup is not ready for latest 8.0
# So check whether xtrabackup is available for latest 8.0 before changing pin
mysql_8.0: mysql_8.0_both_8.0.33
mysql_8.0: mysql_8.0_both_8.0.36


# Examples:
# make <dbtype>_<dbmajor>_[both|amd64]_<pin> # pin is optional, often needed for mysql 8.0
# make mariadb_10.3_both VERSION=someversion PUSH=true
# make mysql_8.0_amd64_8.0.33 VERSION=someversion
# make mysql_8.0_amd64_8.0.36 VERSION=someversion
$(BUILD_TARGETS):
@echo "building $@";
export DB_TYPE=$(word 1, $(subst _, ,$@)) && \
Expand Down
2 changes: 1 addition & 1 deletion pkg/versionconstants/versionconstants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var WebTag = "20240523_stasadev_apt_get_update_or_true" // Note that this can be
var DBImg = "ddev/ddev-dbserver"

// BaseDBTag is the main tag, DBTag is constructed from it
var BaseDBTag = "v1.23.1"
var BaseDBTag = "20240608_rfay_bump_mysql_8.0.36"

const TraditionalRouterImage = "ddev/ddev-nginx-proxy-router:v1.23.1"
const TraefikRouterImage = "ddev/ddev-traefik-router:v1.23.1"
Expand Down

0 comments on commit f66c121

Please sign in to comment.