From 77d2834c7e416e938f1d20d8dbd6a6b128d38810 Mon Sep 17 00:00:00 2001 From: Simek Date: Mon, 11 Apr 2022 09:39:10 -0700 Subject: [PATCH] Circle CI: switch to next-gen images (#33590) Summary: Screenshot 2022-04-07 at 20 42 30 This PR switches the Circle CI images to the next-gen ones, according to the migration guide. With new images, specifying the minor version is required, and I have selected the latest version for each major release. References: * https://discuss.circleci.com/t/legacy-convenience-image-deprecation/41034 * https://circleci.com/developer/images/image/cimg/node --- Orbs are still using the full `circleci` name, however during the update I have spotted that used Windows Orb is quite outdated. I will push another PR and try the Orb bump in there, unless there is a reason, why the specific Orb version is used. ## Changelog N/A Pull Request resolved: https://github.com/facebook/react-native/pull/33590 Test Plan: Run the CI. Reviewed By: neildhar, sshic Differential Revision: D35550086 Pulled By: cortinico fbshipit-source-id: b37aa9c8157b5b4f7ab3d9aac20dcb5aed028482 --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 612fd1a196..8e155c4675 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,12 +54,12 @@ executors: <<: *defaults docker: # Note: Version set separately for Windows builds, see below. - - image: circleci/node:16 + - image: cimg/node:16.14 resource_class: "xlarge" nodeprevlts: <<: *defaults docker: - - image: circleci/node:14 + - image: cimg/node:14.19 resource_class: "xlarge" reactnativeandroid: <<: *defaults @@ -347,7 +347,7 @@ jobs: - run_yarn - run: name: Install rsync - command: sudo apt-get install rsync + command: sudo apt update && sudo apt install rsync # ------------------------- # Run JavaScript tests