-
Notifications
You must be signed in to change notification settings - Fork 25.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(docs-infra): increase build artifact size limit (and upgrade preview server to Debian 9) #29976
build(docs-infra): increase build artifact size limit (and upgrade preview server to Debian 9) #29976
Conversation
In angular#29926, the size of the build artifacts has increased due to turning on differential loading (which generates an es2015/es5 pair for each JS resource). To avoid the preview server's rejecting the build artifacts (as in [288181][1]), this commit increases the max allowed artifact size from 20MB to 25MB (current artifact size after angular#29926 is ~22MB). [1]: https://circleci.com/gh/angular/angular/288181
Previously, the preview server docker image was based on Debian 8 (jessie). Recently, `jessie-updates` and `jessie-backborts` were removed from the Debian mirrors ([more info][1]), thus breaking new builds of the image. Instead of updating `/etc/apt/sources.list` to remove the obsolete sources, this commit upgrades to Debian 9 (stretch). (The GCE VM running the preview server docker container was also upgraded from Debian 8 to 9 this morning.) --- Other changes: - Removed dependency on `chkconfig`, which is not supported on Debian 9. - Installing `nginx` from the regular repositories (instead of `*-backports). - Upgraded to `pm2` v3, which can handle hooking itself up to system startup better (without `chkconfig` - see above). - Updated tests to reflect the fact that `nginx` has dropped the reason phrase in response status lines for HTTP/2 (in compliance with [the spec][2]). (HTTP/1.1: `HTTP/1.1 200 OK` | HTTP/2: `HTTP/2 200`) [1]: https://www.lucas-nussbaum.net/blog/?p=947 [2]: https://http2.github.io/http2-spec/#rfc.section.8.1.2.4
…er docker image This minimises the risk of unexpected failures due to breaking changes, when building a new image (e.g. as a result of an unrelated config change in Dockerfile).
|
You can preview a0fdb8b at https://pr29976-a0fdb8b.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust that you have tested this :-)
It works on my machine 😁 |
…29976) Previously, the preview server docker image was based on Debian 8 (jessie). Recently, `jessie-updates` and `jessie-backborts` were removed from the Debian mirrors ([more info][1]), thus breaking new builds of the image. Instead of updating `/etc/apt/sources.list` to remove the obsolete sources, this commit upgrades to Debian 9 (stretch). (The GCE VM running the preview server docker container was also upgraded from Debian 8 to 9 this morning.) --- Other changes: - Removed dependency on `chkconfig`, which is not supported on Debian 9. - Installing `nginx` from the regular repositories (instead of `*-backports). - Upgraded to `pm2` v3, which can handle hooking itself up to system startup better (without `chkconfig` - see above). - Updated tests to reflect the fact that `nginx` has dropped the reason phrase in response status lines for HTTP/2 (in compliance with [the spec][2]). (HTTP/1.1: `HTTP/1.1 200 OK` | HTTP/2: `HTTP/2 200`) [1]: https://www.lucas-nussbaum.net/blog/?p=947 [2]: https://http2.github.io/http2-spec/#rfc.section.8.1.2.4 PR Close #29976
…ver (#29976) In #29926, the size of the build artifacts has increased due to turning on differential loading (which generates an es2015/es5 pair for each JS resource). To avoid the preview server's rejecting the build artifacts (as in [288181][1]), this commit increases the max allowed artifact size from 20MB to 25MB (current artifact size after #29926 is ~22MB). [1]: https://circleci.com/gh/angular/angular/288181 PR Close #29976
…29976) Previously, the preview server docker image was based on Debian 8 (jessie). Recently, `jessie-updates` and `jessie-backborts` were removed from the Debian mirrors ([more info][1]), thus breaking new builds of the image. Instead of updating `/etc/apt/sources.list` to remove the obsolete sources, this commit upgrades to Debian 9 (stretch). (The GCE VM running the preview server docker container was also upgraded from Debian 8 to 9 this morning.) --- Other changes: - Removed dependency on `chkconfig`, which is not supported on Debian 9. - Installing `nginx` from the regular repositories (instead of `*-backports). - Upgraded to `pm2` v3, which can handle hooking itself up to system startup better (without `chkconfig` - see above). - Updated tests to reflect the fact that `nginx` has dropped the reason phrase in response status lines for HTTP/2 (in compliance with [the spec][2]). (HTTP/1.1: `HTTP/1.1 200 OK` | HTTP/2: `HTTP/2 200`) [1]: https://www.lucas-nussbaum.net/blog/?p=947 [2]: https://http2.github.io/http2-spec/#rfc.section.8.1.2.4 PR Close #29976
…ver (angular#29976) In angular#29926, the size of the build artifacts has increased due to turning on differential loading (which generates an es2015/es5 pair for each JS resource). To avoid the preview server's rejecting the build artifacts (as in [288181][1]), this commit increases the max allowed artifact size from 20MB to 25MB (current artifact size after angular#29926 is ~22MB). [1]: https://circleci.com/gh/angular/angular/288181 PR Close angular#29976
…ngular#29976) Previously, the preview server docker image was based on Debian 8 (jessie). Recently, `jessie-updates` and `jessie-backborts` were removed from the Debian mirrors ([more info][1]), thus breaking new builds of the image. Instead of updating `/etc/apt/sources.list` to remove the obsolete sources, this commit upgrades to Debian 9 (stretch). (The GCE VM running the preview server docker container was also upgraded from Debian 8 to 9 this morning.) --- Other changes: - Removed dependency on `chkconfig`, which is not supported on Debian 9. - Installing `nginx` from the regular repositories (instead of `*-backports). - Upgraded to `pm2` v3, which can handle hooking itself up to system startup better (without `chkconfig` - see above). - Updated tests to reflect the fact that `nginx` has dropped the reason phrase in response status lines for HTTP/2 (in compliance with [the spec][2]). (HTTP/1.1: `HTTP/1.1 200 OK` | HTTP/2: `HTTP/2 200`) [1]: https://www.lucas-nussbaum.net/blog/?p=947 [2]: https://http2.github.io/http2-spec/#rfc.section.8.1.2.4 PR Close angular#29976
…er docker image (angular#29976) This minimises the risk of unexpected failures due to breaking changes, when building a new image (e.g. as a result of an unrelated config change in Dockerfile). PR Close angular#29976
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This PR basically does 3 things (see individual commit messages for more details):