-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix-kokoro #9637
Fix-kokoro #9637
Conversation
… used in skaffold.yaml so that the ccompiled java application runs in java V21 environment instead of V11.
…ge is defined in the skaffold.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @alphanota, reviewers, and future viewers!
I'm Gemini, and I'm currently reviewing this pull request. In the meantime, I'm providing a summary of its content to help everyone quickly get up to speed on the changes and intent.
This pull request, titled "Fix-kokoro", aims to improve the Kokoro integration tests. I've analyzed the changes and found the following:
-
Updated Build Configurations: The workflow files
.github/workflows/compile-mac.yaml
and.github/workflows/integration-linux.yml
have been modified. These changes include:- Adding support for Java 21 in the integration tests (
integration-linux.yml
, lines 26-27). - Adding a Java setup step to the integration tests (
integration-linux.yml
, lines 38-45). - Updating the
make
command for integration tests to include the integration test partitions (integration-linux.yml
, lines 136-139). - Adding a new workflow for PR integration tests on MacOS (
compile-mac.yaml
, lines 1-54). This workflow builds Skaffold binaries for various platforms (lines 19, 53-54).
- Adding support for Java 21 in the integration tests (
-
Updated Example Dependencies: The
examples/jib-gradle
directory has been updated. This includes:- Upgrading Gradle version to 8.11.1 (
examples/jib-gradle/gradle/wrapper/gradle-wrapper.properties
, lines 3-5,integration/examples/jib-gradle/gradle/wrapper/gradle-wrapper.properties
, lines 3-5). - Upgrading Micronaut version to 4.6.3 (
examples/jib-gradle/gradle.properties
, line 1,integration/examples/jib-gradle/gradle.properties
, line 1). - Upgrading Jib and Shadow plugins to newer versions (
examples/jib-gradle/build.gradle
, lines 3-5,integration/examples/jib-gradle/build.gradle
, lines 3-5). - Updating Java version to 21 (
examples/jib-gradle/build.gradle
, lines 9-11,integration/examples/jib-gradle/build.gradle
, lines 9-11). - Adding
micronaut-jackson-databind
dependency (examples/jib-gradle/build.gradle
, lines 23-24,integration/examples/jib-gradle/build.gradle
, lines 23-24). - Removing the explicit
jib.from.image
setting (examples/jib-gradle/build.gradle
, lines 43-45,integration/examples/jib-gradle/build.gradle
, lines 43-45). - Adding SPDX license identifier (
examples/jib-gradle/gradlew
, lines 16-17,integration/examples/jib-gradle/gradlew
, lines 16-17). - Updating the
gradlew
script for improved compatibility (examples/jib-gradle/gradlew
, multiple lines,integration/examples/jib-gradle/gradlew
, multiple lines). - Updating the
gradlew.bat
script for improved compatibility (examples/jib-gradle/gradlew.bat
, multiple lines,integration/examples/jib-gradle/gradlew.bat
, multiple lines). - Adding Micronaut platform catalog plugin (
examples/jib-gradle/settings.gradle
, lines 1-3,integration/examples/jib-gradle/settings.gradle
, lines 1-3). - Specifying
fromImage
inskaffold.yaml
(examples/jib-gradle/skaffold.yaml
, lines 7-8,integration/examples/jib-gradle/skaffold.yaml
, lines 7-8). - Updating
gradleImage
inskaffold.yaml
(examples/jib-gradle/skaffold.yaml
, line 16,integration/examples/jib-gradle/skaffold.yaml
, line 16).
- Upgrading Gradle version to 8.11.1 (
-
Updated
examples/jib-sync
Dependencies: Similar updates to Gradle, Micronaut, and Java versions were applied to theexamples/jib-sync
directory, mirroring the changes inexamples/jib-gradle
. -
Minor changes to
skaffold-gradle.yaml
: ThefromImage
in the Jib configuration was updated to usejava21-debian12:debug
instead ofjava:debug
(examples/jib-sync/skaffold-gradle.yaml
, line 10,integration/examples/jib-sync/skaffold-gradle.yaml
, line 10).
I will provide a more detailed review shortly. In the meantime, please let me know if you have any questions.
A tiny poem for your code:
Lines of code flow,
Building worlds with each keystroke,
A digital dream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR updates the examples and integration tests to use Java 21 and newer versions of various libraries. This is a good change to keep the examples and tests up-to-date. The changes are generally well-done, but there are a few minor suggestions for improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi team,
I'm currently reviewing this pull request and will provide feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed:
This pull request, "Fix-kokoro", appears to focus on improving the Kokoro (Google's continuous integration system) integration tests for Skaffold. The intent, based on the file changes, seems to be to add a new workflow for running integration tests on different platforms (Linux, macOS, Windows) using GitHub Actions.
Here's a breakdown of the changes:
- A new GitHub Actions workflow file,
.github/workflows/compile-mac.yaml
, has been added. This file defines a workflow that:- Triggers on push or pull request events.
- Runs on macOS-latest runners.
- Uses a matrix strategy to test on multiple platforms (
linux-amd64
,darwin-amd64
,windows-amd64.exe
,linux-arm64
,darwin-arm64
). - Checks out the code, sets up Go, and utilizes caching to speed up builds.
- Builds and installs the Skaffold binary for each specified platform.
The workflow appears to be well-structured and leverages best practices for GitHub Actions, including concurrency control and caching. The use of a matrix strategy ensures comprehensive testing across different operating systems and architectures.
While the PR description lacks detail, the code changes clearly indicate an effort to enhance the CI/CD pipeline for Skaffold. I'll be looking for comprehensive test coverage and confirming that the new workflow integrates seamlessly with the existing infrastructure.
A little haiku to brighten your day:
Tests run, green light shows,
Code merges, a happy sigh,
Skaffold builds anew.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR updates the examples and integration tests to use Java 21 and newer versions of various libraries. This is a good change to keep the examples and tests up-to-date. The changes are generally well-done, but there are a few minor suggestions for improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi team,
I'm currently reviewing this pull request and will provide a full review shortly. In the meantime, here's a quick summary for you and other reviewers to get up to speed:
This pull request, "Fix-kokoro", appears to focus on improving the Kokoro integration tests. The description is quite sparse, so I'm basing this summary primarily on the code changes.
Summary of Changes:
The primary change is the addition of a new GitHub Actions workflow file, .github/workflows/compile-mac.yaml
. This workflow seems designed to run integration tests on various platforms (linux-amd64, darwin-amd64, windows-amd64.exe, linux-arm64, darwin-arm64). The workflow includes steps for:
- Checking out the code.
- Setting up a Go environment.
- Caching Go build artifacts to speed up subsequent runs.
- Building the Skaffold binary for each specified platform using
make
.
The workflow is triggered on both pushes and pull requests.
Intent (Inferred):
Based on the changes, the intent is likely to improve the reliability and coverage of the integration tests by running them across multiple platforms within a consistent CI/CD environment. This should help catch platform-specific bugs and ensure broader compatibility.
Disclaimer: Due to the limited information in the pull request description, this summary is based on my interpretation of the code changes. Further clarification from the author would be beneficial.
And now, a little haiku to lighten the mood:
Tests run, green light shows,
Code merges, a joyful sigh,
Bugs flee in the night.
Thanks,
Gemini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR updates the examples and integration tests to use Java 21 and newer versions of various libraries. This is a good change to keep the examples and tests up-to-date. The changes are generally well-done, but I have a few minor suggestions.
Fixes: #nnn
Related: Relevant tracking issues, for context
Merge before/after: Dependent or prerequisite PRs
Description
User facing changes (remove if N/A)
Follow-up Work (remove if N/A)