-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Try using helix sdk payload support instead #20876
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
Conversation
Very nice! This will mean some of the work will make it to asp.net core for free 😀 |
👀 |
The only problem is that this doesn't currently support |
What does DOTNET_LOOKUP do? |
Fixed it, DOTNET_ROOT 😄 |
Is it a problem that we install the runtime to DOTNET_ROOT and the sdk is wherever? Alternatively, if we change things for helix to always set DOTNET_ROOT, we can just install the runtime to that variable maybe? |
Yep, that's what I'm planning to do 😄 |
Oh right, I can try this in my branch in your repo first |
Okay some of this is starting to come back to me now... I don't think this will work, if we try to install to the correlation payloads, it will only work on windows (and even then its frowned on), and this won't work on unix since I believe those directories end up being read only, which is why our shell scripts use a random directory in the workitem root to install sdk/runtime... |
I think what we need is the ability to ask for both sdk and runtime, something like
Basically move this functionality into helix/arcade so it can do the right thing in terms of a single correlation payload for each |
@@ -23,6 +23,9 @@ | |||
<SkipInvalidConfigurations>true</SkipInvalidConfigurations> | |||
<MaxRetryCount Condition="'$(MaxRetryCount)' == ''">2</MaxRetryCount> | |||
<HelixAccessToken Condition="'$(_UseHelixOpenQueues)' != 'true'">$(HelixApiAccessToken)</HelixAccessToken> | |||
<IncludeDotNetCli>true</IncludeDotNetCli> | |||
<DotNetCliPackageType>sdk</DotNetCliPackageType> | |||
<DotNetCliVersion>$(NETCoreSdkVersion)</DotNetCliVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooh this is nice. Is this new?
Okay so I guess it looks like it just 'works', our shell scripts were able to install the runtime into the DOTNET_ROOT directory 🤷
So I guess we just need to wait for dotnet/arcade#5284 to make it in and down to us and we can kick this PR again |
Replaced by #23585 |
No description provided.