Skip to content

Commit d205133

Browse files
committed
Merge branch 'trunk' into fix-issue-10789
2 parents 84c49c0 + 58ad29c commit d205133

File tree

2,265 files changed

+118766
-72045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,265 files changed

+118766
-72045
lines changed

.asf.yaml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
# Enable the next-gen .asf.yaml parser
19+
meta:
20+
nextgen: true
21+
1822
notifications:
1923
2024
@@ -25,13 +29,22 @@ notifications:
2529
# Read more here: https://github.com/apache/infrastructure-asfyaml
2630
github:
2731
collaborators:
28-
- FrankYang0529
29-
- kirktrue
3032
- brandboat
31-
- AndrewJSchofield
32-
- OmniaGM
33-
- nizhikov
34-
- dongnuo123
35-
- gaurav-narula
36-
- apourchet
37-
- apoorvmittal10
33+
- FrankYang0529
34+
- gongxuanzhang
35+
- m1a2st
36+
- mingyen066
37+
- ShivsundarR
38+
- smjn
39+
- TaiJuWu
40+
- xijiu
41+
- Yunyung
42+
enabled_merge_buttons:
43+
squash: true
44+
squash_commit_message: PR_TITLE_AND_DESC
45+
merge: false
46+
rebase: false
47+
48+
# Disable legacy branch protections. We have manual rulesets which protect trunk
49+
# and our release branches. See INFRA-26603
50+
protected_branches: ~

.github/actions/run-gradle/action.yml

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ inputs:
2222
# Composite actions do not support typed parameters. Everything is treated as a string
2323
# See: https://github.com/actions/runner/issues/2238
2424
test-task:
25-
description: "The test suite to run. Either 'test' or 'quarantinedTest'."
25+
description: "The Gradle task name to run."
26+
required: true
27+
test-xml-output:
28+
description: "Output directory for JUnit XML results"
2629
required: true
2730
timeout-minutes:
2831
description: "The timeout for the tests, in minutes."
@@ -33,10 +36,32 @@ inputs:
3336
build-scan-artifact-name:
3437
description: "The name to use for archiving the build scan."
3538
required: true
39+
test-retries:
40+
description: "The number of retries for a given test should we allow"
41+
required: true
42+
default: "0"
43+
test-repeat:
44+
description: "The number of times to repeat the integration tests"
45+
required: true
46+
default: "1"
47+
test-verbose:
48+
description: "Enable additional logging by the JUnit infrastructure"
49+
required: true
50+
default: "false"
51+
run-new-tests:
52+
description: "Run tests not present in the given test catalog"
53+
required: true
54+
default: "false"
55+
run-flaky-tests:
56+
description: "Run tests marked as flaky"
57+
required: true
58+
default: "false"
59+
3660
outputs:
3761
gradle-exitcode:
3862
description: "The result of the Gradle test task."
3963
value: ${{ steps.run-tests.outputs.exitcode }}
64+
4065
runs:
4166
using: "composite"
4267
steps:
@@ -52,15 +77,25 @@ runs:
5277
TIMEOUT_MINUTES: ${{ inputs.timeout-minutes}}
5378
TEST_CATALOG: ${{ inputs.test-catalog-path }}
5479
TEST_TASK: ${{ inputs.test-task }}
80+
TEST_RETRIES: ${{ inputs.test-retries }}
81+
TEST_REPEAT: ${{ inputs.test-repeat }}
82+
RUN_NEW_TESTS: ${{ inputs.run-new-tests }}
83+
RUN_FLAKY_TESTS: ${{ inputs.run-flaky-tests }}
84+
TEST_XML_OUTPUT_DIR: ${{ inputs.test-xml-output }}
85+
TEST_VERBOSE: ${{ inputs.test-verbose }}
5586
run: |
5687
set +e
5788
./.github/scripts/thread-dump.sh &
5889
timeout ${TIMEOUT_MINUTES}m ./gradlew --build-cache --continue --no-scan \
5990
-PtestLoggingEvents=started,passed,skipped,failed \
60-
-PmaxParallelForks=2 \
61-
-PmaxTestRetries=1 -PmaxTestRetryFailures=3 \
62-
-PmaxQuarantineTestRetries=3 -PmaxQuarantineTestRetryFailures=0 \
91+
-PmaxParallelForks=4 \
92+
-PmaxTestRetries=$TEST_RETRIES -PmaxTestRetryFailures=10 \
6393
-Pkafka.test.catalog.file=$TEST_CATALOG \
94+
-Pkafka.test.run.new=$RUN_NEW_TESTS \
95+
-Pkafka.test.run.flaky=$RUN_FLAKY_TESTS \
96+
-Pkafka.test.xml.output.dir=$TEST_XML_OUTPUT_DIR \
97+
-Pkafka.cluster.test.repeat=$TEST_REPEAT \
98+
-Pkafka.test.verbose=$TEST_VERBOSE \
6499
-PcommitId=xxxxxxxxxxxxxxxx \
65100
$TEST_TASK
66101
exitcode="$?"
@@ -72,4 +107,4 @@ runs:
72107
name: ${{ inputs.build-scan-artifact-name }}
73108
path: ~/.gradle/build-scan-data
74109
compression-level: 9
75-
if-no-files-found: ignore
110+
if-no-files-found: ignore

.github/actions/setup-gradle/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ runs:
4242
distribution: temurin
4343
java-version: ${{ inputs.java-version }}
4444
- name: Setup Gradle
45-
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
45+
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
4646
env:
4747
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
4848
with:

.github/pull_request_template.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Delete this text and replace it with a detailed description of your change. The
2+
PR title and body will become the squashed commit message.
3+
4+
If you would like to tag individuals, add some commentary, upload images, or
5+
include other supplemental information that should not be part of the eventual
6+
commit message, please use a separate comment.
7+
8+
If applicable, please include a summary of the testing strategy (including
9+
rationale) for the proposed change. Unit and/or integration tests are expected
10+
for any behavior change and system tests should be considered for larger
11+
changes.

0 commit comments

Comments
 (0)