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

Change integration img base image #5004

Merged
merged 8 commits into from
Jul 8, 2022
Merged

Change integration img base image #5004

merged 8 commits into from
Jul 8, 2022

Conversation

antgamdia
Copy link
Contributor

@antgamdia antgamdia commented Jul 1, 2022

Description of the change

This PR replaces the old custom image for running the e2e test with a simpler one. It is just a just a FROM mcr.microsoft.com/playwright dockerfile, plus installing the browsers with npx playwright install, as stated in the Playwright docs.

Besides, this PR also renames executor.yaml to e2e-runner.yaml.

Benefits

We will rely on an official (and supported) image of Playwright. Otherwise, we would be stuck to a certain base image, as already discussed at #4206.

Possible drawbacks

N/A

Applicable issues

Additional information

Now that the image has been simplified, we should start thinking of #2792. However, the base image is pretty large (~1GB), so perhaps we should skip the push phase.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@netlify
Copy link

netlify bot commented Jul 1, 2022

Deploy Preview for kubeapps-dev ready!

Name Link
🔨 Latest commit 245cb3a
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/62c7efa1ac53560008f9d689
😎 Deploy Preview https://deploy-preview-5004--kubeapps-dev.netlify.app/docs/latest/reference/developer/style-guide
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@antgamdia antgamdia marked this pull request as ready for review July 4, 2022 15:58
@antgamdia
Copy link
Contributor Author

(netlify checks are failing due to #5013, but the rest are ok )

@@ -21,7 +21,7 @@ spec:
- tail
- -f
- /dev/null
image: kubeapps/integration-tests:v1.1.1
image: kubeapps/integration-tests:v2.0.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Small detail unrelated to this line, but to L8,L9,L13 and L17.
Given that the file has been renamed to e2e-runner, shouldn't we rename the deployment accordingly? integration seems too generic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good idea, thanks!

Copy link
Collaborator

@castelblanque castelblanque left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	integration/package.json
	integration/yarn.lock
@antgamdia antgamdia merged commit 338632b into main Jul 8, 2022
@antgamdia antgamdia deleted the 4206-fixIntegrationImg branch July 8, 2022 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up integration container image
3 participants