Peter Bacon Darwin
4038b42396
build(aio): lock zone.js to 0.8.16 ( #19702 )
...
Later versions (before 0.8.19) had a size increase.
PR Close #19702
2017-11-01 15:24:46 -07:00
Peter Bacon Darwin
e9afc59a81
ci(aio): increase payload size limit for polyfills.ts ( #19702 )
...
The latest builds have added ~2kB to the size of this file (500 bytes zipped).
PR Close #19702
2017-11-01 15:24:46 -07:00
Peter Bacon Darwin
11fd7eaf63
build(aio): revert temporary increase in size limit ( #19702 )
...
PR Close #19702
2017-11-01 15:24:45 -07:00
Igor Minar
9d52bf27de
build(aio): temporarily increaze the size limit until the regressions are fixed ( #19702 )
...
related issues:
https://github.com/angular/angular/issues/19857
https://github.com/angular/devkit/pull/231
PR Close #19702
2017-11-01 15:24:44 -07:00
Filipe Silva
820bb7bd8c
revert: ci: use chrome stable ( #18307 )
...
This reverts commit 8bcb268140c1ec64093761de57200501ee65df61.
2017-10-20 09:38:59 -07:00
Peter Bacon Darwin
97969a85cd
ci(aio): raise payload limit to accommodate the new search feature ( #19682 )
...
PR Close #19682
2017-10-13 09:18:42 -07:00
George Kalpakas
ffceae0a01
refactor(aio): remove unnecessary --
from yarn commands
2017-09-25 14:37:13 -07:00
Yuan Gao
77a8492405
fix(aio): Fix deploy to firebase script: should use < for string operations ( #19005 )
...
PR Close #19005
2017-09-01 16:30:31 -05:00
Yuan Gao
92dbaf397b
ci(aio): Fix deploy to firebase scripts. ( #18910 )
...
PR Close #18910
2017-08-28 14:53:11 -05:00
Misko Hevery
3d2ee6c3fe
build: fix build; missing firebase-tools
2017-08-25 08:17:13 -07:00
Yuan Gao
4eb1f91bee
ci(aio): Refactored payload size script, add script to track payload ( #18517 )
...
PR Close #18517
2017-08-18 22:27:38 -05:00
Georgios Kalpakas
3efd4a15d6
build(aio): upgrade zone.js
to 0.8.16
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.a1b446562b36eebb766d.bundle.js
523703 dist/main.19fec4390ff7837ee6ef.bundle.js
37402 (+ 3088) dist/polyfills.9f7e0e53bce2a6c8326e.bundle.js
54001 dist/worker-basic.min.js
631583 (+ 3088) total
```
2017-08-15 15:13:47 -07:00
Georgios Kalpakas
96b57bfcc1
build(aio): upgrade @angular/*
to 5.0.0-beta.3
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.7813f9128903f164bc00.bundle.js
523703 (-18484) dist/main.19fec4390ff7837ee6ef.bundle.js
34314 dist/polyfills.9b05df3b6c9270ebf575.bundle.js
54001 dist/worker-basic.min.js
628495 (-18484) total
```
2017-08-15 15:13:47 -07:00
Kara Erickson
088532bf2e
perf(aio): update to new version of build-optimizer
2017-08-11 13:23:33 -07:00
Georgios Kalpakas
06faac8b5c
fix(aio): skip PWA test when redeploying non-public commit
2017-08-10 15:59:00 -07:00
Georgios Kalpakas
b14250bef9
test(aio): fix the deploy-to-firebase
tests
...
This commit also ensures that if the tests fail, the script exits with an error.
2017-08-09 14:18:33 -07:00
George Kalpakas
1e1833198d
ci(aio): fix deploying to firebase ( #18590 )
2017-08-08 13:59:25 -07:00
Peter Bacon Darwin
10897d6473
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".
Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
Peter Bacon Darwin
0714139e37
ci(aio): include extra files in AIO deployment based on mode
...
Any files that are inside the `extra-files/{mode}` folder
will be copied over to the `dist` folder before deployment
to Firebase.
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
bcb36d9b6d
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
Otherwise if the branch is the highest of its minor versions
we deploy as "stable" if the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` or
else "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
2017-08-04 09:13:34 -07:00
tinayuangao
1635a06bda
ci(aio): Add commit message to payload data ( #18137 )
2017-08-02 15:59:20 -07:00
Filipe Silva
8bcb268140
ci: use chrome stable ( #18307 )
2017-07-25 11:18:24 -07:00
Yuan Gao
15a3e2d307
ci(aio): fix aio payload script
2017-07-20 15:32:32 -07:00
Alex Rickabaugh
97e6901ded
Revert "revert: revert: ci(aio): exclude changes in aio/content folder"
...
This reverts commit 3d85f72652afb84ef8f99dba282c5ea05e93d386.
Still causing repeated flakes on master.
2017-07-14 14:54:31 -07:00
Igor Minar
7955cacec4
build(aio): turn on debugging of the payload.sh script to debug ci failures
2017-07-13 22:50:05 -07:00
Igor Minar
3d85f72652
revert: revert: ci(aio): exclude changes in aio/content folder
...
This reverts commit 72143e80daa86290455bdcf0da27132cdab4b84f.
it seems that the previous build failure was a travis flake.
reverting the revert...
2017-07-13 16:22:57 -07:00
Igor Minar
72143e80da
revert: ci(aio): exclude changes in aio/content folder
...
This reverts commit 1bf7ba87a0275022877bc87e9a1615327726d25c.
The commit caused master builds to fail with:
```
$ scripts/payload.sh
error Command failed with exit code 1.
error Command failed with exit code 1.
```
https://travis-ci.org/angular/angular/jobs/253405260#L1024
2017-07-13 15:32:44 -07:00
Yuan Gao
1bf7ba87a0
ci(aio): exclude changes in aio/content folder
2017-07-13 15:13:37 -07:00
George Kalpakas
9dd550fa1e
ci(aio): only deploy latest commits to staging/production ( #17988 )
...
Fixes #17941
2017-07-07 16:35:07 -07:00
Filipe Silva
abbac4bc69
feat(aio): use new ngo ( #17977 )
2017-07-07 16:34:47 -07:00
Peter Bacon Darwin
71ee0c5b03
ci(aio): raise polyfill payload limits
2017-07-06 14:46:53 +01:00
Yuan Gao
9263da570f
ci(aio): Fix the payload script only check for changes in aio/scripts
2017-07-03 10:40:19 +01:00
Georgios Kalpakas
fa34ed8bf3
ci(aio): use valid database path for Firebase payload size upload
...
Firebase does not allow `.` in the path, so when trying to upload payload size
data for branches like `4.2.x`, the following error is thrown:
```
HTTP Error: 400, Invalid path: Invalid token in path
```
This commit fixes it by replacing `.` with `_` in branch names.
2017-07-03 08:19:59 +01:00
Georgios Kalpakas
d5dc53ead8
ci(aio): avoid printing too large PWA report (and restore print-logs.sh
)
...
There have been some issues lately with Travis jobs failing due to
`print-log.sh`. This is likely due to trying to print the Lighthouse PWA report,
which is too large.
This commit stops printing that report (since it was rarely used and is pretty
easy to acquire when needed) and restores the `print-logs.sh` script (that was
temporarily removed with dfcca66fd).
2017-07-01 14:40:36 +01:00
Georgios Kalpakas
01d4eae984
ci(aio): use correct URL for preview in PWA score test
...
In 4268c8289, the preview URLs were changed to not use the whole SHA, but just
the 7 first characters.
2017-06-30 13:02:28 +01:00
Yuan Gao
d6265dfcbe
ci(aio): Change the firebase token
2017-06-23 11:55:20 -07:00
Yuan Gao
d51f86291f
ci(aio): address comments
2017-06-23 11:55:20 -07:00
Yuan Gao
97ace57d39
ci(aio): fix test
2017-06-23 11:55:20 -07:00
Yuan Gao
86949e0c20
ci(aio): remove umd
2017-06-23 11:55:20 -07:00
Yuan Gao
6924780ae9
ci(aio): debug
2017-06-23 11:55:20 -07:00
Yuan Gao
1b0b69eeec
ci(aio): add back deploy-preview
2017-06-23 11:55:20 -07:00
Yuan Gao
fa85389f62
ci(aio): updated limits
2017-06-23 11:55:20 -07:00
Yuan Gao
2e55857c82
ci(aio): rename limits file and address comments
2017-06-23 11:55:20 -07:00
Yuan Gao
ca970f5ee5
ci(aio): Also track umd.min.js file size
2017-06-23 11:55:20 -07:00
Yuan Gao
204a2cf942
ci(aio): Add payload size limit file
2017-06-23 11:55:20 -07:00
Yuan Gao
0440251919
ci(aio): upload aio payload size to firebase
...
ci(aio): Add timestamp and change data
2017-06-23 11:55:20 -07:00
Georgios Kalpakas
808bd4af41
ci(aio): deploy previews for all PRs
...
PRs that could not be automatically verified will not be publicly accessible,
until manually verified.
2017-06-23 11:54:20 -07:00
Georgios Kalpakas
ce00fa3627
build(aio): do not fail if check-env
for the main angular project fails
...
Fixes #17434
2017-06-16 07:51:18 +01:00
Georgios Kalpakas
f73a4c229c
build(aio): upgrade lighthouse to v2.1
2017-06-14 09:36:54 -07:00
Georgios Kalpakas
d378a29565
ci(aio): fail the build if the PWA score is too low
...
Previously, there was an issue with testing the PWA score on staging and failing
the build was temporarily disabled. It works now, so we need to enable failing
the build is the score drops below some threshold.
2017-06-14 09:36:37 -07:00