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
Georgios Kalpakas
0c5f893f6e
test(aio): improve test description and expectations
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
17f5f3b32c
ci(aio): fix clean-up script on `ngbuilds.io`
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
cbde75e77b
feat(aio): redirect HTTP to HTTPS
2017-03-13 10:30:49 -07:00
George Kalpakas
fa1920a02b
feat(aio): enable deep-linking on deployed apps (until prerendering is done) ( #15049 )
2017-03-13 09:35:16 -07:00
Georgios Kalpakas
174d4c8ef7
ci(aio): do not deploy PR if preconditions not met
...
This avoids incorrectly failing the build if the PR author is not a member of one of the whitelisted GitHub teams.
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
4210d2b4b1
test(aio): fix e2e tests
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
03a5fd01c9
fix(aio): do not hardcode the domain in preview link comments
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
2796790c7d
feat(aio): verify uploaded builds based on JWT from Travis
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
3ed1f64d43
feat(aio): implement `BuildVerifier`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
96f11dad18
feat(aio): implement `GithubTeams`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
060d02eb82
fix(aio): remove unnecessary `repoSlug` parameter from `GithubApi`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
951e653b0c
feat(aio): implement `GithubApi.getPaginated()`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
37348989f0
feat(aio): make `githubToken` mandatory for `GithubApi`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c5644e5a0d
refactor(aio): add `assertNotMissingOrEmpty()` helper
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c8d87a936b
feat(aio): add support for HTTPS (certificates provided by host - fallback to self-signed)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
6b8413f7b3
build(aio): update TypeScript (and other dependencies)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
9df9bdc0f5
style(aio): correctly type tuple
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c8ead9bcd0
refactor(aio): use types intead of interfaces for functions
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
115164033b
ci(aio): add initial implementation for aio-builds setup
2017-03-07 18:24:45 -08:00