Skip to content
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

fix(webkit): update Docker file to include gstreamer #2636

Merged
merged 2 commits into from
Jun 19, 2020

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Jun 18, 2020

@arjunattam
Copy link
Contributor

Does the github action need an update? https://github.com/microsoft/playwright-github-action/blob/master/index.js

@@ -47,7 +47,7 @@ describe('Capabilities', function() {
await page.goto(server.EMPTY_PAGE);
expect(await page.evaluate(() => window.testStatus)).toBe('SUCCESS');
});
it.fail(WEBKIT)('should play video', async({page, server}) => {
it.fail(WEBKIT && !LINUX)('should play video', async({page, server}) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

wait, we don't play video on mac / win?

Copy link
Member Author

Choose a reason for hiding this comment

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

According to Dmitry on mac there is a problem with our test server which doesn't support range query, so we should fix that. I will check if it works on windows and enable there separately.

Copy link
Member Author

Choose a reason for hiding this comment

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

Reverting the test change for now, will enable it along with the roll.

@aslushnikov
Copy link
Collaborator

Does the github action need an update? https://github.com/microsoft/playwright-github-action/blob/master/index.js

Yep! we should theoretically see our tests failing until we update the github action as well

@yury-s
Copy link
Member Author

yury-s commented Jun 19, 2020

Does the github action need an update? https://github.com/microsoft/playwright-github-action/blob/master/index.js

I believe so, we'll probably need to bump its version too

@yury-s yury-s merged commit 5c6c659 into microsoft:master Jun 19, 2020
@yury-s yury-s deleted the wk-video branch June 19, 2020 01:12
aslushnikov added a commit that referenced this pull request Jul 14, 2020
This adds a new script to calculate docker image size with
all parent layers.

Note: take this metrics with a grain of salt, since in reality
docker compresses and reuses layers.

Some historic stats obtained with this script:
- **`208MB`** (-33MB) chore(docker): skip "recommended" dependencies (#2917) (1cebf87)
- **`241MB`** (-29MB) chore(docker): trim some of the gstreamer dependencies (#2897) (bce4b1a)
- **`272MB`** (-1MB) devops: do cache busting for APT (#2656) (bb34418)
- **`273MB`** (+49MB) fix(webkit): update Docker file to include gstreamer (#2636) (5c6c659)
- **`224MB`** (+0MB) chore: fix emojis for CR and FF in Dockerfile (#2522) (24316ad)
- **`224MB`** (-1MB) fix: Dockerfile for Firefox (#1937) (b516ac4)
- **`225MB`** (+49MB) devops(docker): Install ffmpeg dependency, adding codecs necessary for video playback in Firefox (#1627) (222d01c)
-  **`176MB`** (+32MB) chore(docs): optionally install XVFB in docker(ec3ee66)
-  **`144MB`** (+144MB)  feat: add a playwright-ready docker image (#1161)(1781ae7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants