angular/scripts/ci
Paul Gschwendtner 1177b4e2f8 ci: make payload size tracking script work with CircleCI and Bazel limitation (#45444)
For quite some time now, since we started to use Bazel for integration tests, we
relied on some size tracking logic that did not actually fully work under Bazel.

It was thought that all the necessary CI push/PR information is available to the
Bazel test, but that was not the case. This was now fixed with the recent Rules NodeJS
v5 update where I made sure the `env.sh` variables are actually available before we
write them to the temporary file for the Bazel-access.

This now will unveil an issue because payload size goldens would start being based
on their branch name. e.g. the golden key in `13.3.x` should not be `master` but
`13.3.x`. This makes more sense than `master` as key, but makes things more
cumbersome and ideally we would not store the branch name at all (this is a larger
change though -- not worth now since we might refactor this anyway). For now we will
update the size tracking logic to always use `master` as golden key (like it worked
in the past year(s))

With the environment fix we now (again) start uploading payload size results to Firebase.
This did not work by accident either. The uploading logic is reliant on the CircleCI
commit range which is not working/reliable in upstream branches. This commit
removes this reliance on `COMMIT_RANGE` since it's not strictly necessary and
currently breaking renovate PRs. We can re-enable this when we have a solution with
CircleCI, or a workaround/resolution logic provided in e.g. `ng-dev ci determine-commit-range`.

PR Close #45444
2022-03-25 14:25:03 -07:00
..
clone_angular_components_repo.sh ci: rename material-unit-tests job to components-repo-unit-tests (#34898) 2020-01-23 13:29:02 -08:00
create-package-archives.sh ci: use more descriptive names for published build artifacts (#33957) 2019-11-22 14:05:52 -05:00
payload-size.js ci: make payload size tracking script work with CircleCI and Bazel limitation (#45444) 2022-03-25 14:25:03 -07:00
payload-size.sh ci: make payload size tracking script work with CircleCI and Bazel limitation (#45444) 2022-03-25 14:25:03 -07:00
publish-build-artifacts.sh build: update build scripts to no longer build View Engine output (#43431) 2021-10-01 18:28:42 +00:00
run_angular_components_unit_tests.sh ci: only build test targets for components repo unit test job (#44832) 2022-01-27 09:22:23 -08:00
track-payload-size.sh build: remove legacy integration test runner (#35985) 2020-03-11 15:12:33 -07:00
update-framework-deps-to-dist-packages.js ci: components CI test should use local zone.js build (#45277) 2022-03-07 11:34:58 -08:00