CDLUC3 / mrt-doc

Documentation and Information regarding the Merritt repository
8 stars 4 forks source link

Rails deploy vs boot script #1031

Open terrywbrady opened 2 years ago

terrywbrady commented 2 years ago

While tracing the Inventory 02 worker, I noticed an inconsistency between our deployment/start environments. Our new semantic deployment uses a consolidated Rails env (not host specific) e.g.

cap uc3-mrt-audit-prd deploy MERRITT_AUDIT_RELEASE=$MERRITT_AUDIT_RELEASE

While our systemd boot script still uses a host specific Rails env

export RAILS_ENV='mrt-audit01x2-prd'

Probably not a big issue since systemd does not deploy, just start/stops. Lets discuss with Ashley next week.

elopatin-uc3 commented 2 years ago

Rails environment is being set by Puppet.