diff --git a/.drone.yml b/.drone.yml index e32770e2..ab23f73b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.github/workflows/linting-and-tests.yml b/.github/workflows/linting-and-tests.yml index 919f3405..2ffc78f6 100644 --- a/.github/workflows/linting-and-tests.yml +++ b/.github/workflows/linting-and-tests.yml @@ -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 diff --git a/docker-compose-developer.yml b/docker-compose-developer.yml index 464e2cc0..b2ec080f 100644 --- a/docker-compose-developer.yml +++ b/docker-compose-developer.yml @@ -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: diff --git a/docker-compose-mysql-rabbitmq.yml b/docker-compose-mysql-rabbitmq.yml index 18f20b69..f116415e 100644 --- a/docker-compose-mysql-rabbitmq.yml +++ b/docker-compose-mysql-rabbitmq.yml @@ -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: