TemitopeAderibigbe opened a new issue, #732: URL: https://github.com/apache/airavata-custos/issues/732
On Windows, Git for Windows (`core.autocrlf=true`) checks out `dev-ops/compose/dbinit/init-db.sh` with CRLF line endings. Following INSTALL.md on a fresh clone: - Postgres logs `/docker-entrypoint-initdb.d/init-db.sh: cannot execute: required file not found`. - The `keycloak`, `custos_signer` and `custos_test` databases are never created. - Keycloak restarts in a loop with `FATAL: database "keycloak" does not exist`. Checking the file in PowerShell confirms the CRLF endings: ```powershell PS> (Get-Content dev-ops\compose\dbinit\init-db.sh -Raw) -match "`r`n" True ``` Proposed fix: add a `.gitattributes` with `*.sh text eol=lf`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
