mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
CI: bump react-native-android docker image to 5.0, includes JDK 11 (#32186)
Summary: Bump react-native-android docker image to 5.0, which includes JDK 11. ## Changelog [Internal] [Changed] - bump react-native-android docker image to 5.0, which includes JDK 11. Pull Request resolved: https://github.com/facebook/react-native/pull/32186 Test Plan: Android CI must be green Reviewed By: ShikaSD Differential Revision: D30897954 Pulled By: cortinico fbshipit-source-id: 9b6696bac424ab188a0443b8315edbb9596dd166
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a44962fbd3
commit
9e7223537a
@@ -14,7 +14,7 @@
|
||||
# and build a Android application that can be used to run the
|
||||
# tests specified in the scripts/ directory.
|
||||
#
|
||||
FROM reactnativecommunity/react-native-android:4.0
|
||||
FROM reactnativecommunity/react-native-android:5.0
|
||||
|
||||
LABEL Description="React Native Android Test Image"
|
||||
LABEL maintainer="Héctor Ramos <hector@fb.com>"
|
||||
|
||||
@@ -36,12 +36,11 @@ executors:
|
||||
reactnativeandroid:
|
||||
<<: *defaults
|
||||
docker:
|
||||
- image: reactnativecommunity/react-native-android:4.0
|
||||
- image: reactnativecommunity/react-native-android:5.0
|
||||
resource_class: "large"
|
||||
environment:
|
||||
- TERM: "dumb"
|
||||
- ADB_INSTALL_TIMEOUT: 10
|
||||
- _JAVA_OPTIONS: "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"
|
||||
- GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+HeapDumpOnOutOfMemoryError"'
|
||||
- BUILD_THREADS: 2
|
||||
# Repeated here, as the environment key in this executor will overwrite the one in defaults
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@
|
||||
"prettier": "prettier --write \"./**/*.{js,md,yml}\"",
|
||||
"format-check": "prettier --list-different \"./**/*.{js,md,yml}\"",
|
||||
"update-lock": "npx yarn-deduplicate",
|
||||
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:4.0",
|
||||
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:5.0",
|
||||
"docker-build-android": "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .",
|
||||
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh",
|
||||
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh",
|
||||
|
||||
Reference in New Issue
Block a user