Skip to content

[SPARK-60065] Build the operator image without Gradle in the build-image CI job - #955

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-60065
Closed

dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-60065

Conversation

@dongjoon-hyun

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to run docker build directly in the build-image job instead of ./gradlew buildDockerImage, and to remove the unused Set up JDK 26 and Setup Gradle steps. The image version is extracted from build.gradle, so the image name, tag and build argument stay the same.

Why are the changes needed?

The build-image job is on the critical path of all E2E jobs. Gradle on the host spends about 42s computing the task graph before it runs docker build, and the JDK and Gradle setup take about 10s more.

Does this PR introduce any user-facing change?

No. This is a CI-only change.

How was this patch tested?

Pass the CIs. I also ran the new step locally and checked that the image has the org.opencontainers.image.version label 1.1.0-SNAPSHOT.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 5.5

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Since this is CI-only improvement, I'm going to merge this to save the community resources.

@dongjoon-hyun dongjoon-hyun added this to the 1.1.0 milestone Oct 8, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-60065 branch October 8, 2026 03:15
@peter-toth

peter-toth commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Late LGTM.

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you always, @peter-toth !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants