Attempt to fix failing end-to-end database test that only fails in CI.
This commit is contained in:
parent
ae12ccd8e6
commit
7e64f415ba
4 changed files with 10 additions and 7 deletions
|
@ -3,17 +3,18 @@ name: python-3-8-alpine-3-13
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
image: postgres:13.1-alpine
|
image: docker.io/postgres:13.1-alpine
|
||||||
environment:
|
environment:
|
||||||
|
POSTGRES_USER: test
|
||||||
POSTGRES_PASSWORD: test
|
POSTGRES_PASSWORD: test
|
||||||
POSTGRES_DB: test
|
POSTGRES_DB: test
|
||||||
- name: mysql
|
- name: mysql
|
||||||
image: mariadb:10.5
|
image: docker.io/mariadb:10.5
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: test
|
MYSQL_ROOT_PASSWORD: test
|
||||||
MYSQL_DATABASE: test
|
MYSQL_DATABASE: test
|
||||||
- name: mongodb
|
- name: mongodb
|
||||||
image: mongo:5.0.5
|
image: docker.io/mongo:5.0.5
|
||||||
environment:
|
environment:
|
||||||
MONGO_INITDB_ROOT_USERNAME: root
|
MONGO_INITDB_ROOT_USERNAME: root
|
||||||
MONGO_INITDB_ROOT_PASSWORD: test
|
MONGO_INITDB_ROOT_PASSWORD: test
|
||||||
|
@ -23,7 +24,7 @@ clone:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine:3.13
|
image: docker.io/alpine:3.13
|
||||||
environment:
|
environment:
|
||||||
TEST_CONTAINER: true
|
TEST_CONTAINER: true
|
||||||
pull: always
|
pull: always
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -7,6 +7,7 @@
|
||||||
commands with arguments.
|
commands with arguments.
|
||||||
* #678: Fix calls to psql in PostgreSQL hook to ignore "~/.psqlrc", whose settings can break
|
* #678: Fix calls to psql in PostgreSQL hook to ignore "~/.psqlrc", whose settings can break
|
||||||
database dumping.
|
database dumping.
|
||||||
|
* #678: Fix calls to psql in PostgreSQL hook to abort on error during a database restore.
|
||||||
* #682: Fix "source_directories_must_exist" option to expand globs and tildes in source directories.
|
* #682: Fix "source_directories_must_exist" option to expand globs and tildes in source directories.
|
||||||
* #684: Rename "master" development branch to "main" to use more inclusive language. You'll need to
|
* #684: Rename "master" development branch to "main" to use more inclusive language. You'll need to
|
||||||
update your development checkouts accordingly.
|
update your development checkouts accordingly.
|
||||||
|
|
|
@ -3,6 +3,7 @@ services:
|
||||||
postgresql:
|
postgresql:
|
||||||
image: docker.io/postgres:13.1-alpine
|
image: docker.io/postgres:13.1-alpine
|
||||||
environment:
|
environment:
|
||||||
|
POSTGRES_USER: test
|
||||||
POSTGRES_PASSWORD: test
|
POSTGRES_PASSWORD: test
|
||||||
POSTGRES_DB: test
|
POSTGRES_DB: test
|
||||||
mysql:
|
mysql:
|
||||||
|
|
|
@ -36,17 +36,17 @@ hooks:
|
||||||
postgresql_databases:
|
postgresql_databases:
|
||||||
- name: test
|
- name: test
|
||||||
hostname: postgresql
|
hostname: postgresql
|
||||||
username: postgres
|
username: test
|
||||||
password: test
|
password: test
|
||||||
format: {postgresql_dump_format}
|
format: {postgresql_dump_format}
|
||||||
- name: all
|
- name: all
|
||||||
hostname: postgresql
|
hostname: postgresql
|
||||||
username: postgres
|
username: test
|
||||||
password: test
|
password: test
|
||||||
- name: all
|
- name: all
|
||||||
format: custom
|
format: custom
|
||||||
hostname: postgresql
|
hostname: postgresql
|
||||||
username: postgres
|
username: test
|
||||||
password: test
|
password: test
|
||||||
mysql_databases:
|
mysql_databases:
|
||||||
- name: test
|
- name: test
|
||||||
|
|
Loading…
Reference in a new issue