-
Notifications
You must be signed in to change notification settings - Fork 58
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
[RNMobile] Upgrade Gradle to 8.2.1
and AGP to 8.1.0
#5989
[RNMobile] Upgrade Gradle to 8.2.1
and AGP to 8.1.0
#5989
Conversation
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
8fc7397
to
2476fd9
Compare
b630fc0
to
aa5ea08
Compare
For some reason, the default behavior of picking automatically a node version after loading the nvm script, it's leading to a failure in consecutive steps after the `install-node-version` step.
2b7cffc
to
ea7a603
Compare
…image-to-add-JDK-17-support Update Android Docker Image to add JDK 17 support
@@ -160,8 +160,7 @@ commands: | |||
parameters: | |||
android-docker-image: | |||
type: string | |||
# Hash points to previous version with node 12. When everything works with node 14 it can be removed | |||
default: "circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380" | |||
default: "cimg/android:2023.07-node" |
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.
Since we pick the needed node/npm version via nvm
(reference), we can use the latest version of CircleCI's Android docker image. Note the tag is different because the previous one was deprecated, more information can be found in Legacy Convenience Image Deprecation.
@@ -147,7 +147,7 @@ commands: | |||
echo 'Default NVM_DIR to .nvm in home' | |||
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV | |||
fi | |||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV | |||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use' >> $BASH_ENV |
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.
NVM tries to pick the node version automatically upon loading the script. For some reason, when using the new CircleCI's docker image, this leads to a failure related to not finding node 14. As a workaround, this behavior has been disabled using the --no-use
argument. This should have no impact on the job, as we explicitly pick the node version here.
This reverts commit e3914fa.
…pgrade-gradle-to-8.2.1-and-agp-to-8.0.2 # Conflicts: # gutenberg
8.2.1
and AGP to 8.0.2
8.2.1
and AGP to 8.1.0
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.
Approved via WordPress/gutenberg#52872 (review)
Related PRs
8.2.1
and AGP to8.1.0
WordPress/gutenberg#52872 by @fluiddotDescription
This PR is generated by
version-toolkit
to downstream the changes forgutenberg
submodule.