conjur icon indicating copy to clipboard operation
conjur copied to clipboard

CI pipeline never exercises "environments/production.rb"

Open jonahx opened this issue 4 years ago • 2 comments

Placeholder ticket:

See this discussion:

https://conjurhq.slack.com/archives/CGTRB6G8G/p1586461073040200?thread_ts=1586459819.035300&cid=CGTRB6G8G

jonahx avatar Apr 09 '20 19:04 jonahx

Do we run tests using RAILS_ENV=production, or RAILS_ENV=development? If it's the latter, a simple next step could be to run tests using production. I believe that's how Conjur is run in the appliance.

jvanderhoof avatar Apr 13 '20 13:04 jvanderhoof

I believe that's how Conjur is run in the appliance.

The appliance inherits the production environment, but extends it in an appliance environment, mostly to configure audit logging: https://github.com/cyberark/conjur/blob/master/config/environments/appliance.rb

micahlee avatar Apr 13 '20 17:04 micahlee