angular-docs-cn/aio/aio-builds-setup/docs
George Kalpakas 2d065a32ec docs(docs-infra): improve docs on creating/updating the preview server Docker image (#37015)
This commit includes the following improvements:

- Document that the `create-image.sh` script (and by extention the
  `update-preview-server.sh` script) need to have access to a `yarn`
  executable.

- Add a note on cron jobs running in non-interactive, non-login shells
  (which affects their execution context and have different behavior vs
  running the same commands in an interactive, login shell).

- Change the Node.js and `yarn` installation instructions to ensure the
  `yarn` executable will be available on the `PATH` and not require an
  interactive, login shell (as happens, for example, when installing it
  via [nvm](https://github.com/nvm-sh/nvm)). This makes it easier to set
  up a cron job that runs the `update-preview-server.sh` script.

NOTE: The equivalent updates have been made on the GCE VM that hosts the
      PR preview server.

PR Close #37015
2020-05-18 10:24:20 -07:00
..
_TOC.md docs(aio): document preview server HTTP status codes 2017-06-23 11:54:20 -07:00
image-config--environment-variables.md ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
misc--debug-docker-container.md ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
misc--integrate-with-ci.md ci(docs-infra): remove jobs from Travis config (#26377) 2018-10-23 14:35:38 -07:00
overview--general.md docs(docs-infra): update preview server docs to account for recent changes (#25671) 2018-09-26 15:26:19 -07:00
overview--http-status-codes.md docs(docs-infra): update preview server docs to account for recent changes (#25671) 2018-09-26 15:26:19 -07:00
overview--scripts-and-commands.md ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
overview--security-model.md docs(docs-infra): update preview server docs to account for recent changes (#25671) 2018-09-26 15:26:19 -07:00
vm-setup--attach-persistent-disk.md docs(docs-infra): update preview server setup instructions (#36837) 2020-05-05 17:46:46 -07:00
vm-setup--create-docker-image.md docs(docs-infra): improve docs on creating/updating the preview server Docker image (#37015) 2020-05-18 10:24:20 -07:00
vm-setup--create-host-dirs-and-files.md ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
vm-setup--set-up-docker.md docs(docs-infra): update preview server setup instructions (#36837) 2020-05-05 17:46:46 -07:00
vm-setup--set-up-secrets.md docs(docs-infra): update preview server docs to account for recent changes (#25671) 2018-09-26 15:26:19 -07:00
vm-setup--start-docker-container.md ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
vm-setup--update-docker-container.md docs(docs-infra): improve docs on creating/updating the preview server Docker image (#37015) 2020-05-18 10:24:20 -07:00