Skip to content

Commit

Permalink
fix(ci): Use mysql_native_password on tests
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>

fix(ci): Add mysql_native_password as command

fix: sharding

Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf committed Oct 16, 2024
1 parent 94e1241 commit eaa17fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/phpunit-mysql-sharding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaa17fb

Please sign in to comment.