Closed CoryMartin-NOAA closed 1 month ago
@CoryMartin-NOAA Thanks for taking care of this, which we think is the reason why some ctests failed with the current rdas. After the changes in the .gitmodules and run your script to change branches to right branches. In the future , unless there are specific requirements for versions of various submodules, we could run "git submodule update --remote --merge" rather than "git submodule update" to make sure all submodules are updated to their latest develop/targeted branches.
@CoryMartin-NOAA Thanks for taking care of this, which we think is the reason why some ctests failed with the current rdas. After the changes in the .gitmodules and run your script to change branches to right branches. In the future , unless there are specific requirements for versions of various submodules, we could run "git submodule update --remote --merge" rather than "git submodule update" to make sure all submodules are updated to their latest develop/targeted branches.
@TingLei-NOAA yes, in fact this script: https://github.com/NOAA-EMC/RDASApp/blob/develop/ush/submodules/update_develop.sh does exactly that, it wasn't working correctly but it does now.
Automated RDASApp Testing Results: Machine: hera
Start: Wed Apr 3 13:36:50 UTC 2024 on hfe09
---------------------------------------------------
Build: *SUCCESS*
Build: Completed at Wed Apr 3 14:20:37 UTC 2024
---------------------------------------------------
Tests: *SUCCESS*
Tests: Completed at Wed Apr 3 14:21:00 UTC 2024
Tests:
Automated RDASApp Testing Results: Machine: orion
Start: Wed Apr 3 08:47:14 CDT 2024 on Orion-login-1.HPC.MsState.Edu
---------------------------------------------------
Build: *SUCCESS*
Build: Completed at Wed Apr 3 09:33:10 CDT 2024
---------------------------------------------------
Tests: *SUCCESS*
Tests: Completed at Wed Apr 3 09:33:32 CDT 2024
Tests:
Using submodules means that
develop
has to be manually updated. But we can create a cron that will ensure thatfeature/stable-nightly
has the most recent versions of JEDI repositories that build and tests pass.To do this, the default branches had to be updated/added for the repositories. This is because the public JCSDA repos have
master
branches as default but we usually needdevelop
. Runninggit submodule update
on the public repos would have resulted in grabbing very old commits rather than recent ones.Note: this script will not run properly until develop is updated with those submodule changes in
.gitmodules
. To test, one can addgit checkout feature/update-stable
in thestable_driver.sh
script right aftergit checkout develop
but this was tested manually yesterday on Orion. See: https://github.com/NOAA-EMC/RDASApp/tree/feature/stable-nightly