mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-26 22:51:25 -07:00
Fix server_id in GHA
GHA lack a way to pass option to docker's command. Also server_id is not read as a environment variable. So I'm forced to use a config file.
This commit is contained in:
parent
9e3010dd00
commit
2af8e4f273
4 changed files with 18 additions and 8 deletions
8
.github/workflows/ansible-test-plugins.yml
vendored
8
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -101,8 +101,8 @@ jobs:
|
|||
MYSQL_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3308:3306
|
||||
options: >-
|
||||
--server_id 2
|
||||
volumes:
|
||||
- tests/integration/setup_mysql/replica1:/etc/mysql/conf.d/
|
||||
|
||||
db_replica2:
|
||||
image: ${{ matrix.db_engine_version }}
|
||||
|
@ -111,8 +111,8 @@ jobs:
|
|||
MYSQL_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3309:3306
|
||||
options: >-
|
||||
--server_id 3
|
||||
volumes:
|
||||
- tests/integration/setup_mysql/replica2:/etc/mysql/conf.d/
|
||||
|
||||
steps:
|
||||
- name: 'Wait 20s for the service containers to be healthy'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue