build(docs-infra): increase build artifact size limit (and upgrade preview server to Debian 9)#29976
Closed
gkalpak wants to merge 3 commits intoangular:masterfrom
Closed
build(docs-infra): increase build artifact size limit (and upgrade preview server to Debian 9)#29976gkalpak wants to merge 3 commits intoangular:masterfrom
gkalpak wants to merge 3 commits intoangular:masterfrom
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/. |
petebacondarwin
approved these changes
Apr 23, 2019
Contributor
petebacondarwin
left a comment
There was a problem hiding this comment.
I trust that you have tested this :-)
Member
Author
|
It works on my machine 😁 |
benlesh
pushed a commit
that referenced
this pull request
Apr 23, 2019
…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
benlesh
pushed a commit
that referenced
this pull request
Apr 23, 2019
…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
benlesh
pushed a commit
that referenced
this pull request
Apr 23, 2019
…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
BioPhoton
pushed a commit
to BioPhoton/angular
that referenced
this pull request
May 21, 2019
…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
BioPhoton
pushed a commit
to BioPhoton/angular
that referenced
this pull request
May 21, 2019
…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
BioPhoton
pushed a commit
to BioPhoton/angular
that referenced
this pull request
May 21, 2019
…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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR basically does 3 things (see individual commit messages for more details):