Skip to content

build: bump yarn requirement to 1.17.3 #16890

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

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Conversation

josephperrott
Copy link
Member

No description provided.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 27, 2019
@josephperrott josephperrott requested a review from a team as a code owner August 27, 2019 14:50
@josephperrott josephperrott force-pushed the yarn-fix branch 9 times, most recently from 612a0df to bb2bcfd Compare August 27, 2019 16:00
@@ -351,8 +316,6 @@ jobs:
- *attach_release_output
- *setup_bazel_ci_config
- *setup_bazel_remote_execution
- *yarn_download
- *yarn_install
- *setup_bazel_binary
Copy link
Member

Choose a reason for hiding this comment

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

we actually need the yarn download and yarn install here as we need to download bazel through yarn.

Afterwards it will be linked globally using the setup_bazel_binary.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I was really thrown off and then I realized that yarn_install was run yarn install not install yarn...

I'm not thinking clearly this morning evidently.

Copy link
Member

Choose a reason for hiding this comment

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

haha no worries 😄 can you elaborate why we want to remove yarn_download though?

The reason we have this is that we can control the yarn version better without having to depend on a specific version coupled with the Docker image. We did the same on angular/angular for that reason.

Copy link
Member Author

Choose a reason for hiding this comment

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

We can go back to that if that is our reasoning. I was under the impression we did it so we could install a yarn version that was beyond was was in the Docker image. But since the Docker image is providing the latest yarn I was thinking we would just move to that.

But if we want to control it as we were we can.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I'd vote for keeping it like that to still have the flexibility. Up to you though. I don't feel too strong about it, but IIRC we already had a discussion about this and decided to download Yarn separately.

@josephperrott josephperrott force-pushed the yarn-fix branch 3 times, most recently from 03e342d to c847b9d Compare August 27, 2019 16:09
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott added action: merge The PR is ready for merge by the caretaker pr: merge safe target: major This PR is targeted for the next major release labels Aug 27, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn merged commit 77b0e0e into angular:master Aug 27, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 27, 2019
@josephperrott josephperrott deleted the yarn-fix branch March 20, 2020 22:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants