Skip to content
Snippets Groups Projects

[Docker] Use `SELECT 1` to wait for database

Merged Nik | Klampfradler requested to merge feature/docker-check-using-psql into master

This removes the need to have host and port as environment variables (we might get it in a YAML file from a K8s ConfigMap, or some such). Also, it ensures that the system answering is a database rather than an IoT Waffeleisen with a bad taste in port selection.

Merge request reports

Pipeline #6446 passed

Pipeline passed for a6d45dd5 on feature/docker-check-using-psql

Test coverage 62.00% (-2.00%) from 1 job

Merged by Jonathan WethJonathan Weth 4 years ago (Mar 17, 2021 8:35am UTC)

Loading

Pipeline #6450 passed

Pipeline: AlekSIS

#6451

    Pipeline passed for 3b5b720d on master

    Test coverage 64.00% (-2.00%) from 1 job

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    Please register or sign in to reply
    Loading