angular-docs-cn/scripts/ci
George Kalpakas b6dfc8b08c ci: log calculated file sizes for each build (#33099)
The `payload-size.sh` script is mainly used on CI to calculate, check
and potentially save (on non-PR builds) the sizes of the bundles for
various apps (including angular.io). If everything goes well (i.e. the
checks pass, meaning that the sizes did not increase above the specified
threshold) nothing is shown in the CI logs.

In some cases, it is useful to be able to see what the sizes were in a
specific build; e.g. for debugging purposes or when investigating a
gradual increase that happened over time. (Some of this info is
available on https://size.angular.io/, but not all.)

Previously, the only way to find out what the sizes were for a specific
build was to checkout the corresponding commit locally and build the
target app, which in turn requires building all Angular packages and can
take some time. Given that the sizes are already calculated on CI, this
was a waste.

This commit makes it easy to find out the bundle sizes for a specific
build/commit by always printing out the calculated sizes (thus making
them show up in the CI logs).

PR Close #33099
2019-10-15 16:48:29 +00:00
..
clone_angular_material_repo.sh build: lock material unit tests job to specific commit (#31569) 2019-07-25 13:08:33 -07:00
payload-size.js build: error when files specified in payload size limits are missing (#27250) 2018-12-05 13:26:26 -08:00
payload-size.sh ci: log calculated file sizes for each build (#33099) 2019-10-15 16:48:29 +00:00
publish-build-artifacts.sh ci: Add ANGULAR_PACKAGE to snapshot builds (#31900) 2019-08-28 21:25:56 -07:00
run_angular_material_unit_tests.sh ci: update material-unit-test commit (#33073) 2019-10-14 20:25:57 +00:00
update-deps-to-dist-packages.js test(ivy): update Material to recent commit from master branch (#31569) 2019-07-25 13:08:33 -07:00