Skip to content

Commit

Permalink
Update develop-ref after dtcenter/METplotpy#476 (#2803)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 21, 2024
1 parent 435823b commit 5bead54
Show file tree
Hide file tree
Showing 137 changed files with 3,217 additions and 5,946 deletions.
11 changes: 9 additions & 2 deletions .github/jobs/docker_build_metplus_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ fi
# remove v prefix
metplus_version=${SOURCE_BRANCH:1}

# if rc is in version number, get main_vX.Y, otherwise get X.Y-latest or develop
if [[ "${metplus_version}" =~ rc ]]; then
tag_format="main_v{X}.{Y}"
else
tag_format="{X}.{Y}-latest"
fi

# Get MET tag and adjust MET Docker repo if develop
met_tag=$("${GITHUB_WORKSPACE}"/metplus/component_versions.py -v "${metplus_version}" -o MET -f "{X}.{Y}-latest" --no-get_dev_version)
met_tag=$("${GITHUB_WORKSPACE}"/metplus/component_versions.py -v "${metplus_version}" -o MET -f ${tag_format} --no-get_dev_version)
echo "$met_tag"

MET_DOCKER_REPO=met
if [ "$met_tag" == "develop" ]; then
if [ "$met_tag" == "develop" ] || [[ "${met_tag}" =~ ^main_v[0-9]+\.[0-9]+ ]]; then
MET_DOCKER_REPO=met-dev
fi

Expand Down
12 changes: 10 additions & 2 deletions .github/jobs/docker_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ echo "TIMING: docker pull ${DOCKERHUB_TAG} took `printf '%02d' $(($duration / 60
export DOCKERFILE_PATH=${GITHUB_WORKSPACE}/internal/scripts/docker/Dockerfile

metplus_version=$(head -n 1 "${GITHUB_WORKSPACE}/metplus/VERSION")
MET_TAG=$("${GITHUB_WORKSPACE}"/metplus/component_versions.py -v "${metplus_version}" -o MET -f "{X}.{Y}-latest" --no-get_dev_version)

# if rc is in version number, get main_vX.Y, otherwise get X.Y-latest or develop
if [[ "${metplus_version}" =~ rc ]]; then
tag_format="main_v{X}.{Y}"
else
tag_format="{X}.{Y}-latest"
fi

MET_TAG=$("${GITHUB_WORKSPACE}"/metplus/component_versions.py -v "${metplus_version}" -o MET -f ${tag_format} --no-get_dev_version)

MET_DOCKER_REPO=met-dev
if [ "${MET_TAG}" != "develop" ]; then
if [ "${MET_TAG}" != "develop" ] && ! [[ "${MET_TAG}" =~ ^main_v[0-9]+\.[0-9]+ ]]; then
MET_DOCKER_REPO=met
elif [ "${EXTERNAL_TRIGGER}" == "true" ]; then
# if MET tag is develop and external repo triggered workflow
Expand Down
25 changes: 25 additions & 0 deletions .github/parm/use_case_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
"index_list": "10",
"run": false
},
{
"category": "marine_and_cryosphere",
"index_list": "11",
"disabled": true,
"disabled_reason": "exceeds GitHub Actions environment limits",
"run": false
},
{
"category": "medium_range",
"index_list": "0",
Expand Down Expand Up @@ -234,6 +241,22 @@
"index_list": "0",
"run": false
},
{
"category": "s2s_stratosphere",
"index_list": "1",
"disabled": true,
"disabled_reason": "exceeds GitHub Actions environment limits",
"data_location": "v6.0/additional_data_UserScript_fcstGFS_obsERA_StratospherePolar.tgz",
"run": false
},
{
"category": "s2s_stratosphere",
"index_list": "2",
"disabled": true,
"disabled_reason": "exceeds GitHub Actions environment limits",
"data_location": "v6.0/additional_data_UserScript_fcstGFS_obsERA_StratosphereQBO.tgz",
"run": false
},
{
"category": "short_range",
"index_list": "0",
Expand Down Expand Up @@ -278,12 +301,14 @@
"category": "short_range",
"index_list": "14",
"disabled": true,
"disabled_reason": "need new RRFS data with new line types",
"run": false
},
{
"category": "short_range",
"index_list": "15",
"disabled": true,
"disabled_reason": "exceeds GitHub Actions environment limits",
"run":false
},
{
Expand Down
1 change: 1 addition & 0 deletions .github/update_truth_change_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
[20241015_17:11:29 develop] dtcenter/MET#2988 - dtcenter/MET#2988 -- see issue #2719 for details -- retry (again) because there was an issue with convert not being available in the ubuntu image that runs the unit tests and METdbLoad use cases were broken
[20241016_20:39:30 develop] #2710 - #2710 fixed a bug in a use case
[20241113_21:34:39 develop] #2769 and #2785 - #2769 adds new use case for fire weather, #2785 turns on land_surface use case that was previously reporting differences that was resolved by bugfix dtcenter/MET#2899
[20241120_22:40:11 develop] dtcenter/METplotpy#476 - dtcenter/METplotpy#476 appears to have caused differences in an output image that is not noticeable upon visual review
14 changes: 14 additions & 0 deletions .github/workflows/create_conda_envs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,20 @@ jobs:
- run: .github/jobs/build_conda_image.sh
- run: .github/jobs/push_conda_image.sh

mp_analysis:
if: |
always() && (needs.check.outputs.no_skip == 'true' ||
contains(fromJSON(needs.check.outputs.run_list), 'mp_analysis'))
runs-on: ubuntu-latest
needs: [check,metplotpy]
env:
ENV_NAME: ${{ github.job }}
BASE_ENV: metplotpy
steps:
- uses: actions/checkout@v4
- run: .github/jobs/build_conda_image.sh
- run: .github/jobs/push_conda_image.sh

diff:
if: |
always() && (needs.check.outputs.no_skip == 'true' ||
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
- '.github/pull_request_template.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/labels/**'
- 'build_components/**'
- 'manage_externals/**'
- '**/README.md'
- '**/LICENSE.md'

Expand All @@ -30,8 +28,6 @@ on:
- '.github/pull_request_template.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/labels/**'
- 'build_components/**'
- 'manage_externals/**'
- '**/README.md'
- '**/LICENSE.md'

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
- '.github/pull_request_template.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/labels/**'
- 'build_components/**'
- 'manage_externals/**'
- '**/README.md'
- '**/LICENSE.md'

Expand All @@ -29,8 +27,6 @@ on:
- '.github/pull_request_template.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/labels/**'
- 'build_components/**'
- 'manage_externals/**'
- '**/README.md'
- '**/LICENSE.md'

Expand Down
1 change: 0 additions & 1 deletion build_components/Externals.cfg

This file was deleted.

39 changes: 0 additions & 39 deletions build_components/Externals_develop.cfg

This file was deleted.

39 changes: 0 additions & 39 deletions build_components/Externals_stable.cfg

This file was deleted.

22 changes: 0 additions & 22 deletions build_components/README.GFDLTRACKER

This file was deleted.

16 changes: 0 additions & 16 deletions build_components/README.md

This file was deleted.

45 changes: 0 additions & 45 deletions build_components/build_MET.sh

This file was deleted.

29 changes: 0 additions & 29 deletions build_components/env_vars.bash

This file was deleted.

Loading

0 comments on commit 5bead54

Please sign in to comment.