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

ci(circleci): prevent timeout on circle-ci macos node10 build #7651

Merged
merged 1 commit into from
Nov 7, 2019
Merged

ci(circleci): prevent timeout on circle-ci macos node10 build #7651

merged 1 commit into from
Nov 7, 2019

Conversation

sverweij
Copy link
Contributor

@sverweij sverweij commented Oct 27, 2019

Summary

  • sets the required xcode version to 11 -> this gets us a more up to date macOS version
  • keeps xcode 9 for node 6 as that isn't available in the homebrew associated with xcode 11 anymore
  • removes the brew update from the macOS node 10 job
  • ✖️no update of the changelog - as merging this PR won't modify yarn's behaviour

As a bonus the CI for node 10 on circleci/ macOS got 15 - 20 minutes faster.

Why, though?
The circle ci job for macOS on node 10 currently fails because it takes too long (both PR's #7649 and #7650 don't green because of that). Cause: the job uses a big chunk of time updating homebrew (up to ~20min). Which is necessary because the version of macOS (the one connected to xcode 9 => macOS 10.12) does not contain node 10 by default.

Using a more recent version of macOS does away with this necessity for node 8 and 10. Putting node 6 on this would've been nice, but it is not available in homebrew on the macOS images that have xcode 11 on them

Test plan

  • green ci

Notes

  • I've rebased make running with Plug'n Play possible on node 13 #7650 on the branch underlying this PR - so if that one might get merged first this PR can be closed unmerged.

  • When running the xcode 9 image, the system warns it's outdated and unsupported, as is the version of macOS. If node 6 still needs to be tested on macOS via circleci it might be worth considering a different installation strategy (e.g. using nvm in stead of homebrew?).

The circle ci job for macOS on node 10 currently fails because it takes too long
(both PR's #7649 and #7650 don't green because of that). A big chunk of the time
is taken by updating homebrew - which in this macOS (the one connected to xcode 9
=> macOS 10.12) does not contain node 10 by default.

This change:
- sets the required xcode version to 11.0 -> this gets us a more up to date macOS
  version (except for node 6, which isn't available in the homebrew associated
  with xcode 11)
- removes the brew update from the macOS node 10 job
@sverweij sverweij changed the title WIP: ci(circleci): prevent timeout on circle-ci macos node10 build ci(circleci): prevent timeout on circle-ci macos node10 build Oct 27, 2019
@arcanis
Copy link
Member

arcanis commented Nov 7, 2019

Sounds good, we don't care about Node 6 anymore 🙂

@arcanis arcanis merged commit 730d390 into yarnpkg:master Nov 7, 2019
arcanis pushed a commit that referenced this pull request Nov 22, 2019
The circle ci job for macOS on node 10 currently fails because it takes too long
(both PR's #7649 and #7650 don't green because of that). A big chunk of the time
is taken by updating homebrew - which in this macOS (the one connected to xcode 9
=> macOS 10.12) does not contain node 10 by default.

This change:
- sets the required xcode version to 11.0 -> this gets us a more up to date macOS
  version (except for node 6, which isn't available in the homebrew associated
  with xcode 11)
- removes the brew update from the macOS node 10 job
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
…g#7651)

The circle ci job for macOS on node 10 currently fails because it takes too long
(both PR's yarnpkg#7649 and yarnpkg#7650 don't green because of that). A big chunk of the time
is taken by updating homebrew - which in this macOS (the one connected to xcode 9
=> macOS 10.12) does not contain node 10 by default.

This change:
- sets the required xcode version to 11.0 -> this gets us a more up to date macOS
  version (except for node 6, which isn't available in the homebrew associated
  with xcode 11)
- removes the brew update from the macOS node 10 job
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
…g#7651)

The circle ci job for macOS on node 10 currently fails because it takes too long
(both PR's yarnpkg#7649 and yarnpkg#7650 don't green because of that). A big chunk of the time
is taken by updating homebrew - which in this macOS (the one connected to xcode 9
=> macOS 10.12) does not contain node 10 by default.

This change:
- sets the required xcode version to 11.0 -> this gets us a more up to date macOS
  version (except for node 6, which isn't available in the homebrew associated
  with xcode 11)
- removes the brew update from the macOS node 10 job
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.

2 participants