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(examples): fix architect example on m1 #3447

Merged
merged 1 commit into from
May 11, 2022
Merged

Conversation

kormide
Copy link
Collaborator

@kormide kormide commented May 10, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

The angular architect example is broken on m1. The version of webdriver-manager that was being used had a bug that prevented it from finding the correct url to download chrome drivers on an m1 architecture.

What is the new behavior?

Resolved the correct version of webdriver-manager and updated e2e tests to run using an m1-supported version of chrome.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kormide kormide force-pushed the angular-example-fix branch 2 times, most recently from ccbba76 to b55e06a Compare May 10, 2022 22:55
@kormide kormide force-pushed the angular-example-fix branch from b55e06a to fb0cac2 Compare May 10, 2022 23:23
@@ -9,8 +9,8 @@

## IMPORTANT
# If you change the `default_docker_image` version, also change the `cache_key` version
var_1: &default_docker_image circleci/node:12.18.3
var_2: &browsers_docker_image circleci/node:12.18.3-browsers
var_1: &default_docker_image circleci/node:12.22.7
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a version of node which supports m1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The architect e2e rule relies on host's version of chrome. In order for ci to pass I need a matching chrome version in package.json and whatever this docker container contains.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The version of chrome in the previous container version didn't have an m1 release.

@alexeagle alexeagle merged commit d234328 into stable May 11, 2022
@kormide kormide deleted the angular-example-fix branch May 11, 2022 17:33
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