From f2aee0a59d57025dc96f9522ba7b0c1eb6cf9a71 Mon Sep 17 00:00:00 2001 From: Anil Kumar <108816337+AnilKumar-NOAA@users.noreply.github.com> Date: Tue, 13 Aug 2024 09:25:21 -0400 Subject: [PATCH] Add Gaea C5 to CI (#2814) CI Testing and Jenkinsfile for Gaea C5 --- ci/cases/pr/C48mx500_3DVarAOWCDA.yaml | 1 + ci/cases/pr/C96C48_ufs_hybatmDA.yaml | 1 + ci/cases/pr/C96_atm3DVar_extended.yaml | 1 + ci/cases/pr/C96_atmaerosnowDA.yaml | 1 + ci/platforms/config.gaea | 8 ++++++++ ci/scripts/check_ci.sh | 2 +- ci/scripts/driver.sh | 2 +- ci/scripts/driver_weekly.sh | 2 +- ci/scripts/run_ci.sh | 2 +- ci/scripts/utils/launch_java_agent.sh | 2 +- 10 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 ci/platforms/config.gaea diff --git a/ci/cases/pr/C48mx500_3DVarAOWCDA.yaml b/ci/cases/pr/C48mx500_3DVarAOWCDA.yaml index fd056cf895..c8365e12a0 100644 --- a/ci/cases/pr/C48mx500_3DVarAOWCDA.yaml +++ b/ci/cases/pr/C48mx500_3DVarAOWCDA.yaml @@ -19,5 +19,6 @@ arguments: skip_ci_on_hosts: - wcoss2 + - gaea - orion - hercules diff --git a/ci/cases/pr/C96C48_ufs_hybatmDA.yaml b/ci/cases/pr/C96C48_ufs_hybatmDA.yaml index d1556dc1d0..b5634642f3 100644 --- a/ci/cases/pr/C96C48_ufs_hybatmDA.yaml +++ b/ci/cases/pr/C96C48_ufs_hybatmDA.yaml @@ -19,6 +19,7 @@ arguments: skip_ci_on_hosts: - hera + - gaea - orion - hercules diff --git a/ci/cases/pr/C96_atm3DVar_extended.yaml b/ci/cases/pr/C96_atm3DVar_extended.yaml index 994d3ef3a0..a1ebab7b44 100644 --- a/ci/cases/pr/C96_atm3DVar_extended.yaml +++ b/ci/cases/pr/C96_atm3DVar_extended.yaml @@ -18,5 +18,6 @@ arguments: skip_ci_on_hosts: - hera + - gaea - orion - hercules diff --git a/ci/cases/pr/C96_atmaerosnowDA.yaml b/ci/cases/pr/C96_atmaerosnowDA.yaml index 7e22955a37..6eceffa27c 100644 --- a/ci/cases/pr/C96_atmaerosnowDA.yaml +++ b/ci/cases/pr/C96_atmaerosnowDA.yaml @@ -18,4 +18,5 @@ arguments: skip_ci_on_hosts: - orion + - gaea - hercules diff --git a/ci/platforms/config.gaea b/ci/platforms/config.gaea new file mode 100644 index 0000000000..cce109d494 --- /dev/null +++ b/ci/platforms/config.gaea @@ -0,0 +1,8 @@ +#!/usr/bin/bash + +export GFS_CI_ROOT=/gpfs/f5/epic/proj-shared/global/GFS_CI_ROOT +export ICSDIR_ROOT=/gpfs/f5/epic/proj-shared/global/glopara/data/ICSDIR +export STMP="/gpfs/f5/epic/scratch/${USER}" +export SLURM_ACCOUNT=ufs-ard +export max_concurrent_cases=5 +export max_concurrent_pr=4 diff --git a/ci/scripts/check_ci.sh b/ci/scripts/check_ci.sh index 24c5e242c3..825d8f5e8b 100755 --- a/ci/scripts/check_ci.sh +++ b/ci/scripts/check_ci.sh @@ -21,7 +21,7 @@ REPO_URL=${REPO_URL:-"git@github.com:NOAA-EMC/global-workflow.git"} source "${HOMEgfs}/ush/detect_machine.sh" case ${MACHINE_ID} in - hera | orion | hercules | wcoss2) + hera | orion | hercules | wcoss2 | gaea) echo "Running Automated Testing on ${MACHINE_ID}" source "${HOMEgfs}/ci/platforms/config.${MACHINE_ID}" ;; diff --git a/ci/scripts/driver.sh b/ci/scripts/driver.sh index 8a99817325..acf54381b8 100755 --- a/ci/scripts/driver.sh +++ b/ci/scripts/driver.sh @@ -30,7 +30,7 @@ export PS4='+ $(basename ${BASH_SOURCE})[${LINENO}]' source "${ROOT_DIR}/ush/detect_machine.sh" case ${MACHINE_ID} in - hera | orion | hercules | wcoss2) + hera | orion | hercules | wcoss2 | gaea) echo "Running Automated Testing on ${MACHINE_ID}" source "${ROOT_DIR}/ci/platforms/config.${MACHINE_ID}" ;; diff --git a/ci/scripts/driver_weekly.sh b/ci/scripts/driver_weekly.sh index 6cd2493769..3193cc98ed 100755 --- a/ci/scripts/driver_weekly.sh +++ b/ci/scripts/driver_weekly.sh @@ -38,7 +38,7 @@ export PS4='+ $(basename ${BASH_SOURCE[0]})[${LINENO}]' source "${ROOT_DIR}/ush/detect_machine.sh" case ${MACHINE_ID} in - hera | orion | hercules | wcoss2) + hera | orion | hercules | wcoss2 | gaea) echo "Running Automated Testing on ${MACHINE_ID}" source "${ROOT_DIR}/ci/platforms/config.${MACHINE_ID}" ;; diff --git a/ci/scripts/run_ci.sh b/ci/scripts/run_ci.sh index f109aa83d4..2da5fa2681 100755 --- a/ci/scripts/run_ci.sh +++ b/ci/scripts/run_ci.sh @@ -20,7 +20,7 @@ export PS4='+ $(basename ${BASH_SOURCE})[${LINENO}]' source "${HOMEgfs}/ush/detect_machine.sh" case ${MACHINE_ID} in - hera | orion | hercules | wcoss2) + hera | orion | hercules | wcoss2 | gaea) echo "Running Automated Testing on ${MACHINE_ID}" source "${HOMEgfs}/ci/platforms/config.${MACHINE_ID}" ;; diff --git a/ci/scripts/utils/launch_java_agent.sh b/ci/scripts/utils/launch_java_agent.sh index 81dbe002b6..183e671b9d 100755 --- a/ci/scripts/utils/launch_java_agent.sh +++ b/ci/scripts/utils/launch_java_agent.sh @@ -74,7 +74,7 @@ host=$(hostname) source "${HOMEgfs}/ush/detect_machine.sh" case ${MACHINE_ID} in - hera | orion | hercules | wcoss2) + hera | orion | hercules | wcoss2 | gaea) echo "Launch Jenkins Java Controler on ${MACHINE_ID}";; *) echo "Unsupported platform. Exiting with error."