Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bring back "tools folder" fallback code#232

Merged
juliobbv merged 1 commit into
masterfrom
users/juliobbv/bringBackFallback
Dec 17, 2019
Merged

Bring back "tools folder" fallback code#232
juliobbv merged 1 commit into
masterfrom
users/juliobbv/bringBackFallback

Conversation

@juliobbv
Copy link
Copy Markdown
Contributor

No description provided.

@juliobbv juliobbv requested a review from thboop December 17, 2019 22:38
Comment thread src/Runner.Common/HostContext.cs Outdated
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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