Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
78562bb
remove the log lines from output of publish script when getting url
Feb 21, 2025
097cf03
remove the log lines from output of publish script when getting url a…
Feb 21, 2025
fefde1a
removed redundet excape one ticks for message output for build fails
Feb 21, 2025
13dd8b0
added necessary paths for Gaea C6 for Jenkins and a couple of script …
TerrenceMcGuinness-NOAA Feb 25, 2025
7a2d67e
updated Jenkinsfile with paths to run on GaeaC6
TerrenceMcGuinness-NOAA Feb 25, 2025
d9d241c
Merge branch 'NOAA-EMC:develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Feb 25, 2025
f13014d
missed c in machine name for gaeac6
TerrenceMcGuinness-NOAA Feb 25, 2025
e6af0af
needed to cap C for Node Name in Jenkins for GaeaC6-EMC
TerrenceMcGuinness-NOAA Feb 25, 2025
4f34f5b
added new GaeaC6-EMC node to the NodeParameterDefinition list for res…
TerrenceMcGuinness-NOAA Feb 25, 2025
97384a3
updated mundge to MACHINE_ID to Cap C in Gaea names to match Node Nam…
TerrenceMcGuinness-NOAA Feb 25, 2025
8c052c5
removed cludge to mundge for capping C in system path to Jenkins Node…
TerrenceMcGuinness-NOAA Feb 25, 2025
cd90dd5
Merge branch 'NOAA-EMC:develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Feb 26, 2025
468b7bc
added a better regex to get TOKEN for when gh updates the output
TerrenceMcGuinness-NOAA Feb 26, 2025
02486bc
Merge branch 'NOAA-EMC:develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Feb 27, 2025
45fb69b
added getting authentication token from defined env vars from github …
TerrenceMcGuinness-NOAA Feb 27, 2025
199d18d
added shell check ingnore for setting HOMEgfs
TerrenceMcGuinness-NOAA Feb 27, 2025
70cdf0d
change shellnorm directive to disable because ignore is not a shellno…
TerrenceMcGuinness-NOAA Feb 27, 2025
7f839df
added step with Auth method from github python class for completness
TerrenceMcGuinness-NOAA Feb 27, 2025
a993717
temparaly removed all tests but low res ff for testing Jenkins
TerrenceMcGuinness-NOAA Feb 27, 2025
5f535e1
changed name of node for Gaea C6 after it was updated on the controle…
TerrenceMcGuinness-NOAA Feb 27, 2025
4148db4
Merge branch 'develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Feb 27, 2025
0df7f35
fixed quoting on build fail report
Feb 21, 2025
64759c5
Merge branch 'develop' into ci_jenkins_role_gaea6
aerorahul Feb 28, 2025
2132efe
replaced quotes around body for message to single quotes since we too…
TerrenceMcGuinness-NOAA Feb 28, 2025
18b5152
adding back the tests after passing single test
Feb 28, 2025
b2fe776
Update ci/scripts/utils/launch_java_agent.sh
TerrenceMcGuinness-NOAA Feb 28, 2025
7bcda9d
cleaned up config in CI platforms for Gaea C6 and added updated path …
TerrenceMcGuinness-NOAA Feb 28, 2025
2e212da
Merge branch 'develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Mar 3, 2025
6f48a11
Update ci/scripts/utils/launch_java_agent.sh
TerrenceMcGuinness-NOAA Mar 3, 2025
e1b2b08
Merge branch 'develop' into ci_jenkins_role_gaea6
TerrenceMcGuinness-NOAA Mar 3, 2025
b6fc870
Merge branch 'develop' into ci_jenkins_role_gaea6
DavidHuber-NOAA Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def HOMEgfs = 'none'
def CI_CASES = ''
def GH = 'none'
// Location of the custom workspaces for each machine in the CI system. They are persistent for each iteration of the PR.
def NodeName = [hera: 'Hera-EMC', orion: 'Orion-EMC', hercules: 'Hercules-EMC', gaea: 'Gaea']
def custom_workspace = [hera: '/scratch1/NCEPDEV/global/CI', orion: '/work2/noaa/stmp/CI/ORION', hercules: '/work2/noaa/global/CI/HERCULES', gaea: '/gpfs/f5/epic/proj-shared/global/CI']
def NodeName = [hera: 'Hera-EMC', orion: 'Orion-EMC', hercules: 'Hercules-EMC', gaea: 'Gaea', gaeac6: 'GaeaC6-EMC']
def custom_workspace = [hera: '/scratch1/NCEPDEV/global/CI', orion: '/work2/noaa/stmp/CI/ORION', hercules: '/work2/noaa/global/CI/HERCULES', gaea: '/gpfs/f5/epic/proj-shared/global/CI', gaeac6: '/gpfs/f6/drsa-precip3/proj-shared/global/CI']
Comment thread
DavidHuber-NOAA marked this conversation as resolved.
def repo_url = 'git@github.com:NOAA-EMC/global-workflow.git'
def STATUS = 'Passed'

Expand Down Expand Up @@ -79,7 +79,7 @@ pipeline {
Machine = machine[0].toUpperCase() + machine.substring(1)
echo "Getting Common Workspace for ${Machine}"
ws("${custom_workspace[machine]}/${env.CHANGE_ID}") {
properties([parameters([[$class: 'NodeParameterDefinition', allowedSlaves: ['built-in', 'Hercules-EMC', 'Hera-EMC', 'Orion-EMC', 'Gaea'], defaultSlaves: ['built-in'], name: '', nodeEligibility: [$class: 'AllNodeEligibility'], triggerIfResult: 'allCases']])])
properties([parameters([[$class: 'NodeParameterDefinition', allowedSlaves: ['built-in', 'Hercules-EMC', 'Hera-EMC', 'Orion-EMC', 'Gaea', 'GaeaC6-EMC'], defaultSlaves: ['built-in'], name: '', nodeEligibility: [$class: 'AllNodeEligibility'], triggerIfResult: 'allCases']])])
GH = sh(script: "which gh || echo '~/bin/gh'", returnStdout: true).trim()
CUSTOM_WORKSPACE = "${WORKSPACE}"
HOMEgfs = "${CUSTOM_WORKSPACE}/global-workflow"
Expand Down
3 changes: 3 additions & 0 deletions ci/platforms/config.gaeac6
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ export ICSDIR_ROOT=/gpfs/f6/bil-fire8/world-shared/global/glopara/data/ICSDIR
export HPC_ACCOUNT=drsa-precip3
export max_concurrent_cases=5
export max_concurrent_pr=4

export JENKINS_AGENT_LANUCH_DIR=/ncrc/proj/nggps_emc/role.glopara/GFS_CI_CD/Jenkins/agent
export JENKINS_WORK_DIR=/ncrc/proj/nggps_emc/role.glopara/GFS_CI_CD/Jenkins/workspace
8 changes: 6 additions & 2 deletions ci/scripts/utils/launch_java_agent.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env bash
#!/usr/bin/env bash

set -e

Expand Down Expand Up @@ -74,7 +74,7 @@ host=$(hostname)

source "${HOMEGFS_}/ush/detect_machine.sh"
case ${MACHINE_ID} in
hera | orion | hercules | wcoss2 | gaea)
hera | orion | hercules | wcoss2 | gaea | gaeac6 )
Comment thread
TerrenceMcGuinness-NOAA marked this conversation as resolved.
Outdated
echo "Launch Jenkins Java Controler on ${MACHINE_ID}";;
*)
echo "Unsupported platform. Exiting with error."
Expand All @@ -84,6 +84,7 @@ esac
LOG=lanuched_agent-$(date +%Y%m%d%M).log
rm -f "${LOG}"

HOMEgfs="${HOMEGFS_}"
Comment thread Fixed
source "${HOMEGFS_}/ush/module-setup.sh"
module use "${HOMEGFS_}/modulefiles"
module load "module_gwsetup.${MACHINE_ID}"
Expand Down Expand Up @@ -142,6 +143,9 @@ print(data.get('offline','True'))
EOF
chmod u+x parse.py

# Needed for Gaea as it has C capatalized on the Node names in Jenkins
MACHINE_ID="${MACHINE_ID//c/C}"
Comment thread
TerrenceMcGuinness-NOAA marked this conversation as resolved.
Outdated

check_node_online() {
rm -f curl_response
curl_response=$(curl --silent -u "${controller_user}:${JENKINS_TOKEN}" "${controller_url}/computer/${MACHINE_ID^}-EMC/api/json?pretty=true") || true
Expand Down