bump mysql from 5.7 to 8.0.32 (#1790)

# What this PR does

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
This commit is contained in:
Joey Orlando 2023-05-10 13:53:27 -04:00 committed by GitHub
parent 4516d9f4a2
commit 50df584ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 16 deletions

View file

@ -150,7 +150,7 @@ services:
RABBITMQ_DEFAULT_PASS: rabbitmq
- name: mysql_test
image: mysql:5.7.25
image: mysql:8.0.32
environment:
MYSQL_DATABASE: oncall_local_dev
MYSQL_ROOT_PASSWORD: local_dev_pwd
@ -418,6 +418,4 @@ kind: secret
name: drone_token
---
kind: signature
hmac: a428b546ec4557971dfe3c7eeeac70ddf08faea7336607647ad3f146dd4cb46a
...
hmac: 8f34bbbb5a2efe479b40d616b087a0c380390de2e440857bdffe8fd48d860e55

View file

@ -101,7 +101,7 @@ jobs:
ports:
- 5672:5672
mysql_test:
image: mysql:5.7.25
image: mysql:8.0.32
env:
MYSQL_DATABASE: oncall_local_dev
MYSQL_ROOT_PASSWORD: local_dev_pwd
@ -141,7 +141,7 @@ jobs:
ports:
- 5672:5672
mysql_test:
image: mysql:5.7.25
image: mysql:8.0.32
env:
MYSQL_DATABASE: oncall_local_dev
MYSQL_ROOT_PASSWORD: local_dev_pwd

View file

@ -198,8 +198,7 @@ services:
mysql:
container_name: mysql
labels: *oncall-labels
image: mysql:5.7
platform: linux/amd64
image: mysql:8.0.32
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
environment:
@ -211,7 +210,7 @@ services:
labels: *oncall-labels
resources:
limits:
memory: 500m
memory: 1000m
cpus: "0.5"
healthcheck:
test: "mysql -uroot -pempty oncall_local_dev -e 'select 1'"
@ -225,8 +224,7 @@ services:
mysql_to_create_grafana_db:
container_name: mysql_to_create_grafana_db
labels: *oncall-labels
image: mysql:5.7
platform: linux/amd64
image: mysql:8.0.32
command: bash -c "mysql -h mysql -uroot -pempty -e 'CREATE DATABASE IF NOT EXISTS grafana CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'"
depends_on:
mysql:

View file

@ -67,8 +67,7 @@ services:
condition: service_healthy
mysql:
image: mysql:5.7
platform: linux/x86_64
image: mysql:8.0.32
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
expose:
@ -81,7 +80,7 @@ services:
deploy:
resources:
limits:
memory: 500m
memory: 1000m
cpus: "0.5"
healthcheck:
test: "mysql -uroot -p$MYSQL_PASSWORD oncall_hobby -e 'select 1'"
@ -121,8 +120,7 @@ services:
retries: 3
mysql_to_create_grafana_db:
image: mysql:5.7
platform: linux/x86_64
image: mysql:8.0.32
command: bash -c "mysql -h ${MYSQL_HOST:-mysql} -uroot -p${MYSQL_PASSWORD:?err} -e 'CREATE DATABASE IF NOT EXISTS grafana CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'"
depends_on:
mysql: