Igor Minar
cb71b93351
ci: use yarn test-ivy-... ( #26735 )
...
This means that we use the same command to run test on CI as when developing locally.
PR Close #26735
2018-10-26 14:48:05 -04:00
Igor Minar
4b51d31aea
build: fix symbol-extractor by passing through "compile" as environmental variable ( #26735 )
...
PR Close #26735
2018-10-26 14:48:05 -04:00
Igor Minar
40bbfbf961
test(ivy): fix or disable failing ivy tests ( #26735 )
...
These tests were previously not running on CI so they have always been broken,
or got broken just recently :-(.
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags
PR Close #26735
2018-10-26 14:48:05 -04:00
Igor Minar
30f319a11f
build: remove ivy build/test tag hackery now that we can ( #26735 )
...
With https://github.com/bazelbuild/rules_nodejs/pull/388 fixed we can stop messing around
with tags and just rely on the explicitly defined tags.
PR Close #26735
2018-10-26 14:48:04 -04:00
Olivier Combe
5d7ba57dd5
docs: rename ivy compile mode 'local' to 'aot' in BAZEL.md ( #26735 )
...
PR Close #26735
2018-10-26 14:48:04 -04:00
George Kalpakas
9cd8327051
ci: move CircleCI env variables definition to shell script ( #26596 )
...
PR Close #26596
2018-10-26 13:22:52 -04:00
George Kalpakas
1d8f939c96
ci: add more info on how CircleCI env vars are defined ( #26596 )
...
PR Close #26596
2018-10-26 13:22:52 -04:00
George Kalpakas
2e28d9f012
ci: run Xvfb in the background on CircleCI ( #26596 )
...
PR Close #26596
2018-10-26 13:22:52 -04:00
Pete Bacon Darwin
7c730fe5b3
build(docs-infra): include inherited members in search index ( #26676 )
...
Closes #23800
PR Close #26676
2018-10-26 13:16:33 -04:00
Pete Bacon Darwin
f233131974
build(docs-infra): refactor generateKeywords processor ( #26676 )
...
PR Close #26676
2018-10-26 13:16:32 -04:00
Pete Bacon Darwin
aefa06f7df
docs(core): update security guide sanitize example ( #26777 )
...
The sanitizer now removes the content of script tags as well as the tag itself.
PR Close #26777
2018-10-26 12:31:49 -04:00
Pete Bacon Darwin
d878f3df93
test(core): fix security example e2e test ( #26777 )
...
The changes in d5cbcef0ea
caused this test to fail.
PR Close #26777
2018-10-26 12:31:49 -04:00
George Kalpakas
f8741c0985
ci(docs-infra): split `test_and_deploy_aio` to two separate jobs ( #26746 )
...
By splitting the jobs, if something goes wrong with deploying (e.g. a
network issue), we can re-run just that part instead of having to wait
for all the tests to complete again.
In terms of total duration, the difference should be minimal, because
the two operations (testing and deploying) do not depend on shared
tasks. For example, we need to build again (for the specific target
environment; e.g. stable, next, etc.) before deploying anyway.
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
5e2ce9b2a6
build: clean up `*.gz` files created by `payload-size.sh` ( #26746 )
...
These files are not needed once the size has been calculated and there
is no point in keeping them around.
Deleting them prevents, for example, uploading unnecessary files from
`aio/dist/` to Firebase (because `deploy-to-firebase.sh` runs the
payload size checks right before deploying).
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
d725ab5142
ci(docs-infra): reduce verbosity of `yarn build` on CI ( #26746 )
...
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
f1a860fbf7
ci(docs-infra): fix deployment to Firebase ( #26746 )
...
Previously, `firebase-tools@3.x` was used and the deployment from
CircleCI failed with `Unexpected error` (HTTP code: 410).
This commit ensures that we use a recent version of `firebase-tools` for
deploying to Firebase. It also ensures that we use the locally installed
`firebase-tools` (not sure where it came from before 😁 ).
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
141f9b2386
build(docs-infra): upgrade cli command docs sources to 4faa81e25 ( #26741 )
...
PR Close #26741
2018-10-25 21:10:21 -04:00
Miško Hevery
95f852e856
build: fix comment formatting to make closure happy ( #26769 )
...
PR Close #26769
2018-10-25 19:40:36 -04:00
Kara Erickson
2c7386c961
feat(ivy): support injecting the injector ( #26699 )
...
PR Close #26699
2018-10-25 18:47:56 -04:00
Shino Kurian
d5cbcef0ea
fix(core): ignore comment nodes under unsafe elements ( #25879 )
...
Comment nodes that are child nodes of unsafe elements are identified as text nodes. This results in the comment node being returned as an encoded string.
Add a check to ignore such comment nodes.
PR Close #25879
2018-10-25 11:20:19 -07:00
Marc Laval
b0476f308b
feat(ivy): support providers and viewProviders ( #25803 )
...
PR Close #25803
2018-10-25 12:58:40 -04:00
Matias Niemelä
9dc52d9d04
feat(ivy): expose a series of debug console tools ( #26705 )
...
PR Close #26705
2018-10-24 20:30:51 -04:00
Matias Niemelä
297dc2bc02
fix(ivy): ensure `ngClass` works with [class] bindings ( #26559 )
...
PR Close #26559
2018-10-24 20:27:12 -04:00
George Kalpakas
0cc9842bf6
test(upgrade): make e2e tests for upgrade docs examples less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
54ea10288e
test(elements): make e2e tests for elements docs examples even less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
1880c9531f
ci: only publish builds if relevant `aio` jobs pass ( #26722 )
...
Some of the `aio`-/`docs`-related jobs rely on the locally built Angular
packages. When these jobs fail, it could mean that there is an issue
with the Angular packages (e.g. an unintentional breaking change).
This commit ensures that the `publish_artifacts` job is not run, unless
those `aio`-/`docs`-related jobs pass.
(The `test_aio_tools` job also uses the locally built Angular packages,
but it does not exercise them in a meaningful way to be worth making it
a prerequisite for `publish_artifacts`.)
PR Close #26722
2018-10-24 19:48:41 -04:00
Pete Bacon Darwin
13a803d4f7
build(docs-infra): fix parameter type rendering ( #26688 )
...
Closes #24355
PR Close #26688
2018-10-24 19:48:10 -04:00
Matias Niemelä
f6c2db818e
fix(ivy): ensure styling pipes are allocated before used in bindings ( #26593 )
...
PR Close #26593
2018-10-24 18:42:59 -04:00
Alex Rickabaugh
67789f10ef
release: cut the v7.1.0-beta.0 release
2018-10-24 14:47:20 -07:00
Alex Rickabaugh
b83f1300bd
docs: release notes for the v7.0.1 release
2018-10-24 14:42:37 -07:00
George Kalpakas
6e16a17015
ci(docs-infra): fix deployment script ( #26731 )
...
PR Close #26731
2018-10-24 13:20:53 -07:00
Alex Rickabaugh
d744dd70e0
build: downgrade yarn.lock file to bazel generated version
2018-10-24 12:58:02 -07:00
Greg Magolan
4e91ead40b
style: format ( #26708 )
...
PR Close #26708
2018-10-24 12:13:46 -07:00
Greg Magolan
7f39f37003
fix(bazel): support --nolegacy_external_runfiles in protractor rule ( #26708 )
...
PR Close #26708
2018-10-24 12:13:46 -07:00
Alex Rickabaugh
bf9ab53f12
build(ivy): fix typo in build file
2018-10-24 10:07:49 -07:00
Alex Rickabaugh
d99f661af7
build(ivy): properly tag the js_expected_symbol_test rules
...
Previously the rules were tagged ivy-only, but missing the ivy-aot tag
which would cause them to run under CI.
2018-10-24 10:04:06 -07:00
Alex Rickabaugh
5d58a31d86
fix(ivy): rename broken reflect_metadata switch file
...
This file was missed during the rename of the --define=compile
flag value from 'local' to 'aot. It's referenced as
reflect_metadata_${compile}.
2018-10-24 09:53:10 -07:00
Igor Minar
07b89902d5
ci: don't publish ivy build artifacts on a non-master branch
2018-10-23 15:31:55 -07:00
George Kalpakas
ce6948fc1b
ci(docs-infra): remove jobs from Travis config ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
38d626a3fa
ci(docs-infra): move deployment to CircleCI ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
9b8a244a15
ci: fix `payload-size.sh` ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
1bbf28ad19
ci(docs-infra): add jobs to CircleCI config ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
3b24e0edb6
build: use CI-provider independent variable names ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
b647608c96
test(elements): make e2e tests for elements docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
31c462ae3f
test(animations): make e2e tests for animations docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
da39fd70d2
test(docs-infra): improve logging output in `test-pwa-score[-localhost]` ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Igor Minar
e0d6782d26
build: add test-ivy-jit, test-fixme-ivy-jit, test-ivy-aot and test-fixme-ivy-aot yarn scripts ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Alex Eagle
2f9e957523
ci: re-encrypt .circleci/github_token ( #26698 )
...
PR Close #26698
2018-10-23 13:31:48 -07:00
Alex Rickabaugh
38dbae9ca0
build: fix BUILD file formatting
2018-10-23 12:29:26 -07:00