Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions で PostgreSQL がエラーになるのを修正 #1018

Merged
merged 2 commits into from
Oct 4, 2024

Commits on Oct 2, 2024

  1. PostgreSQL のヘルスチェックを修正

    PostgreSQL17 サーバーへ PostgreSQL17未満の psql で `\l` を実行すると以
    下のエラーが発生する
    
    ```
    psql --version
    psql (PostgreSQL) 16.4
    psql -h 127.0.0.1 -p 15432 -U eccube_db_user eccube_db
    eccube_db=# \l
    ERROR:  column d.daticulocale does not exist
    行 8:   d.daticulocale as "ICU Locale",
            ^
    HINT:  Perhaps you meant to reference the column "d.datlocale".
    ```
    
    副作用の少ない `SELECT 1` に変更する.
    また、 docker compose のヘルえスチェックが有効になるよう `condition: service_healthy` を追加する
    nanasess committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a0a5d6b View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    566278f View commit details
    Browse the repository at this point in the history