angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup
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
..
constants.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
delete-empty.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
helper.ts build(docs-infra): upgrade preview server docker image to Debian 9 (#29976) 2019-04-23 08:33:27 -07:00
index.ts ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
jasmine-custom-matchers-types.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
jasmine-custom-matchers.ts ci(docs-infra): add explicit return types to methods 2018-08-16 10:26:13 +01:00
mock-external-apis.ts fix(docs-infra): use correct parameters for paginated requests to GitHub (#25671) 2018-09-26 15:26:19 -07:00
nginx.e2e.ts build(docs-infra): upgrade preview server docker image to Debian 9 (#29976) 2019-04-23 08:33:27 -07:00
preview-server.e2e.ts feat(docs-infra): add API endpoint for checking if PR can have preview (#25671) 2018-09-26 15:26:19 -07:00
server-integration.e2e.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
start-test-preview-server.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
tar-stream.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00