Cloud Migration for Public WM Sites

When developing the public water management sites we will be using 3 branches. Dev, Test, and Prod. 


UPDATE YOUR GROUNDWORK library before you submit the site



npm uninstall @usace/groundwork 


npm install @usace/groundwork 


Make your initial changes in development (branch). Test them. Link folks to the dev site. Once that review finishes it can move to test. From there it would move to Production. This pipeline ensures plenty of time for review before a site is Live/Production.



Currently Test is being spun up, but the end goal is to have 3 separate environments. Each with their own instance of CDA/database/etc. 


Dev is meant for fast turn over connected to the dev instance of CDA where there may not be live data. Great for testing missing data for example. 


Test will, at some point, have more realtime data present. Currently I believe only LRL/MVP might have data? (Pending multi office in OpenDCS)


Prod is your final living place on https://water.usace.army.mil 


From each of these steps you would have a PR / review process ideally with members of the community to help you catch things and review for you (More once the national teams are finalized). 


Also please see Hanbali, Diana L CIV USARMY CESWF (USA)

Guidance on submitting your site for production. Linked here:

Hanbali, Diana L CIV USARMY CESWF (USA): Update to the Review checklist - Use this...

posted in TDL-CESWF-ECH-Web Development Workshops / General on Monday, June 30, 2025 12:05 PM


TDL-CESWF-EC-H-National Web Development



Getting Started


  1. Ensure you delete the old develop-deploy.yml file from .github/workflows/develop-deploy.ymldirectory, this was a sandbox environment
  2. For Dev, Test, and Prod you will have 3 files in the above directory. Each with a name matching the environment. Make sure you rename the branch in the files if needed and any reference of prod/test/dev should match the file name. 

    You can use these files from LRE to rename to your district 3 letter (do a ctrl + f in each file and change to your district)
    https://github.com/USACE/lre-wm-web/blob/dev/.github/workflows/cwbi-dev-build-push.yml

    This is mostly a 1 and done. Once you have these files you should not need to touch them again pending any major changes. 
     
  3. Once you have added these (And completed the submission to Diana above) items you can reach out and leave a comment here that you are ready and which files you have added. 
    https://github.com/USACE/a2w/issues/107

    Developers can review a working session hosted on July 7th in the Web Dev channel:
    Publishing Your Websites-20250707_110150-Meeting Recording.mp4

    If you need help please do not hesitate to reach out to me!


CLEANUP OF OLD CODE:

Be sure to remove this file from your .github/workflows directory develop_deploy.yml


You will get an error that it failed as this was part of an old cloud environment no longer in use.