forked from ufs-community/ufs-weather-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct benchmark diag_tables for coupled model configurations; move …
…bm_ic directory out of inputdata directory; use aws ec2 for CI test; auto-rt fixes (ufs-community#426) * Modifications to run tests on aws ec2 instances * Change layout numbers. Include all utests (#7) * Remove unnecessary sleep in build_test.yml and buidl_status_check.py * Increase sleep period in build_status_check.py to meet 60 requests/hr * Add sleep back to build_status.check.py * Minor changes. Change CI to develop branch * update diag_tables *add config variable for diag_table *set up diag_table templates for benchmarks (pre/v16) versions * fix diag table variable for v16 tests * add 35 v16 bmark frac test * add missing diag_table in bmark restart tests * Move bm_ic directory out of input-data directory * Replace sys exit with valueError in build_status_check.py * updates for v16 stability * remove un-used dz_min=6 parameter setting in bmark v16 tests * add psm_bc variable and set to value of 1 (default 0) for v16 tests * set dt_atmos=225 in v16 tests * updates for dated BM_IC directory * add INPUTDATA_ROOT_BMIC to rt.sh * remove BM_IC variable in cpld_bmark_run.IN and use explict path to specify IC sources for ATM,MOM6,CICE5 and WW3 (only for 35d test) * add variables in parm/input.benchmark_v16.nml.IN * set dddmp = 0.2 and FSICL to 0 in v16 bmark tests * modify v16 tests * keep FSICL at default value for now * reduce time for v16 wave test to 6hr * update RTPWD to 20130308; skip-ci * fix cpld_bmarkfrac_wave_v16 test * fix timestamps on files for comparison to baseline after switching to 6hour test length * remove restart file from WW3 comparison. Currently the restart file writes out only at hour 12. This is set in ww3_multi.inp. A change to allow writing a restart at hour 6 would require an update to the ww3 input data directory Co-authored-by: MinsukJi-NOAA <minsuk.ji@noaa.gov> Co-authored-by: Brian Curtis <brian.curtis@noaa.gov> Co-authored-by: climbfuji <dom.heinzeller@icloud.com>
- Loading branch information
1 parent
35d1897
commit 9004b5e
Showing
40 changed files
with
2,256 additions
and
1,731 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
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,33 @@ | ||
name: Start runners | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Pull request tests"] | ||
types: | ||
- requested | ||
|
||
jobs: | ||
job1: | ||
name: Start AWS runners | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Check out codes | ||
uses: actions/checkout@v2 | ||
|
||
- name: Configure AWS | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Check the status of build and start self-hosted runners | ||
env: | ||
aws_instance_id: ${{ secrets.AWS_INSTANCE_ID }} | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/tests/ci | ||
conclusion=$(cat ${GITHUB_EVENT_PATH} | ./build_status_check.py) | ||
if [[ $conclusion == "success" ]]; then | ||
aws ec2 start-instances --instance-ids $aws_instance_id | ||
fi |
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,25 @@ | ||
name: Stop runners | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Pull request tests"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
job1: | ||
name: Stop AWS runners | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Configure AWS | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Stop self-hosted runners | ||
env: | ||
aws_instance_id: ${{ secrets.AWS_INSTANCE_ID }} | ||
run: aws ec2 stop-instances --instance-ids $aws_instance_id |
Oops, something went wrong.