Skip to content

Conversation

@opwvhk
Copy link
Contributor

@opwvhk opwvhk commented Oct 7, 2025

What is the purpose of the change

The release build has a manual step. This PR automates it.

Verifying this change

To verify the change, please follow the build steps from the release procedure at https://cwiki.apache.org/confluence/display/AVRO/How+To+Release

When running the build.sh clean test dist command, the build should no longer pause, but create the site and continue.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

opwvhk added 2 commits October 7, 2025 12:47
This also requires upgrading PHP and Node (JS), and fixing a few other
issues. The minor version bump for Maven is simply icing on the cake.
Prepares for EOL of Python 3.9 later month.
@github-actions github-actions bot added Java Pull Requests for Java binding build Python JS website labels Oct 7, 2025
</provides>
<configuration>
<jdkHome>/usr/lib/jvm/openjdk-11</jdkHome>
<jdkHome>/usr/lib/jvm/java-11-openjdk-arm64</jdkHome>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this toolchain.xml file being used ?
I'd assume that most of the time it is used on x86_64 rather than aarch64 machine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've found a way to eliminate this file, and discover the toolchains instead. This way, it'll work for any architecture.

This ensures the toolchain works for both x86 and arm64 architectures,
and is supported by the latest/current version of the toolchain plugin.
Note: the version numbers are now not just major versions, so selection
of JDK 17, for example, is now done like this: [17,18)
@opwvhk opwvhk merged commit 6aa1048 into apache:main Oct 16, 2025
88 checks passed
@opwvhk opwvhk deleted the avro-4186-fully-automate-release-build branch October 16, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Java Pull Requests for Java binding JS Python website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants