react-native-macos/scripts
Héctor Ramos 171cc0edb7 Migrate to Circle CI 2.1 (#25036)
Summary:
Migrate the Circle CI configuration to the 2.1 schema and take advantage of new config reuse features.

I've enabled pipelines in the facebook/react-native Circle CI project, a requirement for Circle CI 2.1 features.

### Overview

* Use executors to provide a common set of execution environments.
* Use commands to provide reusable steps (running yarn with cache, installing Android dependencies, ...)
* Use parametrized commands/jobs to reuse job definitions for `test_js` and `test_js_lts` where the only difference is the version of node provided by the environment.
* Reduce total execution time by [storing the git repo in a cache as opposed to using workspaces](https://circleci.com/blog/persisting-data-in-workflows-when-to-use-caching-artifacts-and-workspaces/)
* Fix various flaky end-to-end test failures related to CocoaPods and the CLI.
* Move `analyze` job to `analysis` workflow and rename to `analyze_pr`
* Rename `test_javascript` as `test_js`.
* Split up end-to-end test job into `test_ios_e2e` and `test_js_e2e`.

## Changelog

[Internal] [Changed] - Migrate to Circle CI 2.1 and fix e2e tests
Pull Request resolved: https://github.com/facebook/react-native/pull/25036

Differential Revision: D15565515

Pulled By: hramos

fbshipit-source-id: cfba2154a9fdc96400cbf778bd5d13e9411ee3f8
2019-05-30 15:11:13 -07:00
..
circleci Bots cleanup, avoid leaving inline reviews when N>5 (#24923) 2019-05-21 19:38:54 -07:00
versiontemplates Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
.packager.env Move YGStyle to seperate file and add constructors 2018-02-20 05:55:36 -08:00
.tests.env Use Xcode 10.2.0 and iOS 12.2 in iOS tests (#24572) 2019-04-24 09:33:17 -07:00
android-e2e-test.js Fix ios/android e2e tests (#24974) 2019-05-21 05:44:29 -07:00
android-setup.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
autolink-ios.rb Fixes syntax of autolink script (#24882) 2019-05-16 02:48:44 -07:00
bump-oss-version.js Adjust test manual e2e script to work with new init (#24583) 2019-04-25 02:03:10 -07:00
generate-rncore.sh Organize files 2019-05-22 06:02:03 -07:00
ios-configure-glog.sh Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00
ios-install-third-party.sh Allow arbitrary location for third-party iOS dependency cache 2019-04-30 09:49:14 -07:00
launchPackager.bat Use latest React Native CLI (#24517) 2019-04-24 05:09:10 -07:00
launchPackager.command macOS : request interactive input when killing the packager (#19663) 2019-02-24 22:48:17 -08:00
node-binary.sh Fix: use NODE_BINARY when starting packager (#24156) 2019-04-10 07:39:23 -07:00
objc-test-ios.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
objc-test-tvos.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
objc-test.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
packager.sh Fix: use NODE_BINARY when starting packager (#24156) 2019-04-10 07:39:23 -07:00
process-podspecs.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
publish-npm.js Deploy to npm on tagged commits only (#21250) 2018-09-22 09:16:58 -07:00
react-native-xcode.sh fixes Xcode path issues containing whitespace when building Release (#24810) 2019-05-13 07:29:50 -07:00
run-android-ci-instrumentation-tests.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-emulator.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-local-integration-tests.sh Use latest React Native CLI (#24517) 2019-04-24 05:09:10 -07:00
run-android-local-unit-tests.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-ci-e2e-tests.js Migrate to Circle CI 2.1 (#25036) 2019-05-30 15:11:13 -07:00
run-ci-javascript-tests.js Add react-native-oss-e2e job to Sandcastle, running JavaScript e2e tests from open source 2019-04-15 11:07:54 -07:00
run-instrumentation-tests-via-adb-shell.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
set-rn-template-version.js Adjust test manual e2e script to work with new init (#24583) 2019-04-25 02:03:10 -07:00
sync-css-layout.sh Clean up instances of scripts/signedsource.py 2019-03-14 13:42:27 -07:00
test-manual-e2e.sh Adjust test manual e2e script to work with new init (#24583) 2019-04-25 02:03:10 -07:00
try-n-times.js Fix linting issues (#22062) 2018-11-01 14:29:16 -07:00
validate-android-device-env.sh Use ShellCheck (#19681) 2018-09-28 17:03:24 -07:00
validate-android-sdk.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
validate-android-test-env.sh fix validate-android-test-env.sh (#22961) 2019-01-14 10:54:18 -08:00
validate-ios-test-env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00