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
image-config--environment-variables.md
misc--debug-docker-container.md
misc--integrate-with-ci.md
overview--general.md
overview--http-status-codes.md
overview--scripts-and-commands.md
overview--security-model.md
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
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
vm-setup--start-docker-container.md
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