Skip to content

fix(examples): fix architect example on m1 - #3447

Merged
alexeagle merged 1 commit into
stablefrom
angular-example-fix
May 11, 2022
Merged

fix(examples): fix architect example on m1#3447
alexeagle merged 1 commit into
stablefrom
angular-example-fix

Conversation

@kormide

@kormide kormide commented May 10, 2022

Copy link
Copy Markdown
Collaborator

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

Comment thread examples/angular_bazel_architect/package.json Outdated
@kormide
kormide force-pushed the angular-example-fix branch 2 times, most recently from ccbba76 to b55e06a Compare May 10, 2022 22:55
Comment thread examples/angular_bazel_architect/yarn.lock Outdated
@kormide
kormide force-pushed the angular-example-fix branch from b55e06a to fb0cac2 Compare May 10, 2022 23:23
Comment thread .circleci/config.yml
# 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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