Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

Splaktar
Copy link
Contributor

@Splaktar Splaktar commented Sep 24, 2018

PR Checklist

Please check that your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added or this is not a bug fix / enhancement
  • Docs have been added, updated, or were not required

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Enhancement
[ ] Documentation content changes
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] CI related changes
[ ] Infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

All of our tests run on Chrome for Windows only.

Issue Number:
Fixes #11410. Fixes #11468.

What is the new behavior?

  • use Puppeteer, ChromeHeadless, and FirefoxHeadless on TravisCI
  • fix gulp errors with NodeJS 10
  • switch to NodeJS 10
  • improve NPM configuration via npm ci and caching "$HOME/.npm"
  • disable Saucelabs
  • update readme, docs, deps to AngularJS 1.7.4

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@Splaktar Splaktar self-assigned this Sep 24, 2018
@googlebot googlebot added the cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ label Sep 24, 2018
@Splaktar Splaktar force-pushed the refactorCI branch 2 times, most recently from 28dc1be to c858ad1 Compare September 24, 2018 22:29
@Splaktar Splaktar changed the title wip(ci): remove Saucelabs wip(ci): use puppeteer, ChromeHeadless, and FirefoxHeadless Sep 24, 2018
@Splaktar Splaktar force-pushed the refactorCI branch 3 times, most recently from 6074d81 to e30002f Compare September 24, 2018 23:17
@Splaktar Splaktar changed the title wip(ci): use puppeteer, ChromeHeadless, and FirefoxHeadless chore(ci): use Puppeteer, ChromeHeadless, and FirefoxHeadless Sep 24, 2018
@Splaktar Splaktar added this to the 1.1.11 milestone Sep 24, 2018
@Splaktar Splaktar force-pushed the refactorCI branch 2 times, most recently from e63d947 to 692798b Compare September 25, 2018 00:21
@Splaktar Splaktar requested a review from devversion September 25, 2018 00:22
@Splaktar Splaktar added the pr: merge ready This PR is ready for a caretaker to review label Sep 25, 2018
@Splaktar Splaktar removed their assignment Sep 25, 2018
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside one comment.

@@ -0,0 +1,28 @@
const baseKarma = require('./karma.conf.js');
process.env.CHROME_BIN = require('puppeteer').executablePath();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why even use puppeteer if the chrome binaries are already installed through Travis? We should either remove pupeteer, or remove the chrome addon of Travis.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puppeteer was the recommendation of the karma-chrome-launcher for headless. I'll give it a shot w/o it. It would be nice if npm i didn't install the 82 MB Chrome bundle each time.

Copy link
Member

@devversion devversion Sep 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. We should probably just remove puppeteer because I assume Travis has some better caching for its addons.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing Puppeteer did indeed work. Thanks for the feedback!

@Splaktar Splaktar added in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs and removed pr: merge ready This PR is ready for a caretaker to review labels Sep 25, 2018
@Splaktar Splaktar assigned Splaktar and unassigned mmalerba Sep 25, 2018
fix gulp errors with NodeJS 10
switch to NodeJS 10
improve NPM configuration via `npm ci` and caching "$HOME/.npm"
fix keywords entry in package.json
disable Saucelabs
update readme, docs, deps to AngularJS 1.7.4

Fixes #11410
@Splaktar Splaktar changed the title chore(ci): use Puppeteer, ChromeHeadless, and FirefoxHeadless chore(ci): use ChromeHeadless and FirefoxHeadless Sep 25, 2018
@Splaktar Splaktar added pr: merge ready This PR is ready for a caretaker to review and removed in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs labels Sep 25, 2018
@Splaktar Splaktar removed their assignment Sep 25, 2018
@Splaktar Splaktar added the P2: required Issues that must be fixed. label Sep 25, 2018
@Splaktar Splaktar assigned jelbourn and unassigned mmalerba Sep 26, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: merge safe pr: lgtm This PR has been approved by the reviewer labels Oct 1, 2018
@jelbourn jelbourn merged commit e97d5f1 into master Oct 1, 2018
@Splaktar Splaktar deleted the refactorCI branch October 1, 2018 17:02
marosoft pushed a commit to marosoft/material that referenced this pull request Nov 11, 2018
…11455)

fix gulp errors with NodeJS 10
switch to NodeJS 10
improve NPM configuration via `npm ci` and caching "$HOME/.npm"
fix keywords entry in package.json
disable Saucelabs
update readme, docs, deps to AngularJS 1.7.4

Fixes angular#11410
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ P2: required Issues that must be fixed. pr: lgtm This PR has been approved by the reviewer pr: merge ready This PR is ready for a caretaker to review type: build type: chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: support NodeJS v10.x Consider using Chrome headless inside of Travis
5 participants