Skip to content

build: skip bazel mirror urls when fetching yarn and node #17606

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

Conversation

devversion
Copy link
Member

Bazel currently always tries to fetch Yarn and Node from the
Bazel mirror server. This is not helpful since the mirror
server usually does not contain artifacts for the versions
we are requesting (this has been the case for a long time).

Bazel currently always tries the mirror first, and falls
back to the official URLs. We should just always use the
official URLs. having the fallback seems to have no benefit
since our other non-bazel jobs rely on the official URLS only too.

The goal is to not spend unnecessary time fetching stuff from the mirror
since we know it won't be available..

Bazel currently always tries to fetch Yarn and Node from the
Bazel mirror server. This is not helpful since the mirror
server usually does not contain artifacts for the versions
we are requesting (this has been the case for a long time).

Bazel currently always tries the mirror first, and falls
back to the official URLs. We should just always use the
official URLs. having the fallback seems to have no benefit
since our other non-bazel jobs rely on the official URLS only too.
@devversion devversion requested review from jelbourn and a team as code owners November 4, 2019 17:36
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 4, 2019
Copy link
Member

@josephperrott josephperrott 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 pr: lgtm action: merge The PR is ready for merge by the caretaker labels Nov 4, 2019
@devversion devversion added the target: patch This PR is targeted for the next patch release label Nov 4, 2019
@mmalerba mmalerba merged commit d6b0ad3 into angular:master Nov 4, 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 Dec 5, 2019
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: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants