Skip to content
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

Rename CCPP branches from master to main, several small changes in ccpp-physics #572

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
15cd9d4
Change CI triggering method #558
MinsukJi-NOAA May 12, 2021
ee2d4c9
Temporarily change no_instances for test purpose
MinsukJi-NOAA May 12, 2021
43c3b00
Clean up
MinsukJi-NOAA May 12, 2021
e7c057a
More testing
MinsukJi-NOAA May 12, 2021
16d3730
Revert back params used for testing
MinsukJi-NOAA May 12, 2021
74bbe48
Update .gitmodules and submodule pointer for fv3atm for code review a…
climbfuji May 12, 2021
31c42f4
Delete unncessary echo's
MinsukJi-NOAA May 13, 2021
b5e2207
Add a new cdeps test.
binli2337 May 13, 2021
fb86e7f
Update submodule pointer for fv3atm
climbfuji May 13, 2021
934db36
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji May 13, 2021
43afea3
Merge branch 'develop' into feature/data_files
binli2337 May 14, 2021
cda9e15
Merge remote-tracking branch 'upstream/develop' into feature/ci-label
MinsukJi-NOAA May 14, 2021
23fbfd0
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji May 14, 2021
f9562e6
Update submodule pointer for fv3atm
climbfuji May 14, 2021
2bf1c9e
Merge branch 'feature/data_files' of https://github.com/binli2337/ufs…
climbfuji May 14, 2021
e172bc0
Merge branch 'feature/ci-label' of https://github.com/MinsukJi-NOAA/u…
climbfuji May 14, 2021
8fc15f8
RT JOBS PASSED: hera.gnu. Log file uploaded.
BrianCurtis-NOAA May 14, 2021
185cf85
Remove FMS remnant from compile.sh
climbfuji May 16, 2021
759ad9e
Merge branch 'ccpp_rename_master_and_small_changes' of https://github…
climbfuji May 16, 2021
02f5074
Move load cmake call to after hpc-stack on wcoss_dell_p3
climbfuji May 17, 2021
c6e3e78
Update regression test baseline date in tests/rt.sh
climbfuji May 17, 2021
bfb8060
RT JOBS PASSED: cheyenne.gnu. Log file uploaded.
BrianCurtis-NOAA May 17, 2021
a89da2d
RT JOBS PASSED: hera.gnu. Log file uploaded.
BrianCurtis-NOAA May 17, 2021
77fda74
RT JOBS PASSED: cheyenne.intel. Log file uploaded.
BrianCurtis-NOAA May 17, 2021
1b3fcbb
RT JOBS PASSED: hera.intel. Log file uploaded.
BrianCurtis-NOAA May 17, 2021
58e0bf8
RT JOBS PASSED: jet.intel. Log file uploaded.
BrianCurtis-NOAA May 17, 2021
6c7730b
add wcoss-cray log
DeniseWorthen May 18, 2021
fa6e674
RT JOBS PASSED: gaea.intel. Log file uploaded.
BrianCurtis-NOAA May 18, 2021
3bf80ea
add wcoss_dell_p3 log
DeniseWorthen May 18, 2021
022357e
Regression test logs for orion.intel
climbfuji May 18, 2021
46490a9
Merge branch 'ccpp_rename_master_and_small_changes' of https://github…
climbfuji May 18, 2021
7f3b35a
Revert change to .gitmodules and update submodule pointer for fv3atm
climbfuji May 18, 2021
1b022b0
Revert CDEPS change to .gitmodules and update submodule pointer for C…
climbfuji May 18, 2021
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
48 changes: 25 additions & 23 deletions .github/workflows/aux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
path: ~/id_file
key: helperid-${{ github.event.workflow_run.id }}

- name: Delete run-ci label
run: |
head_sha=${{ github.event.workflow_run.head_sha }}
url=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY
pr_number=$(curl -sS -H $app $url/pulls \
| jq -r '.[] | select(.head.sha == "'"$head_sha"'") | .number')
echo "pr_number is $pr_number"
curl -sS -X DELETE -H $app -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
$url/issues/$pr_number/labels/run-ci


repocheck:
name: Repo check
Expand All @@ -34,28 +44,20 @@ jobs:
steps:
- name: Check up-to-dateness and post comment
run: |
if [[ ${{ github.event.workflow_run.event }} == push ]]; then
echo "This is a push event. No need to check."
comment=''
elif [[ ${{ github.event.workflow_run.event }} == pull_request ]]; then
echo "This is a pull_request event. Check."
head_sha=${{ github.event.workflow_run.head_sha }}
echo "head_sha is $head_sha"

git clone -q ${{ github.event.workflow_run.head_repository.html_url }} .
git checkout -q $head_sha
git submodule -q update --init --recursive

cd ${{ github.workspace }}/tests/ci
url=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY
pr_number=$(curl -sS -H $app $url/pulls \
| jq -r '.[] | select(.head.sha == "'"$head_sha"'") | .number')
echo "pr_number is $pr_number"
pr_uid=${{ github.event.workflow_run.head_repository.owner.login }}
echo "pr_uid is $pr_uid"
comment="$(./repo_check.sh $pr_uid 2>/dev/null)"
echo "comment is $comment"
fi
head_sha=${{ github.event.workflow_run.head_sha }}
git clone -q ${{ github.event.workflow_run.head_repository.html_url }} .
git checkout -q $head_sha
git submodule -q update --init --recursive

cd ${{ github.workspace }}/tests/ci
url=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY
pr_number=$(curl -sS -H $app $url/pulls \
| jq -r '.[] | select(.head.sha == "'"$head_sha"'") | .number')
echo "pr_number is $pr_number"
pr_uid=${{ github.event.workflow_run.head_repository.owner.login }}
echo "pr_uid is $pr_uid"
comment="$(./repo_check.sh $pr_uid 2>/dev/null)"
echo "comment is $comment"

if [[ -n $comment ]]; then
curl -sS -X POST -H $app -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
Expand Down Expand Up @@ -86,7 +88,7 @@ jobs:
run: |
cd ${{ github.workspace }}/tests/ci
eval url=$base_url/${{ github.event.workflow_run.id }}/jobs
b_r=$(echo -n $url | ./check_status.py build $(./setup.py no_builds))
b_r=$(echo -n $url | ./check_status.py build)
if [ $b_r == 'success' ]; then
echo "::set-output name=check::pass"
elif [ $b_r == 'failure' ]; then
Expand Down
41 changes: 4 additions & 37 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Pull Request Tests
on:
push:
branches: ['develop']
pull_request:
branches: ['develop']
types: ['labeled']
env:
app: Accept:application/vnd.github.v3+json

Expand Down Expand Up @@ -53,41 +52,11 @@ jobs:
fi


runcheck:
name: Check if run-ci is requested
runs-on: ubuntu-20.04

outputs:
cirun: ${{ steps.check.outputs.cirun }}

steps:
- name: Check
id: check
run: |
if [[ ${{github.event_name}} == pull_request ]]; then
sha=${{github.event.pull_request.head.sha}}
url=$(echo ${{github.event.pull_request.head.repo.git_commits_url}} \
| sed "s:{/sha}:/$sha:")
elif [[ ${{github.event_name}} == push ]]; then
sha=${{github.event.after}}
url=$(echo ${{github.event.repository.git_commits_url}} | sed "s:{/sha}:/$sha:")
fi

message="$(curl -sS -H "$app" $url | jq '.message')"
echo $message | grep run-ci >/dev/null 2>&1 && d=$? || d=$?
if [[ $d -eq 0 ]]; then
echo "::set-output name=cirun::yes"
elif [[ $d -eq 1 ]]; then
echo "::set-output name=cirun::no"
fi
printf "Commit message is %s\n" "$message"


setup:
name: Configure cases to run
needs: [repocheck,runcheck]
needs: [repocheck]
runs-on: ubuntu-20.04
if: needs.repocheck.outputs.current == 'yes' && needs.runcheck.outputs.cirun == 'yes'
if: needs.repocheck.outputs.current == 'yes' && github.event.label.name == 'run-ci'

outputs:
bld: ${{ steps.parse.outputs.bld }}
Expand All @@ -101,7 +70,7 @@ jobs:
id: parse
run: |
cd ${{ github.workspace }}/tests/ci
IFS='|'; parsed_output=( $(./setup.py cases) )
IFS='|'; parsed_output=( $(./setup.py) )
bld_=${parsed_output[0]}
test_=${parsed_output[1]}
img_=ci-test-weather
Expand All @@ -113,9 +82,7 @@ jobs:
echo "build set : $bld_"
echo "test set : $test_"
echo "image name: $img_"

echo "repocheck: ${{needs.repocheck.outputs.current}}"
echo "runcheck: ${{needs.runcheck.outputs.cirun}}"


build:
Expand Down
2 changes: 1 addition & 1 deletion FV3
3 changes: 1 addition & 2 deletions modulefiles/ufs_wcoss_dell_p3
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ module load python/3.6.3

module use /usrx/local/nceplibs/dev/hpc-stack/libs/hpc-stack/modulefiles/stack

module load cmake/3.20.0

module load hpc/1.1.0
module load cmake/3.20.0
module load hpc-ips/18.0.1.163
module load hpc-impi/18.0.1

Expand Down
3 changes: 1 addition & 2 deletions modulefiles/ufs_wcoss_dell_p3_debug
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ module load python/3.6.3

module use /usrx/local/nceplibs/dev/hpc-stack/libs/hpc-stack/modulefiles/stack

module load cmake/3.20.0

module load hpc/1.1.0
module load cmake/3.20.0
module load hpc-ips/18.0.1.163
module load hpc-impi/18.0.1

Expand Down
Loading