@@ -197,28 +197,6 @@ jobs:
197197 - run : bazel build --build_tag_filters=-docs-package,-release-package -- src/...
198198 - *slack_notify_on_failure
199199
200- # -----------------------------------
201- # Job which ensures that all non-test Bazel targets build properly
202- # in View Engine configuration.
203- # -----------------------------------
204- view_engine_build :
205- << : *job_defaults
206- resource_class : xlarge
207- environment :
208- GCP_DECRYPT_TOKEN : *gcp_decrypt_token
209- steps :
210- - checkout_and_rebase
211- - *restore_cache
212- - *setup_bazel_ci_config
213- - *setup_bazel_remote_execution
214- - *yarn_install
215- - *setup_bazel_binary
216-
217- # Exclude release and docs packages here as those will be built within
218- # the "build_release_packages" and "publish_snapshots" jobs.
219- - run : bazel build --build_tag_filters=-docs-package,-release-package --config=view-engine -- src/...
220- - *slack_notify_on_failure
221-
222200 # --------------------------------------------------------------------------------------------
223201 # Job that runs API golden tests in "tools/public_api_guard".
224202 # This job fails whenever an API has been updated but not explicitly approved through goldens.
@@ -338,10 +316,10 @@ jobs:
338316 - *setup_bazel_binary
339317
340318 - run :
341- name : Checking rollup globals
319+ name : Checking package externals
342320 command : |
343- bazel build //:rollup_globals
344- yarn check-rollup-globals $(bazel info bazel-bin)/rollup_globals .json
321+ bazel build //:package_externals
322+ yarn check-package-externals $(bazel info bazel-bin)/package_externals .json
345323
346324 - run :
347325 name : Checking entry-points configuration
@@ -456,54 +434,6 @@ jobs:
456434 - run : ./scripts/circleci/publish-snapshots.sh
457435 - *slack_notify_on_failure
458436
459- # -----------------------------------------------------------------
460- # Job that ensures that the release output is compatible with ngcc.
461- # -----------------------------------------------------------------
462- ngcc_compatibility :
463- << : *job_defaults
464- resource_class : xlarge
465- steps :
466- - checkout_and_rebase
467- - *restore_cache
468- - *attach_release_output
469- - *yarn_install
470-
471- # Copy the release packages into the node modules so that ngcc can process them.
472- - run : cp -R dist/releases/* node_modules/@angular/
473- # Delete existing ngcc manifests that would prevent the copied packages
474- # from being discovered.
475- - run : rm -f node_modules/__ngcc_entry_points__.json
476- # Ensure that the job fails if an entry-point cannot be compiled. Also disable
477- # tsconfig parsing as that causes the release packages to be incorrectly resolved
478- # to the sources due to path mapping.
479- - run : yarn ngcc --error-on-failed-entry-point --no-tsconfig
480- - *slack_notify_on_failure
481-
482- # -----------------------------------------------------------------
483- # Job that ensures that the release output is compatible with the
484- # latest snapshot ngcc changes.
485- # -----------------------------------------------------------------
486- ngcc_compatibility_snapshot :
487- << : *job_defaults
488- resource_class : xlarge
489- steps :
490- - checkout_and_rebase
491- - *restore_cache
492- - *attach_release_output
493- - *setup_snapshot_builds
494- - *yarn_install_loose_lockfile
495-
496- # Copy the release packages into the node modules so that ngcc can process them.
497- - run : cp -R dist/releases/* node_modules/@angular/
498- # Delete existing ngcc manifests that would prevent the copied packages
499- # from being discovered.
500- - run : rm -f node_modules/__ngcc_entry_points__.json
501- # Ensure that the job fails if an entry-point cannot be compiled. Also disable
502- # tsconfig parsing as that causes the release packages to be incorrectly resolved
503- # to the sources due to path mapping.
504- - run : yarn ngcc --error-on-failed-entry-point --no-tsconfig
505- - *slack_notify_on_failure
506-
507437 # ----------------------------------------------------------------------------
508438 # Job that runs the local browser tests against the Angular Github snapshots
509439 # ----------------------------------------------------------------------------
@@ -525,48 +455,6 @@ jobs:
525455 - run : bazel test --build_tag_filters=-e2e --test_tag_filters=-e2e --build_tests_only -- src/...
526456 - *slack_notify_on_failure
527457
528- # ----------------------------------------------------------------------------
529- # Job that runs all Bazel tests against View Engine with the current Angular version
530- # specified in the project dev dependencies.
531- # ----------------------------------------------------------------------------
532- view_engine_test :
533- << : *job_defaults
534- resource_class : xlarge
535- environment :
536- GCP_DECRYPT_TOKEN : *gcp_decrypt_token
537- steps :
538- - checkout_and_rebase
539- - *restore_cache
540- - *setup_bazel_ci_config
541- - *setup_bazel_remote_execution
542- - *yarn_install
543- - *setup_bazel_binary
544-
545- # Run project tests with NGC and View Engine.
546- - run : bazel test --build_tag_filters=-docs-package,-e2e --test_tag_filters=-e2e --config=view-engine --build_tests_only -- src/...
547- - *slack_notify_on_failure
548-
549- # ----------------------------------------------------------------------------
550- # Job that runs all Bazel tests against View Engine from angular/angular#master.
551- # ----------------------------------------------------------------------------
552- view_engine_snapshot_test_cronjob :
553- << : *job_defaults
554- resource_class : xlarge
555- environment :
556- GCP_DECRYPT_TOKEN : *gcp_decrypt_token
557- steps :
558- - checkout_and_rebase
559- - *restore_cache
560- - *setup_bazel_ci_config
561- - *setup_bazel_remote_execution
562- - *setup_snapshot_builds
563- - *yarn_install_loose_lockfile
564- - *setup_bazel_binary
565-
566- # Run project tests with NGC and View Engine.
567- - run : bazel test --build_tag_filters=-docs-package,-e2e --test_tag_filters=-e2e --config=view-engine --build_tests_only -- src/...
568- - *slack_notify_on_failure
569-
570458 # ----------------------------------------------------------------------------
571459 # Job that runs all Bazel integration tests.
572460 # ----------------------------------------------------------------------------
@@ -584,7 +472,6 @@ jobs:
584472 - *setup_bazel_binary
585473
586474 - run : yarn integration-tests:partial-ivy
587- - run : yarn integration-tests:view-engine
588475 # TODO: Re-enable when there are integration tests that should run with Ivy.
589476 # Currently this command fails as there are no tests.
590477 # - run: yarn integration-tests
@@ -654,10 +541,6 @@ workflows:
654541 jobs :
655542 - bazel_build :
656543 filters : *ignore_presubmit_branch_filter
657- - view_engine_build :
658- filters : *ignore_presubmit_branch_filter
659- - view_engine_test :
660- filters : *ignore_presubmit_branch_filter
661544 - api_golden_checks :
662545 filters : *ignore_presubmit_branch_filter
663546 - integration_tests :
@@ -680,14 +563,6 @@ workflows:
680563 - build_release_packages
681564 - lint :
682565 filters : *ignore_presubmit_branch_filter
683- - ngcc_compatibility :
684- filters : *ignore_presubmit_branch_filter
685- requires :
686- - build_release_packages
687- - ngcc_compatibility_snapshot :
688- filters : *only_main_branch_filter
689- requires :
690- - build_release_packages
691566 - publish_snapshots :
692567 filters : *publish_branches_filter
693568 requires :
@@ -702,8 +577,6 @@ workflows:
702577 # workflow. See: https://circleci.com/ideas/?idea=CCI-I-295
703578 - snapshot_tests_local_browsers :
704579 filters : *only_main_branch_filter
705- - view_engine_snapshot_test_cronjob :
706- filters : *only_main_branch_filter
707580 - mdc_snapshot_test_cronjob :
708581 filters : *only_main_branch_filter
709582 - integration_tests_snapshot :
0 commit comments