Hi folks, I am using codeship as CI/CD pipeline and it works good except that for few models.which is correct and the code runs fine in the PROD.

Hi folks, I am using codeship as CI/CD pipeline and it works good except that for few models, I am using an external database, for ex: the one shown in the red “gtfs”

I am using the external DB like this in the code
establish_connection “:gtfs_test”
which is correct and the code runs fine in the PROD.

But, codeship gives error while building (test environment)

I have configured the database config correctly in the database.yml file like this

COMMON: &COMMON
adapter: postgresql
charset: utf8
username: root
password:
host: localhost

gtfs_test:
<<: *COMMON
adapter: postgresql
database: test

Unable to figure out the resolution. Please let me know if any one knows the solution.

Thanks in advance!
You already invited:

If you wanna answer this question please Login or Register