Most of what happens in the deploy-public-upstream script is identical to what happens in deploy-decoupled-upstream. Rather than having and maintaining two separate scripts, we should combine them into one with the differences passed in via a parameter or else in variables in the script and a flag (e.g. decoupled) passed in to distinguish the type of deploy.
Most of what happens in the
deploy-public-upstreamscript is identical to what happens indeploy-decoupled-upstream. Rather than having and maintaining two separate scripts, we should combine them into one with the differences passed in via a parameter or else in variables in the script and a flag (e.g.decoupled) passed in to distinguish the type of deploy.