angular-cn/aio/aio-builds-setup/dockerbuild
Georgios Kalpakas d263595c63 ci(aio): do not fail when re-deploying preview for the same PR/SHA
Previously, when trying to upload the build artifacts for a PR/SHA that was
already successfully deployed (e.g. when re-running a Travis job), the preview
server would return a 403 and the build would fail.

Since we have other mechanisms to verify that the PR author is trusted and the
artifacts do indeed come from the specified PR and since the new artifacts
should be the same with the already deployed ones (same SHA), there is no reason
to fail the build. The preview server will reject the request with a special
HTTP status code (409 - Conflict), which the `deploy-preview` script will
recognize and exit with 0.
2017-04-13 11:26:21 +01:00
..
cronjobs ci(aio): fix clean-up script on `ngbuilds.io` 2017-03-13 10:30:49 -07:00
dnsmasq ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
nginx revert: build(aio): implement prerendering (#15346) 2017-03-21 19:05:36 -05:00
scripts-js ci(aio): do not fail when re-deploying preview for the same PR/SHA 2017-04-13 11:26:21 +01:00
scripts-sh ci(aio): fix clean-up script on `ngbuilds.io` 2017-03-13 10:30:49 -07:00
.dockerignore ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
Dockerfile ci(aio): whitelist 'aio-contributors' for deploying PR previews 2017-03-15 16:11:29 -07:00