Skip to content

Commit

Permalink
[circleci] Inline scrape_warning_messages
Browse files Browse the repository at this point in the history
This job was only being used for process_artifacts_combined in circleci
but as it was a separate job would incur the cost and time of spinning
up a new CI worker. We can simply inline this into
process_artifacts_combined.

ghstack-source-id: 8748d8fb9cf01d8fffe7e7590729a44def265c79
Pull Request resolved: #30388
  • Loading branch information
poteto committed Jul 18, 2024
1 parent f20450a commit 9e793f4
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,6 @@ parameters:
default: ''

jobs:
scrape_warning_messages:
docker: *docker
environment: *environment

steps:
- checkout
- setup_node_modules
- run:
command: |
mkdir -p ./build/__test_utils__
node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
- persist_to_workspace:
root: .
paths:
- build

yarn_build:
docker: *docker
environment: *environment
Expand Down Expand Up @@ -106,7 +90,10 @@ jobs:
at: .
- setup_node_modules
- run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA
# Compress build directory into a single tarball for easy download
- 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
Expand Down Expand Up @@ -230,14 +217,8 @@ workflows:
branches:
ignore:
- builds/facebook-www
- scrape_warning_messages:
filters:
branches:
ignore:
- builds/facebook-www
- process_artifacts_combined:
requires:
- scrape_warning_messages
- yarn_build

devtools_regression_tests:
Expand Down

0 comments on commit 9e793f4

Please sign in to comment.