Skip to content

Comments

Default to chromium and add deprecation warning for phantom.#21505

Merged
stacey-gammon merged 3 commits intoelastic:masterfrom
stacey-gammon:2018-07-31-default-to-chromium
Sep 11, 2018
Merged

Default to chromium and add deprecation warning for phantom.#21505
stacey-gammon merged 3 commits intoelastic:masterfrom
stacey-gammon:2018-07-31-default-to-chromium

Conversation

@stacey-gammon
Copy link

We'll start rolling out chromium as the default to our cloud users in 6.4. As long as that goes smoothly, we will default to chromium starting in 6.5.

Doing this now, instead of waiting till the last minute in 6.5 will give us some more chromium usage, any time dev's create reports.

If we hit any blockers, we can roll back the PR and switch back to phantom.

@stacey-gammon stacey-gammon added :Sharing zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead labels Jul 31, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@stacey-gammon
Copy link
Author

Seems like build failure may have been an interruption:

21:05:01 [21:05:01] Build SHA e09c6176ec9834ab9dfcd2a7015995c5bce61942
21:05:01 [21:05:01] Finished 'report' after 684 ms
21:10:09 [21:10:09] 'prepare' errored after 5.15 min
21:10:09 [21:10:09] Error: read ECONNRESET
21:10:09     at _errnoException (util.js:992:11)
21:10:09     at TLSWrap.onread (net.js:618:25)
21:10:09 error Command failed with exit code 1.
21:10:09 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
21:10:09    │ERROR  failure
21:10:09    │ERROR  Error: Command failed: yarn run build
21:10:09    │           at makeError (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/packages/kbn-pm/dist/index.js:35523:9)
21:10:09    │           at Promise.all.then.arr (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/packages/kbn-pm/dist/index.js:35628:16)
21:10:09    │           at <anonymous>
21:10:09    │           at process._tickCallback (internal/process/next_tick.js:188:7)
21:10:09 
21:10:11 runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<

jenkins, test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@stacey-gammon stacey-gammon force-pushed the 2018-07-31-default-to-chromium branch from e09c617 to a543b04 Compare September 4, 2018 21:00
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@chrisdavies chrisdavies left a comment

Choose a reason for hiding this comment

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

LGTM. Didn't pull down and run.

return true;
}
const releaseNumber = parseInt(release, 10);
return releaseNumber >= 7.0;
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a bit odd to see a parseInt followed by a floating point comparison. I know this is JS, and it doesn't matter, but it seems like this should be >= 7.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@stacey-gammon stacey-gammon merged commit ac03ffb into elastic:master Sep 11, 2018
@stacey-gammon
Copy link
Author

cc @LeeDr @rashidkpc @w33ble -- We have flipped the default switch to Chromium. When testing the canvas merge, please rebase and let us know if there are any issues! I'm hoping their won't be because Canvas only worked on chromium as it was, but, wanted all to be aware!

stacey-gammon pushed a commit to stacey-gammon/kibana that referenced this pull request Sep 11, 2018
…#21505)

* Default to chromium and add deprecation warning for phantom.

* use int, not float
stacey-gammon pushed a commit that referenced this pull request Sep 11, 2018
…#22940)

* Default to chromium and add deprecation warning for phantom.

* use int, not float
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants