mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
CI: bump react-native-android to 4.0 (#31741)
Summary: This PR bumps react-native-android docker image to version 4.0, which includes Android NDK 21 and other command line utilities used for CI. ## Changelog [Internal] [Changes] - bump react-native-android to 4.0 Pull Request resolved: https://github.com/facebook/react-native/pull/31741 Test Plan: CI is green again, especially test_docker Reviewed By: mdvacca Differential Revision: D29229964 Pulled By: ShikaSD fbshipit-source-id: b50d376b94fe6d8f933a550133054b62267d21a7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
848d59947c
commit
4bacfe4806
@@ -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:3.2
|
||||
FROM reactnativecommunity/react-native-android:4.0
|
||||
|
||||
LABEL Description="React Native Android Test Image"
|
||||
LABEL maintainer="Héctor Ramos <hector@fb.com>"
|
||||
|
||||
@@ -36,7 +36,7 @@ executors:
|
||||
reactnativeandroid:
|
||||
<<: *defaults
|
||||
docker:
|
||||
- image: reactnativecommunity/react-native-android:3.2
|
||||
- image: reactnativecommunity/react-native-android:4.0
|
||||
resource_class: "large"
|
||||
environment:
|
||||
- TERM: "dumb"
|
||||
@@ -504,14 +504,6 @@ jobs:
|
||||
command: source scripts/android-setup.sh && launchAVD
|
||||
background: true
|
||||
|
||||
# Keep configuring Android dependencies while AVD boots up
|
||||
# Note: The yarn gpg key needs to be refreshed to work around https://github.com/yarnpkg/yarn/issues/7866
|
||||
- run:
|
||||
name: Install rsync, zip
|
||||
command: |
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
apt-get update -y && apt-get install patch rsync zip -y
|
||||
|
||||
# Install Buck
|
||||
- install_buck_tooling
|
||||
|
||||
|
||||
+1
-1
@@ -68,7 +68,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:3.2",
|
||||
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:4.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