Skip to content

Commit

Permalink
Merge pull request #21376 from indeewari/scheduling_the_test_runners
Browse files Browse the repository at this point in the history
Scheduling the test runners for JDK 17 and 21
  • Loading branch information
indeewari authored Oct 16, 2024
2 parents fbb50f5 + 5b5c0c1 commit 35fda7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/product-is-builder-jdk17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: product-is-builder-jdk17
on:
workflow_dispatch:
schedule:
# At 00:00 on day-of-month 1
- cron: '0 0 1 * *'
# Daily at 17:00 UTC (10.30 PM SL time)
- cron: '0 17 * * *'


env:
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
echo "::warning::$PR_BUILD_RESULT_LOG"
PR_BUILD_SUCCESS_COUNT=$(grep -o -i "\[INFO\] BUILD SUCCESS" mvn-build.log | wc -l)
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
if [ "$PR_BUILD_SUCCESS_COUNT" != "11" ]; then
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
echo "PR BUILD not successfull. Aborting."
echo "::error::PR BUILD not successfull. Check artifacts for logs."
exit 1
Expand All @@ -67,4 +67,4 @@ jobs:
echo "=========================================================="
echo "Build completed"
echo "=========================================================="
echo ""
echo ""
8 changes: 4 additions & 4 deletions .github/workflows/product-is-builder-jdk21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: product-is-builder-jdk21
on:
workflow_dispatch:
schedule:
# At 00:00 on day-of-month 1
- cron: '0 0 1 * *'
# Daily at 23:00 UTC (04.30 AM SL time)
- cron: '0 23 * * *'


env:
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
echo "::warning::$PR_BUILD_RESULT_LOG"
PR_BUILD_SUCCESS_COUNT=$(grep -o -i "\[INFO\] BUILD SUCCESS" mvn-build.log | wc -l)
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
if [ "$PR_BUILD_SUCCESS_COUNT" != "11" ]; then
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
echo "PR BUILD not successfull. Aborting."
echo "::error::PR BUILD not successfull. Check artifacts for logs."
exit 1
Expand All @@ -67,4 +67,4 @@ jobs:
echo "=========================================================="
echo "Build completed"
echo "=========================================================="
echo ""
echo ""

0 comments on commit 35fda7a

Please sign in to comment.