aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-16 11:32:56 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-17 09:36:14 +0200
commit1803d7a08bfb3379af58c5e3f093e2a6837609f6 (patch)
treeb52bcc4b30281337f35bb049fafc396f9a33c1d5
parent4100f583f03464978e622f5765bbef33e363c97f (diff)
downloadnextcloud-server-mysqlNativePassCi.tar.gz
nextcloud-server-mysqlNativePassCi.zip
fix(ci): Use mysql_native_password on testsmysqlNativePassCi
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix(ci): Add mysql_native_password as command fix: sharding Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
-rw-r--r--.github/workflows/phpunit-mysql-sharding.yml5
-rw-r--r--.github/workflows/phpunit-mysql.yml1
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/phpunit-mysql-sharding.yml b/.github/workflows/phpunit-mysql-sharding.yml
index 1fad4d6578e..0d17dd81539 100644
--- a/.github/workflows/phpunit-mysql-sharding.yml
+++ b/.github/workflows/phpunit-mysql-sharding.yml
@@ -77,6 +77,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
shard1:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
@@ -87,6 +88,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
shard2:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
@@ -97,6 +99,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
shard3:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
@@ -107,6 +110,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
shard4:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
@@ -117,6 +121,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
steps:
- name: Checkout server
diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml
index 198dd55c5df..8a48c37004c 100644
--- a/.github/workflows/phpunit-mysql.yml
+++ b/.github/workflows/phpunit-mysql.yml
@@ -81,6 +81,7 @@ jobs:
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
+ command: --default-auth=mysql_native_password
steps:
- name: Checkout server