From c5f3a6f42f7f42bf179c8072d90bef8842f2ce99 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Fri, 26 Jul 2024 11:55:31 -0400 Subject: [PATCH] [circleci] Remove build_and_test workflow Now that we've fully migrated the PR CI workflow (build_and_test) to GH, we can fully delete the workflow altogether. This will break https://react-builds.vercel.app/ unfortunately but I'll wait for acdlite to come back from vacation and work with him to fix it. The remaining jobs in circleci are for publishing prereleases of React to npm. I'll work on migrating those next. ghstack-source-id: 05f346829f47970592ce855340e02b37285635db Pull Request resolved: https://github.com/facebook/react/pull/30480 --- .circleci/config.yml | 47 -------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cc165921bf..7d273d0163 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,40 +48,6 @@ parameters: default: '' jobs: - yarn_build: - docker: *docker - environment: *environment - parallelism: 40 - steps: - - checkout - - setup_node_modules - - run: yarn build --ci=circleci - - persist_to_workspace: - root: . - paths: - - build - - process_artifacts_combined: - docker: *docker - environment: *environment - steps: - - checkout - - attach_workspace: - at: . - - setup_node_modules - - run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA - - run: | - mkdir -p ./build/__test_utils__ - node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js - # Compress build directory into a single tarball for easy download - - run: tar -zcvf ./build.tgz ./build - # TODO: Migrate scripts to use `build` directory instead of `build2` - - run: cp ./build.tgz ./build2.tgz - - store_artifacts: - path: ./build2.tgz - - store_artifacts: - path: ./build.tgz - publish_prerelease: parameters: commit_sha: @@ -105,19 +71,6 @@ jobs: scripts/release/publish.js --ci --tags << parameters.dist_tag >> workflows: - - build_and_test: - unless: << pipeline.parameters.prerelease_commit_sha >> - jobs: - - yarn_build: - filters: - branches: - ignore: - - builds/facebook-www - - process_artifacts_combined: - requires: - - yarn_build - # Used to publish a prerelease manually via the command line publish_preleases: when: << pipeline.parameters.prerelease_commit_sha >>