CI: Disable SSL on mysql test container

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-06-09 13:25:06 +02:00
parent c63793be2d
commit 0355713f7c
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ jobs:
run: git config --global --add safe.directory /__w/twitch-bot/twitch-bot run: git config --global --add safe.directory /__w/twitch-bot/twitch-bot
- name: Set up MySQL service - name: Set up MySQL service
run: | run: |
mariadb -h mysql -u root --password=root-pass <<EOF mariadb --skip-ssl -h mysql -u root --password=root-pass <<EOF
CREATE DATABASE integration DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci; CREATE DATABASE integration DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;
GRANT ALL ON integration.* TO 'twitch-bot'@'%'; GRANT ALL ON integration.* TO 'twitch-bot'@'%';
EOF EOF

View file

@ -43,7 +43,7 @@ steps:
- name: Set up MySQL service - name: Set up MySQL service
run: | run: |
mariadb -h mysql -u root --password=root-pass <<EOF mariadb --skip-ssl -h mysql -u root --password=root-pass <<EOF
CREATE DATABASE integration DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci; CREATE DATABASE integration DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;
GRANT ALL ON integration.* TO 'twitch-bot'@'%'; GRANT ALL ON integration.* TO 'twitch-bot'@'%';
EOF EOF