angular-docs-cn/aio/aio-builds-setup/dockerbuild/scripts-js
George Kalpakas 2f1a862b83 build(docs-infra): upgrade preview server docker image to Debian 9 (#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
2019-04-23 08:33:27 -07:00
..
lib build(docs-infra): upgrade preview server docker image to Debian 9 (#29976) 2019-04-23 08:33:27 -07:00
test fix(docs-infra): use correct parameters for paginated requests to GitHub (#25671) 2018-09-26 15:26:19 -07:00
.gitignore build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
package.json build(docs-infra): upgrade `npm-run-all` to latest version for security (#27274) 2018-11-26 12:20:48 -08:00
tsconfig.json build(aio): upgrade all preview server dependencies 2017-09-25 12:01:22 -07:00
tslint.json build(aio): upgrade all preview server dependencies 2017-09-25 12:01:22 -07:00
yarn.lock build(docs-infra): upgrade `npm-run-all` to latest version for security (#27274) 2018-11-26 12:20:48 -08:00