angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/upload-server
Georgios Kalpakas 8ae0eec230 feat(aio): enable previews for any PR
This commit introduces the ability to show previews for PRs by any author. It works as follows:

- The build artifacts of all PRs are uploaded to the preview server.
- Automatically verified PRs (i.e. from trusted authors or having a specific label) are deployed and
  publicly accessible as usual.
- PRs that could not be automatically verified are stored for later use (after re-verification).
- A PR can be marked as "trusted" and make its preview publicly accessible by adding the GitHub
  label specified in the `AIO_TRUSTED_PR_LABEL` env var of the preview server.

At the moment, there is no automatic mechanism for notifying the preview server about changes to the
PR's verification status. The PR's "visibility" will be checked and updated every time a new build
is uploaded.
2017-06-23 11:54:20 -07:00
..
build-creator.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
build-events.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
build-verifier.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
index-preverify-pr.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
index-test.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
index.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
upload-error.ts ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
upload-server-factory.ts feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00