You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the CLI will use a user-specific folder for a few things, including first run sentinels and global tool information. The folder can be overridden with the DOTNET_CLI_HOME environment variable. Arcade should set this variable to a repo-local path, to avoid different builds (ie on CI machines or build servers) sharing this folder. While we should generally keep compatibility, that may not always be true between interim preview builds.
Making that task respect the environment variable is probably good, but it wouldn't fix it in this case because the variable isn't until tools.ps1 is called. We would need to set that variable in the build earlier than the restore task.
I'm all for better isolation between CI builds – it really makes everything so much simpler – but dotnet/runtime#34994 is a local build problem and is waiting for the resolution of this issue.
This issue points to a local build problem, you are right. But we would still see the issue if we wouldn't have disable repo tools being restored in CI temporarily: dotnet/runtime@97d1f96. So this still very much applies and needs to be fixed.
Activity
ViktorHofer commentedon May 4, 2020
@janvorli that's the issue that is tracking the right fix for the issue that you were seeing locally. cc @jaredpar
MattGal commentedon Jul 20, 2020
Reopening and putting in the backlog. This change was the source for #5813 , but since it has the context I'm reactivating this one.
The latest arcade validation builds were failing to resolve nuget v3 paths, reverting just this change unblocked them, as shown in this build
6 remaining items
alexperovich commentedon Jul 30, 2020
alexperovich commentedon Jul 30, 2020
Filed issue with azure pipelines: microsoft/azure-pipelines-tasks#13375
garath commentedon Jul 30, 2020
Triage: For Helix, a Big Improvement would be to recycle machines for every build (hosted pool does this).
lukas-lansky commentedon Feb 9, 2021
I'm all for better isolation between CI builds – it really makes everything so much simpler – but dotnet/runtime#34994 is a local build problem and is waiting for the resolution of this issue.
ViktorHofer commentedon Feb 9, 2021
This issue points to a local build problem, you are right. But we would still see the issue if we wouldn't have disable repo tools being restored in CI temporarily: dotnet/runtime@97d1f96. So this still very much applies and needs to be fixed.