mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 03:30:33 -07:00
Add full path to image to prevent podman asking which registry to use
This commit is contained in:
parent
41cb5de320
commit
7e2e5a3e94
2 changed files with 6 additions and 6 deletions
6
.github/workflows/ansible-test-plugins.yml
vendored
6
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -286,7 +286,7 @@ jobs:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db_primary:
|
db_primary:
|
||||||
image: ${{ matrix.db_engine_version }}
|
image: docker.io/library/${{ matrix.db_engine_version }}
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: msandbox
|
MARIADB_ROOT_PASSWORD: msandbox
|
||||||
MYSQL_ROOT_PASSWORD: msandbox
|
MYSQL_ROOT_PASSWORD: msandbox
|
||||||
|
@ -302,7 +302,7 @@ jobs:
|
||||||
--health-retries 6
|
--health-retries 6
|
||||||
|
|
||||||
db_replica1:
|
db_replica1:
|
||||||
image: ${{ matrix.db_engine_version }}
|
image: docker.io/library/${{ matrix.db_engine_version }}
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: msandbox
|
MARIADB_ROOT_PASSWORD: msandbox
|
||||||
MYSQL_ROOT_PASSWORD: msandbox
|
MYSQL_ROOT_PASSWORD: msandbox
|
||||||
|
@ -316,7 +316,7 @@ jobs:
|
||||||
--health-retries 6
|
--health-retries 6
|
||||||
|
|
||||||
db_replica2:
|
db_replica2:
|
||||||
image: ${{ matrix.db_engine_version }}
|
image: docker.io/library/${{ matrix.db_engine_version }}
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: msandbox
|
MARIADB_ROOT_PASSWORD: msandbox
|
||||||
MYSQL_ROOT_PASSWORD: msandbox
|
MYSQL_ROOT_PASSWORD: msandbox
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -27,7 +27,7 @@ test-integration:
|
||||||
--network podman \
|
--network podman \
|
||||||
--publish 3307:3306 \
|
--publish 3307:3306 \
|
||||||
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
||||||
$(db_engine_version) \
|
docker.io/library/$(db_engine_version) \
|
||||||
mysqld
|
mysqld
|
||||||
podman run \
|
podman run \
|
||||||
--detach \
|
--detach \
|
||||||
|
@ -37,7 +37,7 @@ test-integration:
|
||||||
--network podman \
|
--network podman \
|
||||||
--publish 3308:3306 \
|
--publish 3308:3306 \
|
||||||
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
||||||
$(db_engine_version) \
|
docker.io/library/$(db_engine_version) \
|
||||||
mysqld
|
mysqld
|
||||||
podman run \
|
podman run \
|
||||||
--detach \
|
--detach \
|
||||||
|
@ -47,7 +47,7 @@ test-integration:
|
||||||
--network podman \
|
--network podman \
|
||||||
--publish 3309:3306 \
|
--publish 3309:3306 \
|
||||||
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
|
||||||
$(db_engine_version) \
|
docker.io/library/$(db_engine_version) \
|
||||||
mysqld
|
mysqld
|
||||||
# Setup replication and restart containers
|
# Setup replication and restart containers
|
||||||
podman exec primary bash -c 'echo -e [mysqld]\\nserver-id=1\\nlog-bin=/var/lib/mysql/primary-bin > /etc/mysql/conf.d/replication.cnf'
|
podman exec primary bash -c 'echo -e [mysqld]\\nserver-id=1\\nlog-bin=/var/lib/mysql/primary-bin > /etc/mysql/conf.d/replication.cnf'
|
||||||
|
|
Loading…
Add table
Reference in a new issue