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

Bring back "tools folder" fallback code #232

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

juliobbv
Copy link
Contributor

No description provided.

@juliobbv juliobbv requested a review from thboop December 17, 2019 22:38
path = Environment.GetEnvironmentVariable("RUNNER_TOOL_CACHE") ??
// The following fall-back can be removed once Hosted macOS images
// properly set the RUNNER_TOOL_CACHE environment variable
Environment.GetEnvironmentVariable("AGENT_TOOLSDIRECTORY");
Copy link
Collaborator

Choose a reason for hiding this comment

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

This isn't a complete revert, lets make sure to test this in R0 before rolling out to the other rings

Copy link
Member

@bryanmacfarlane bryanmacfarlane Dec 17, 2019

Choose a reason for hiding this comment

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

Agreed. Let's do the complete revert in this block of code. I thought it checked a few vars before ...

Copy link
Collaborator

@thboop thboop Dec 17, 2019

Choose a reason for hiding this comment

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

This isn't the correct fix. We need to set to /Users/runner/hostedtoolcache

Which is set by the $RUNNER_TOOL_CACHE variable. We should just do the full revert imo

$AGENT_TOOLSDIRECTORY is empty on OSX

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The block has been completely reverted now.

Copy link
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

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

This doesn't fix the issue

@juliobbv juliobbv force-pushed the users/juliobbv/bringBackFallback branch from e61bbb3 to 148eccc Compare December 17, 2019 23:07
Copy link
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

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

LGTM

@juliobbv juliobbv merged commit 50d979f into master Dec 17, 2019
juliobbv added a commit that referenced this pull request Dec 17, 2019
juliobbv added a commit that referenced this pull request Dec 18, 2019
* Bring back tools folder fallback code (#232)
* Prepare 2.163.1 runner release
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Jan 28, 2021
@TingluoHuang TingluoHuang deleted the users/juliobbv/bringBackFallback branch September 1, 2023 20:51
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