Skip to content

Commit 9229fcb

Browse files
Merge remote-tracking branch 'origin/develop' into issue3901
2 parents 6e6c6e3 + 370f200 commit 9229fcb

18 files changed

+75
-42
lines changed

.github/ISSUE_TEMPLATE/new_feature.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ body:
2020
id: description
2121
attributes:
2222
label: What new functionality do you need?
23-
placeholder: Provide a consise description of the problem to be addressed by this new feature. Please be clear what parts of the problem are considered to be in-scope and out-of-scope
24-
validations:
25-
required: true
26-
27-
- type: textarea
28-
id: requirements
29-
attributes:
30-
label: What are the requirements for the new functionality?
23+
placeholder: Provide a concise description of the problem to be addressed by this new feature. Please be clear what parts of the problem are considered to be in-scope and out-of-scope. Consider including:
24+
- What are the requirements for the new functionality?
25+
- Are there any links to related issues, discussions, or resources that provide additional context?
3126
validations:
3227
required: true
3328

@@ -47,7 +42,7 @@ body:
4742
- [ ] Criterion #2
4843
- [ ] Criterion #3
4944
validations:
50-
required: true
45+
required: false
5146

5247
- type: textarea
5348
id: suggested_solution

.github/ISSUE_TEMPLATE/static_data.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ labels: ["Static Data Mgmt"]
44
projects: ["NOAA-EMC/41"]
55
assignees:
66
- DavidHuber-NOAA
7-
- aerorahul
7+
- aerorahul
88

99
body:
10-
- type: dropdown
10+
- type: markdown
11+
attributes:
12+
description: |
13+
Process:
14+
- Stage data on Ursa or WCOSS2
15+
- Make sure permissions are set properly (global read access)
16+
- CMs will push data and ask for verification
17+
18+
- type: checkboxes
1119
attributes:
1220
label: Type of static data
1321
description: |
@@ -21,7 +29,7 @@ body:
2129
validations:
2230
required: true
2331

24-
- type: dropdown
32+
- type: checkboxes
2533
attributes:
2634
label: Target directory
2735
options:
@@ -78,7 +86,7 @@ body:
7886
validations:
7987
required: true
8088

81-
- type: dropdown
89+
- type: checkboxes
8290
attributes:
8391
label: Any workflow changes needed?
8492
description: |
@@ -100,11 +108,11 @@ body:
100108
validations:
101109
required: false
102110

103-
- type: input
111+
- type: textarea
104112
attributes:
105113
label: Pickup location
106114
description: |
107-
Please provide a path to the data on either Hera or WCOSS.
115+
Please provide path(s) to the data on either Ursa or WCOSS.
108116
109117
If this requires a version update, please provide a CLEAN copy of the *entire* directory, including the structure and unchanged files from current directory.
110118
@@ -113,14 +121,6 @@ body:
113121
validations:
114122
required: true
115123

116-
- type: input
117-
attributes:
118-
label: Size
119-
description: How much data needs to be copied (size of pickup location in MB)?
120-
placeholder: '0'
121-
validations:
122-
required: true
123-
124124
- type: textarea
125125
attributes:
126126
label: Additional information
@@ -131,21 +131,19 @@ body:
131131

132132
- type: checkboxes
133133
attributes:
134-
label: Tasks for issue assignee
134+
label: Checklist for GW CM
135135
options:
136136
- label: (Providing user) Discuss needs with global-workflow developer assigned to request
137-
- label: (Providing user) Stage a CLEAN copy of data on Hera or WCOSS2 in the location provided above
138137
- label: (Global Workflow CM) Update data in "glopara"-managed space on supported platforms (see checklist below)
139138
- label: (Global Workflow CM - Fix only) Update "Fix File Management" [spreadsheet](https://docs.google.com/spreadsheets/d/1BeIvcz6TO3If4YCqkUK-oz_kGS9q2wTjwLS-BBemSEY/edit?usp=sharing)
140139
- label: (Developer) Make related workflow/component updates (if any)
141140

142141
- type: checkboxes
143142
attributes:
144-
label: Sync to supported platforms (for issue assignee)
143+
label: Checklist for GW CM Only: Sync to supported platforms
145144
options:
146145
- label: WCOSS2
147146
- label: Gaea C6
148-
- label: Hera
149147
- label: Ursa
150148
- label: MSU
151149
- label: AWS

.github/workflows/trigger-gitlab-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,16 @@ jobs:
7676
echo "PR ${PR_NUM} not found"
7777
exit 1
7878
fi
79+
# Get the PR head commit SHA for GitLab GitHub integration
80+
PR_HEAD_SHA=$(gh pr view "${PR_NUM}" --repo "${{ vars.GW_REPO_URL }}" --json headRefOid --jq '.headRefOid')
81+
echo "Found PR ${PR_NUM} with HEAD SHA: ${PR_HEAD_SHA}"
82+
else
83+
# For develop branch, use the current commit SHA
84+
PR_HEAD_SHA="${{ github.sha }}"
85+
echo "Using develop branch SHA: ${PR_HEAD_SHA}"
7986
fi
8087
echo "PR_NUM=${PR_NUM}" >> ${GITHUB_ENV}
88+
echo "PR_HEAD_SHA=${PR_HEAD_SHA}" >> ${GITHUB_ENV}
8189
8290
# Set pipeline type based on selection
8391
case "${{ github.event.inputs.pipeline_type }}" in
@@ -141,10 +149,12 @@ jobs:
141149
# Important note: This token should be a proper GitLab Pipeline Trigger token
142150
# created via Settings > CI/CD > Pipeline triggers in your GitLab project
143151
152+
# Pass GitHub commit SHA to GitLab for native GitHub integration
144153
curl --verbose --request POST \
145154
--form "token=${{ secrets.GITLAB_TRIGGER_TOKEN }}" \
146155
--form "ref=develop" \
147156
--form "variables[PR_NUMBER]=${{ env.PR_NUM }}" \
157+
--form "variables[GITHUB_COMMIT_SHA]=${{ env.PR_HEAD_SHA }}" \
148158
--form "variables[GW_REPO_URL]=${{ vars.GW_REPO_URL }}" \
149159
--form "variables[RUN_ON_MACHINES]=${{ env.MACHINES }}" \
150160
--form "variables[PIPELINE_TYPE]=${{ env.PIPELINE_TYPE }}" \

.gitlab-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ variables:
4646
RUNNER_AFTER_SCRIPT_TIMEOUT: 8h
4747
PR_NUMBER: 0 # PR number is set by GitHub Actions
4848
# when the pipeline is triggered from a PR
49+
GITHUB_COMMIT_SHA: "" # GitHub commit SHA for native GitLab integration
4950

5051
workflow:
5152
name: "PR ${PR_NUMBER} - ${RUN_ON_MACHINES} (${GFS_CI_RUN_TYPE})"
@@ -108,6 +109,15 @@ include:
108109
exit 1
109110
fi
110111
112+
# Configure GitLab native GitHub integration
113+
if [[ -n "${GITHUB_COMMIT_SHA:-}" && ${PR_NUMBER} -ne 0 ]]; then
114+
echo "Configuring GitLab native GitHub integration for commit: ${GITHUB_COMMIT_SHA}"
115+
export CI_COMMIT_SHA="${GITHUB_COMMIT_SHA}"
116+
echo "GitLab will report status to GitHub for this commit"
117+
else
118+
echo "Using GitLab default commit SHA for status reporting"
119+
fi
120+
111121
# Common build template for all modalities
112122
.build_template:
113123
extends:

dev/ci/cases/gfsv17/s2sw.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ base:
2222
SDATE_GFS: 2024111512
2323
FHMAX_GFS: 384
2424
FHMAX_HF_GFS: 120
25+
CASE_HIST: "C768"
2526

2627
prepoceanobs:
2728
use_exp_obs: "YES"

dev/ci/cases/yamls/gfs_cyc_defaults_ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ base:
2222
NMEM_ENS_GFS: 2
2323
NMEM_ENS_GFS_OFFSET: 0
2424
DO_TEST_MODE: "NO"
25+
CASE_HIST: "C48"
2526

2627
marineanl:
2728
SOCA_NINNER: 1

dev/parm/config/gcafs/config.base.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export OPS_RES="C768" # Do not change # TODO: Why is this needed and where is it
204204
export LEVS=128
205205
export CASE="{{ CASE_CTL }}"
206206
export CASE_ENS="{{ CASE_ENS }}"
207+
export CASE_HIST="{{ CASE_HIST | default('${CASE}') }}"
207208
export OCNRES="{{ OCNRES }}"
208209
export ICERES="${OCNRES}"
209210

dev/parm/config/gefs/config.base.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export OPS_RES="C768" # Do not change
150150
export LEVS=128
151151
export CASE="{{ CASE_CTL }}" # CASE is required in GEFS to determine ocean/ice/wave resolutions
152152
export CASE_ENS="{{ CASE_ENS }}"
153+
export CASE_HIST="{{ CASE_HIST | default('${CASE}') }}"
153154
export OCNRES="{{ OCNRES }}"
154155
export ICERES="${OCNRES}"
155156
# These are the currently recommended grid-combinations

dev/parm/config/gfs/config.base.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export OPS_RES="C768" # Do not change # TODO: Why is this needed and where is it
200200
export LEVS=128
201201
export CASE="{{ CASE_CTL }}"
202202
export CASE_ENS="{{ CASE_ENS }}"
203+
export CASE_HIST="{{ CASE_HIST | default('${CASE}') }}"
203204
export OCNRES="{{ OCNRES }}"
204205
export ICERES="${OCNRES}"
205206

dev/parm/config/gfs/config.efcs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
echo "BEGIN: config.efcs"
77

88
export CASE="${CASE_ENS}"
9+
export CASE_HIST="${CASE_ENS}"
910

1011
# Source model specific information that is resolution dependent
1112
string="--fv3 ${CASE}"

0 commit comments

Comments
 (0)