You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we deploy the individual API Umbrella components to our servers (see #159), we reload various processes on the server after the deployment completes so the new code is activated. This is all working fine for all our code changes, however one thing I just bumped into is the fact that some of our template config files don't get rebuilt during this reload process after deployments. This can lead to a deployment of that component being somewhat incomplete, since any changes to template config files won't be re-read until a full restart of API Umbrella.
For reference, I made this change related to #128: NREL/api-umbrella-router@4d7e494 This was a one line change to templates/etc/nginx/router.conf.hbs, but it didn't actually go live after the deployment since the generated config file sitting in /opt/api-umbrella/etc/nginx/router.conf didn't get regenerated from the new template. So even though the deployment process reloaded nginx to pick up potential config file changes, the changes weren't present.
This might be as simple as calling writeTemplates during the reload process, but I need to investigate a bit more.
The text was updated successfully, but these errors were encountered:
When we deploy the individual API Umbrella components to our servers (see #159), we reload various processes on the server after the deployment completes so the new code is activated. This is all working fine for all our code changes, however one thing I just bumped into is the fact that some of our template config files don't get rebuilt during this reload process after deployments. This can lead to a deployment of that component being somewhat incomplete, since any changes to template config files won't be re-read until a full restart of API Umbrella.
For reference, I made this change related to #128: NREL/api-umbrella-router@4d7e494 This was a one line change to
templates/etc/nginx/router.conf.hbs
, but it didn't actually go live after the deployment since the generated config file sitting in/opt/api-umbrella/etc/nginx/router.conf
didn't get regenerated from the new template. So even though the deployment process reloaded nginx to pick up potential config file changes, the changes weren't present.This might be as simple as calling
writeTemplates
during the reload process, but I need to investigate a bit more.The text was updated successfully, but these errors were encountered: