I enabled Auto DevOps on my repo which contains a Spring Boot app.
Part of the Test stage of the Pipeline spawns up a Postgres database which is nice, but I get the following error:
org.postgresql.util.PSQLException: The server does not support SSL.
I altered both SPRING_DATASOURCE_URL and JDBC_DATABASE_URL as Secret Variables in CI/CD settings to change
&sslmode=disable on both URLs. SPRING_DATA_SOURCE reflects the secret variable change and this seems to solve the problem, but it’s noteworthy that JDBC_DATABASE_URL is not overridden.
Why does it spawn up an image with Postgres that doesn’t support SSL but enforces it as a URL parameter? Or am I doing something very wrong?