Skip to content

Commit

Permalink
Remove unnecessary workflows (facebook#41453)
Browse files Browse the repository at this point in the history
Summary:
This PR removes some jobs we don't need right now

## Changelog:
[Internal] - remove unnecessary jobs

Pull Request resolved: facebook#41453

Test Plan: CircleCI stays green

Reviewed By: NickGerleman

Differential Revision: D51257788

Pulled By: cipolleschi

fbshipit-source-id: e348a7ef7af469ba019b2ccc33feed79a9d4febe
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Nov 14, 2023
1 parent d502380 commit ef3c022
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 53 deletions.
4 changes: 0 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ parameters:
default: false
type: boolean

run_prealpha_workflow:
default: false
type: boolean

jobs:
choose_ci_jobs:
docker:
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,6 @@ jobs:
or:
- equal: [ "release", << parameters.release_type >> ]
- equal: [ "nightly", << parameters.release_type >> ]
- equal: [ "prealpha", << parameters.release_type >> ]
steps:
- run: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc
# END: Stables, prealpha and nightlies
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/test_workflows/testAll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- prepare_package_for_release:
name: prepare_package_for_release
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/test_workflows/testAndroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- prepare_package_for_release:
name: prepare_package_for_release
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/test_workflows/testE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- test_e2e_ios:
ruby_version: "2.7.7"
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/test_workflows/testIOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- prepare_package_for_release:
name: prepare_package_for_release
Expand Down
1 change: 0 additions & 1 deletion .circleci/configurations/test_workflows/testJS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- test_js:
run_disabled_tests: false
Expand Down
4 changes: 0 additions & 4 deletions .circleci/configurations/top_level.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,3 @@ parameters:
run_nightly_workflow:
default: false
type: boolean

run_prealpha_workflow:
default: false
type: boolean
39 changes: 0 additions & 39 deletions .circleci/configurations/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# and:
# - equal: [ false, << pipeline.parameters.run_release_workflow >> ]
# - equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
# - equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
#
# It's setup this way so we can trigger a release via a POST
# See limitations: https://support.circleci.com/hc/en-us/articles/360050351292-How-to-trigger-a-workflow-via-CircleCI-API-v2
Expand Down Expand Up @@ -81,7 +80,6 @@ workflows:
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
# Run lints on every commit
- analyze_code
Expand Down Expand Up @@ -125,48 +123,11 @@ workflows:
- build_hermes_macos
- build_hermesc_windows

prealpha:
when: << pipeline.parameters.run_prealpha_workflow >>
jobs:
- prepare_hermes_workspace
- build_android:
release_type: "prealpha"
- build_hermesc_linux:
requires:
- prepare_hermes_workspace
- build_hermesc_apple:
requires:
- prepare_hermes_workspace
- build_apple_slices_hermes:
requires:
- build_hermesc_apple
matrix:
parameters:
flavor: ["Debug", "Release"]
slice: ["macosx", "iphoneos", "iphonesimulator", "catalyst"]
- build_hermesc_windows:
requires:
- prepare_hermes_workspace
- build_hermes_macos:
requires:
- build_apple_slices_hermes
matrix:
parameters:
flavor: ["Debug", "Release"]
- build_npm_package:
release_type: "prealpha"
requires:
- build_android
- build_hermesc_linux
- build_hermes_macos
- build_hermesc_windows

publish_bumped_packages:
when:
and:
- equal: [ false, << pipeline.parameters.run_release_workflow >> ]
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
- equal: [ false, << pipeline.parameters.run_prealpha_workflow >> ]
jobs:
- find_and_publish_bumped_packages:
<<: *main_or_stable_only

0 comments on commit ef3c022

Please sign in to comment.