PostgreSQL database name leads to database not found exception

Migrated issue

Reported by: fjgarlin

Related to !39 (merged)

Problem/Motivation

The value of the the PostgreSQL database is set to: POSTGRES_DB: pgsql
However, the images seem to create a database with the name drupaltestbot, see here: https://git.drupalcode.org/project/drupalci_environments/-/blob/dev/db/pgsql-13.5/conf/startup.sh#L22

This leads to errors when trying to use the posgres database.

Steps to reproduce

Before: https://git.drupalcode.org/project/gitlab_ci_testbed_for_drupal_core/-/jobs/69227

SQLSTATE[08006] [7] FATAL: database "pgsql" does not exist

Proposed resolution

After: https://git.drupalcode.org/project/gitlab_ci_testbed_for_drupal_core/-/jobs/69263
The change was this: gitlab_ci_testbed_for_drupal_core!5 (a36ba032)
POSTGRES_DB: drupaltestbot

Remaining tasks

MR

Assignee Loading
Time tracking Loading