-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NEP10-COBALT RT, refactor CI workflows, and add stable nightly re…
…lease workflow (#33) * Add NEP10.COBALT test case * change NWA xml to make a prefect reproduce * add stable_weekly release workflow
- Loading branch information
1 parent
88337fc
commit 867a843
Showing
74 changed files
with
2,775 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Update and Push Ocean BGC Submodule | ||
|
||
on: | ||
schedule: | ||
- cron: '0 4 * * 2' # Run at 12:00 am EDT every Tuesday | ||
|
||
jobs: | ||
nightly_update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set Git user name and email | ||
run: | | ||
git config --global user.email ${{ secrets.GHA_EMAIL }} | ||
git config --global user.name ${{ secrets.GHA_ID }} | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
|
||
- name: Update Ocean BGC Submodule | ||
run: | | ||
git submodule update --remote --merge src/ocean_BGC | ||
git add src/ocean_BGC | ||
git commit -m "Update ocean_BGC submodule nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 3' # Run at midnight (00:00) every Wednesday | ||
|
||
jobs: | ||
stable_release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PAT }} | ||
|
||
- name: Show diff between stable/weekly_release and main | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
echo "Showing diff between stable/weekly_release and main" | ||
git fetch origin stable/weekly_release:stable/weekly_release | ||
git diff stable/weekly_release..origin/main | ||
- name: Merge develop into main | ||
if: github.ref == 'refs/heads/feature/main' | ||
run: | | ||
echo ${{ github.ref }} | ||
git checkout stable/weekly_release | ||
git pull origin stable/weekly_release | ||
git merge origin/main --no-edit | ||
git push --force origin stable/weekly_release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_lp_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_msl_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_sf_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_sphum_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_ssrd_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_strd_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_t2m_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_u10_1993_padded.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../datasets/nep_input/ERA5_v10_1993_padded.nc |
Oops, something went wrong.