Skip to content

fix: for backport release 9.3 #275

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

Merged
merged 1 commit into from
Aug 18, 2025
Merged

fix: for backport release 9.3 #275

merged 1 commit into from
Aug 18, 2025

Conversation

tamassoltesz
Copy link
Contributor

Summary of change

(A few sentences about this PR)

Related issues

  • Link to issue1 here
  • Link to issue1 here

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here
highlighting the necessary changes)

Checklist for important updates

  • Changelog has been updated
  • pluginInterfaceSupported.json file has been updated (if needed)
  • Changes to the version if needed
    • In build.gradle
  • Had installed and ran the pre-commit hook
  • If there are new dependencies that have been added in build.gradle, please make sure to add them
    in implementationDependencies.json.
  • Issue this PR against the latest non released version branch.
    • To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the
      latest branch (git branch --all) whose X.Y is greater than the latest released tag.
    • If no such branch exists, then create one from the latest released branch.
  • When adding new recipes, ensure that its performance is being measured in the OneMillionUsersTest

Remaining TODOs for this PR

  • Item1
  • Item2

@tamassoltesz tamassoltesz requested a review from sattvikc August 13, 2025 13:52
echo "Unsupported architecture: $ARCH" && exit 1; \
fi
RUN unzip jre.zip
RUN mv jre-15.0.1 jre || mv jre-15.0.1-linux-aarch/jre-15.0.1 jre
Copy link

Choose a reason for hiding this comment

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

The ARM JRE extraction path appears inconsistent with the download URL. The command attempts to use jre-15.0.1-linux-aarch/jre-15.0.1 but the download URL uses -linux-arm. Consider updating the extraction path to match the archive structure, likely jre-15.0.1-linux-arm/jre-15.0.1 or simply jre-15.0.1-linux-arm. This mismatch could cause Docker build failures on ARM architectures.

Suggested change
RUN mv jre-15.0.1 jre || mv jre-15.0.1-linux-aarch/jre-15.0.1 jre
RUN mv jre-15.0.1 jre || mv jre-15.0.1-linux-arm/jre-15.0.1 jre

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

Comment on lines +58 to +60
if [ ! -z $API_KEYS ]
then
echo "api_keys: $API_KEYS" >> $CONFIG_FILE
Copy link

Choose a reason for hiding this comment

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

The environment variable check [ ! -z $API_KEYS ] doesn't properly handle API keys containing spaces, which could lead to unexpected behavior. Consider using quoted variables like [ ! -z "$API_KEYS" ] to correctly handle values with spaces. This same issue appears in all the other environment variable checks in this script.

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

@sattvikc sattvikc merged commit 1395ce7 into 7.2 Aug 18, 2025
3 of 4 checks passed
@sattvikc sattvikc deleted the fix/gha_release_scripts_72 branch August 18, 2025 08:29
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