-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add/migrate wp desktop teamcity #47368
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
b8cb03d
to
8819395
Compare
param("xmlReportParsing.reportType", "junit") | ||
param("xmlReportParsing.reportDirs", "desktop/e2e/result.xml") | ||
} | ||
perfmon { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a tab with info about CPU/Mem used by the build
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY | ||
} | ||
} | ||
commitStatusPublisher { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a notification in GitHub PR with the status of this build
@@ -18,6 +18,8 @@ const APP_ARGS = [ | |||
'--disable-http-cache', | |||
'--start-maximized', | |||
'--remote-debugging-port=9222', | |||
'--disable-setuid-sandbox', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this Chrome throws lots of problems. This was also done in CircleCI at the image config in https://github.com/CircleCI-Public/circleci-dockerfiles/blob/master/node/images/12.18.4-stretch/browsers/Dockerfile#L46
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wp-desktop ci passing, closing review
@@ -31,6 +31,10 @@ exports.createDir = function ( dir ) { | |||
|
|||
exports.isVideoEnabled = function () { | |||
const video = process.env.CI; | |||
// eslint-disable-next-line no-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious if including L34-L37 was intentional here? (I'm guessing this is useful to persist to the CI process logs for debugging?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Leftovers from when I was trying to debug video recorder, deleted.
Looks really good! Couple of quick thoughts/question: Is a "desktop" e2e CI badge supposed to be present on this PR? I only see the standard Calypso checks right now (I'm assuming this needs to get merged first?). With your changes/additions to the linux container, I wonder if video capture for Linux is finally working? I attempted this a while ago - I got pretty far but ultimately failed (see here). Context: during my initial attempt, a file was saved but for some reason couldn't be viewed, so something was off somewhere. Not a blocker for this PR at all but probably something I'll revisit at some point. The artifact is persisted to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your amazing and hard work here, @scinos! ❤️
I know this was very much a non-trivial effort and there were a number of technical hurdles to overcome.
Looking forward to getting this integrated into wp-calypso and streamlining the build/CI process for everyone!
I got the message "Unsupported change of build features in the build configuration" in TeamCity, I assume those will start working once we merge it.
I tried :) When it tries to spawn ffmpeg it fails with
It should be persisted as soon as we generate any content. These are the dirs we persist (from https://github.com/Automattic/wp-calypso/pull/47368/files#diff-660a0483d27a7df9ef700886a52d2714ac135f25af6889269798e06d37fff664R665-R669)
|
Changes proposed in this Pull Request
electron-*.log
file to log Electron start up messagesTesting instructions
Desktop e2e tests
build for this branch and it is passing.features {}
in a branch to an existing build).