Commit Graph

15 Commits

Author SHA1 Message Date
David Arthur 5f4cbd4aa4
KAFKA-17767 Automatically quarantine new tests [5/n] (#17725)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-19 09:56:36 +08:00
David Arthur 2696a6d7a1
KAFKA-17767 Load test catalog data [3/n] (#17654)
Add a new "load-catalog" job to the workflow. This job will checkout the test-catalog branch at 7 days prior and generate a text file of all the tests that were known at that time. This file is then passed down to the two parallel "test" jobs to be used as a source of data for the quarantined test behavior.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-01 10:38:47 -04:00
David Arthur d66d808172
MINOR: fix some GHA run syntax (#17471)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-10-12 08:52:55 +08:00
David Arthur 5377595a5f
KAFKA-17673 Switch back to statuses API (#17336)
This reverts parts of #17299 related to the checks API 

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-10-01 13:57:38 -04:00
David Arthur c969c86739
MINOR Don't run tests for Draft PRs (#17299)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-28 10:09:35 -04:00
David Arthur 00b1b1a144
KAFKA-17628 New workflows for automating run approvals (#17290)
This patch allows workflow runs to be controlled by the ci-approved label on Pull Requests. Rather than manually approving each workflow run explicitly, committers can now add the appropriate label and the new "CI Requested" and "PR Labeled" workflows will auto-approve the requested run.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-26 20:17:25 -04:00
David Arthur e3983c2a44
MINOR Fix is-public-fork input type (#17227)
Fix the CI workflow to treat the `is-public-fork` input as a string. 

Also add some docs on composite actions.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-19 14:13:06 -04:00
David Arthur 61a8d6584f
MINOR Always publish build scan in CI Complete workflow (#17195)
This patch bring the PR and trunk builds closer in line. Rather than switching between `--scan` and `--no-scan`,
both scenarios now use `--no-scan` and rely on the CI Complete workflow to publish the scans.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-14 08:48:42 -04:00
Clay Johnson 45d040d881
Update to 4.1.0 of `setup-gradle` action (#17194)
Fixes an issue with Develocity tokens expiring too soon.

Reviewers: David Arthur <mumrah@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-09-13 18:04:22 -04:00
David Arthur 2ebe4551c3
MINOR CI Complete workflow should set statuses on apache/kafka only (#17155)
Instead of attempting to set statuses on the head repo of a PR, the CI Complete workflow should create statuses on the commit in apache/kafka. 

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-10 13:28:06 -04:00
David Arthur 4d182d12f6
MINOR Add status check for gradle scan (#17140)
Add a commit status check so PRs can easily access the build scan.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-09 15:15:47 -04:00
David Arthur 0294b1402d
KAFKA-17479 Allow ":jar" tasks to be cached [1/n] (#17066)
For several modules, we include a kafka-version.properties in the Jar file. This file includes the Git SHA of the project at the time of the build. This means that even if no source files change, the :jar task will never be UP-TO-DATE between two git commits. Ultimately, this breaks Gradle caching.

This patch marks all of the createVersionFile tasks as cacheable and also changes our Gradle invocation to override the commit ID to a dummy static value. This will allow the :jar task to be cacheable and reusable between builds.

This patch also configures the trunk build to only write to the build cache and not read from it. This will prevent any cache pollution/corruption from propagating from build to build.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-04 15:06:11 -04:00
David Arthur 59f5d91d8f
MINOR increase develocity expiry to 4 hours (#17077)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-04 09:17:00 -04:00
Mickael Maison eafb92bdce
KAFKA-17193: Pin all external GitHub Actions to the specific git hash (#16960)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-08-23 12:37:12 +02:00
David Arthur 7095280495
MINOR: Separate GH workflows for PRs and trunk (#16936)
This patch creates separate GitHub Actions workflows for trunk and for pull requests.

On trunk, each commit will be built separately and the build scan will be uploaded to ge.apache.org. The trunk builds will also populate a Gradle cache managed by Github Actions.

Pull Requests will be built on each commit, but will interrupt an ongoing build (for the same PR). These builds will not populate the Gradle cache and will not upload the build scan unless the PRs are in apache/kafka.

For now, only pull requests with branches named like "gh-*" will run the junit tests. This is to allow developers to opt-in to the GH build.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-08-20 18:39:42 -04:00