89 Commits

Author SHA1 Message Date
Charles Lyding
4cd8e9157e ci: reduce resource classes 2020-01-28 10:24:34 -08:00
Alan Agius
3d34996e1f ci: reduce ci time for renovate PRs
Only run running `e2e-cli-ng-snapshots`  and `e2e-cli-ve-ng-snapshots` for non `renovate/angular` and `master` PRs to reduce CI time for renovate PRs.
2020-01-21 11:42:27 -08:00
Alan Agius
7a06f419c7 ci: update ignore_pull_requests to only include release-able branches
Currently certain steps like `e2e-cli-node-10` and `snapshot_publish` are being run for PRs which are created via non forked repos. Such as renovate and users who create PRs directly from github via `Edit file`.

Example of such branch names are;

```
renovate/sass-loader
alan-agius4-testing-branch
```
2020-01-21 08:14:48 -08:00
Alan Agius
49de0a6f09 ci: use branch filtering to run e2e-cli-ng-snapshots and e2e-cli-ng-ve-snapshots
Unlike PRs from users, when renovate opens a PR, the branch name will be in the following format `renovate/typescript-3.7.x` with `CIRCLE_BRANCH` being set to the same value. Also, `CIRCLE_PR_USERNAME` will not be defined in this case. Thus currently these 2 tasks are not being run for PRs which are being open by renovate.

Example of such build: https://circleci.com/gh/angular/angular-cli/129384
2020-01-17 08:47:53 -08:00
Filipe Silva
a9b947c28b ci: use windows-server-2019-vs2019:stable 2019-12-10 10:11:41 -08:00
Alan Agius
039c1bde31 ci: update windows image to avoid using choco 2019-12-09 13:40:21 -08:00
Filipe Silva
9ad2d5de15 ci: run ngcc on flakey tests too 2019-12-02 12:50:14 -08:00
Filipe Silva
9cd09e6523 ci: bump cache key (#16067)
Our yarn cache is now at 4gb:
```
No cache is found for key: angular_devkit-0.11.0-m+RxJhhe6Gc_rzgntffBpEs5LmGYauhWKuRZBYBtlP0=
Found a cache from build 106076 at angular_devkit-0.11.0
Size: 4.0 GB
Cached paths:
  * /home/circleci/.cache/yarn

Downloading cache archive...
Unarchiving cache...
```

By bumping the cache key we'll reset it.
2019-11-07 16:45:02 -08:00
Filipe Silva
3f38e4e57d ci: fix --ve flag on flake jail 2019-11-05 16:40:37 -08:00
Filipe Silva
3af79b90f8 ci: fix missing workspace on e2e-cli-win 2019-09-26 10:02:02 -07:00
Filipe Silva
a64f03baf1 ci: use var to hold workspace location 2019-09-25 09:54:11 -07:00
Filipe Silva
f8f48a4c39 ci: use cache and workspace on windows 2019-09-25 09:54:11 -07:00
Alan Agius
a8b339472f ci: change resource_class for flake jail to medium
This is by default set to xlarge in the test-executor which is not needed for flake-jail.
2019-08-30 22:54:00 +05:30
Alan Agius
605085cc74 test: add selected_spec_large to flake jail 2019-08-30 02:57:44 +05:30
Filipe Silva
60f9b19ecd test: use Ivy by default, opt-in to VE 2019-08-28 22:54:52 +05:30
Joey Perrott
84680d0f93 build: bump yarn requirement to 1.17.3 and ensure all https in yarn lock (#15454) 2019-08-28 00:11:33 -07:00
Filipe Silva
9ffb9bfca6 ci: add e2e-cli-ng-ivy-snapshots job (#15293) 2019-08-12 10:26:45 -07:00
Alan Agius
0111693271 Ivy build_ng_packagr (#15262)
* test: update ng-packagr builder tests to work on Windows

* build: add ng packagr test large for ivy

* test: fix web-worker test in ivy

Previously, we were not testing web workers under Ivy as we were overriding tsconfig.app.json entirely without including enableIvy.

When enabling Ivy we are getting warning of files that are part of the compilation which causing a warning to show and break the test.

* build: update ng-packagr to `^5.4.0`

* test: display ivy mode message once
2019-08-12 10:20:02 -07:00
Filipe Silva
533e4eaf0f ci: add flake jail 2019-08-05 18:00:54 -07:00
Alan
687bc6a0a3 ci: enable snapshot e2e for renovate PRs
snapshots builds are required to be run when the PR is created by renovate. This is because we have renovate jobs that update the snapshots commit SHA and we want to verify that these are green prior to merging them.

Related to: https://github.com/angular/angular-cli/pull/14687
2019-07-29 10:52:40 -07:00
Charles
f83fe22635 test: integrate browser testing for differential loading (#15065) 2019-07-15 09:48:20 -07:00
Charles Lyding
515e67eb14 ci: introduce SauceLabs environment variables 2019-07-11 19:11:39 -07:00
Charles Lyding
38f5eeeebf ci: CircleCI configuration cleanup using 2.1 features 2019-07-11 19:11:39 -07:00
Joey Perrott
5da90e9075 ci: setup RBE on CI 2019-07-10 04:07:42 +08:00
Charles Lyding
76d5e76283 test: ensure Node.js 10 E2E has latest npm version 2019-07-02 12:43:11 -07:00
Charles Lyding
99fa7bd71f test: add initial ivy large test support 2019-07-02 10:04:09 -07:00
Charles Lyding
faa255afcc build: stop code formatting with prettier
Fixes #14939
2019-06-28 11:41:38 -07:00
Charles Lyding
c0eadbe2a8 build: integrate prettier code formatting 2019-06-20 10:58:35 -07:00
Alan Agius
8f3cacaff6 style: remove extra whitespaces for circleci config 2019-06-11 09:56:04 -07:00
Filipe Silva
8792ecd8a0 ci: use matching openssl key digest 2019-06-10 13:42:41 -07:00
Filipe Silva
996c48548d ci: remove missing job 2019-06-06 16:02:17 -07:00
Filipe Silva
cb6e12de02 ci: use yarn instead of npm run 2019-06-06 16:02:17 -07:00
Filipe Silva
2d338a0126 ci: only run node 10 and ng snapshots on master 2019-06-06 16:02:17 -07:00
Filipe Silva
05471cc65f ci: use node-12 as default 2019-06-06 16:02:17 -07:00
Filipe Silva
97970026f1 ci: add circleci windows preview 2019-06-06 16:02:17 -07:00
Filipe Silva
37debd7105 ci: remove duplicate anchor keys in circleci cfg
When updating to Pipelines (https://circleci.com/docs/2.0/build-processing/), duplicate keys cause builds to fail.
2019-05-29 17:16:41 -07:00
Filipe Silva
3a1df538c5 ci: test on node 12 2019-05-09 10:07:10 -07:00
Alan Agius
fd6f07b63d ci: fix e2e snapshots
Without this change the `e2e-cli-ng-snapshots` task fails with an npm error though to the installation of global packages

```
STDERR:
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm WARN @phenomnomnominal/tsquery@3.0.0 requires a peer of typescript@^3 but none is installed. You must install peer dependencies yourself.

npm ERR! path /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!  { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules']
npm ERR!   stack:
npm ERR!    'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules' }
npm ERR!
```
2019-04-23 08:02:21 -07:00
Alex Eagle
a197615549 build: update jasmine_node_test rules to come from npm 2019-04-22 08:38:00 -07:00
Alex Eagle
1d42b2da2a build: skip license check for @bazel packages
need to fix them upstream
2019-04-22 08:38:00 -07:00
Alex Eagle
543cf14c7a build: update to latest bazel 2019-04-22 08:38:00 -07:00
Alex Eagle
1b6602c066 build: use Bazel from npm
Also hook up bazel format/lint
2019-04-22 08:38:00 -07:00
Filipe Silva
27a84a8287 ci: add ivy track for all prs 2019-03-29 14:39:48 -07:00
Alan Agius
cdda1c364f ci: run e2e snapshots for renovate user
When a PR is opened by an upstream user, the username value will be available in `CIRCLE_PR_USERNAME` environment variable and not `CIRCLE_PROJECT_USERNAME`

```
  CIRCLE_PROJECT_REPONAME=angular-cli
  CIRCLE_PROJECT_USERNAME=angular
  CIRCLE_PR_NUMBER=13923
  CIRCLE_PR_REPONAME=angular-cli
  CIRCLE_PR_USERNAME=renovate-bot
```
2019-03-18 08:49:52 -07:00
Alex Eagle
08534c29c9 test: skip snapshot e2e tests except for upstream/master and renovate-bot PRs 2019-03-15 13:32:44 -07:00
Alex Eagle
b344ba4b38 test: pin Angular snapshot versions
Next step is to set up Renovate to send PRs against this package.json file
2019-03-14 07:15:31 -07:00
Charles Lyding
9ef4a0593e ci: remove Node.js 8 E2E tests 2019-03-11 13:46:48 -07:00
Filipe Silva
efac7b61ba ci: rebase PRs on target branch 2019-03-11 13:45:18 -07:00
Alex Eagle
4e262f966f build: Update to latest bazel rules 2019-03-06 11:27:48 -08:00
Charles Lyding
79f8413ddc revert: ci: add precise commits code formatting check
This reverts commit f2049109a920a13a1da1faadf20889024f8890b0.
2019-03-05 14:53:33 -08:00