ramp4-pcar4 / story-ramp

Storytelling with interactive maps using RAMP
MIT License
4 stars 14 forks source link

DevOps Pipeline - swap environment variables #133

Closed dan-bowerman closed 2 years ago

dan-bowerman commented 2 years ago

Figure out a process to swap out environment variables (ArcGIS endpoints are probably the only one) at deployment time:

We've used Replace Tokens in the past, where you can set config variables (e.g. {#arcgis#} to beswapped with any of the environments above depending on which pipeline is used. However, this has problems when working locally... RAMP configs will fail when they try to load a service called {#arcgis#}/rest/services/0000000/MapServer/1.

This is an active issue for CESI and CAM (both .NET solutions) as well, so it'd be great if the solution could work for those too.

dan-bowerman commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @RyanCoulsonCA @spencerwahl @yileifeng

spencerwahl commented 2 years ago

I think for CCCS we used two sets of config, one for local dev and another with the replaceable tokens.