-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins updates #2334
Merged
WalterKolczynski-NOAA
merged 45 commits into
NOAA-EMC:develop
from
TerrenceMcGuinness-NOAA:jenkins_updates
Feb 23, 2024
+64
−20
Merged
Jenkins updates #2334
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
bd9ed1f
removed env.MACHINE_ID=machine in Jenkins, same as export MACHINE_ID=…
fa9990d
Update build_all.sh
TerrenceMcGuinness-NOAA 6901c9c
used try catch over run experments get archive of error logs and runn…
6991208
put HOMEgfs back in the paths to the CI scripts
481e407
trying recusive scm
3d83f36
just hadded buildDiscarder line
5840fac
needed w in build all for new tests
8ac6b09
Merge branch 'NOAA-EMC:develop' into hotfix_pipeline_no-MACHINE_ID
TerrenceMcGuinness-NOAA 1698ff8
-w is not really in develop now removeing w from yamls build and remo…
63a3e4f
Merge branch 'hotfix_pipeline_no-MACHINE_ID' of https://github.com/Te…
9e5a9df
Merge branch 'develop' into hotfix_pipeline_no-MACHINE_ID
8066167
testing a method for implenting skip host clause
4229ab5
testing a method for implenting skip host clause
4473d96
add python script to just check case skip host
646002e
added check case test in python for return false if skip_ci_on_hosts …
e572cde
added python code to check for skip case on host
d111f94
check case script now returns true to run and false not to run
af3f5e0
put in test for skip cases with when expression with env var
e8cc2ba
make seperate stage to check skip
e108f18
add wxflow link in utils dir and another case in test list
f5be771
add env.HOME to point to check script
7c3d377
got imports to work by adding links to modules dirs
ea3c1ec
added echo for result of check case
0cd27da
Merge branch 'hotfix_pipeline_no-MACHINE_ID' of https://github.com/Te…
ea338b8
testing list again
fb0e406
spelled global variable test_cases_list wrong
37bf83b
get all cases for host by checking for skips
6b32939
added get cases list of cases that are not skipped for that host
1aa8d2a
switch list to ones that do run on host from ones that dont
371d4f6
misspelled caseList and fixed
c3d0734
added skip host orion for C96_atmos snow DA
4b937ed
Merge branch 'NOAA-EMC:develop' into jenkins_updates
TerrenceMcGuinness-NOAA 6fa270f
trying to reduce workspace paths
7f63c5e
just run bad actor case for datapath issue
1fcfc4c
just changed numToKeep
25cb1cb
missed bracket on agent
da7bc97
used ws for custom instead
afd77b9
took out in label block
689e0ee
spell custom_workspace
56b51b6
added common workspace with miminum nubmer of chars to path
466ba83
added common workspace with miminum nubmer of chars to path
3baed5f
put all tests back and removed Keep limiter
93ff847
python norms needed extra line delteted in get_host_case_list
ab28fca
added host name to argument to get_host_case_list.py
fda0610
fixing python norms with removing white spaces
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env python3 | ||
import os | ||
from os.path import basename, splitext | ||
import sys | ||
import glob | ||
from wxflow import parse_j2yaml | ||
from wxflow import AttrDict | ||
|
||
_here = os.path.dirname(__file__) | ||
_top = os.path.abspath(os.path.join(os.path.abspath(_here), '../../..')) | ||
|
||
if __name__ == '__main__': | ||
|
||
if len(sys.argv) < 2: | ||
print('Usage: get_host_case_list.py <host_name>') | ||
sys.exit(1) | ||
|
||
host = sys.argv[1] | ||
|
||
case_list = [] | ||
HOMEgfs = _top | ||
data = AttrDict(HOMEgfs=_top) | ||
data.update(os.environ) | ||
|
||
case_files = glob.glob(f'{HOMEgfs}/ci/cases/pr/*.yaml') | ||
for case_yaml in case_files: | ||
case_conf = parse_j2yaml(path=case_yaml, data=data) | ||
if 'skip_ci_on_hosts' in case_conf: | ||
if host.lower() in [machine.lower() for machine in case_conf.skip_ci_on_hosts]: | ||
continue | ||
case_list.append(splitext(basename(case_yaml))[0]) | ||
print(' '.join(case_list)) |
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 @@ | ||
../../../sorc/wxflow/src/wxflow |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only GFS? Or is this just a way to only do it once?