mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
fix(nuget): disable msbuild node reuse (#19095)
This commit is contained in:
parent
7603bebd03
commit
3c49502ced
2 changed files with 12 additions and 1 deletions
|
@ -91,6 +91,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
env: {
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -131,6 +132,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
env: {
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -216,6 +218,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
env: {
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -262,6 +265,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
'-v "/tmp/github/some/repo":"/tmp/github/some/repo" ' +
|
||||
'-v "/tmp/renovate/cache":"/tmp/renovate/cache" ' +
|
||||
'-e NUGET_PACKAGES ' +
|
||||
'-e MSBUILDDISABLENODEREUSE ' +
|
||||
'-e BUILDPACK_CACHE_DIR ' +
|
||||
'-e CONTAINERBASE_CACHE_DIR ' +
|
||||
'-w "/tmp/github/some/repo" ' +
|
||||
|
@ -277,6 +281,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
CONTAINERBASE_CACHE_DIR: '/tmp/renovate/cache/containerbase',
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -320,6 +325,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
CONTAINERBASE_CACHE_DIR: '/tmp/renovate/cache/containerbase',
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -332,6 +338,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
CONTAINERBASE_CACHE_DIR: '/tmp/renovate/cache/containerbase',
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -373,6 +380,7 @@ describe('modules/manager/nuget/artifacts', () => {
|
|||
env: {
|
||||
NUGET_PACKAGES:
|
||||
'/tmp/renovate/cache/__renovate-private-cache/nuget/packages',
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -71,7 +71,10 @@ async function runDotnetRestore(
|
|||
docker: {
|
||||
image: 'sidecar',
|
||||
},
|
||||
extraEnv: { NUGET_PACKAGES: join(nugetCacheDir, 'packages') },
|
||||
extraEnv: {
|
||||
NUGET_PACKAGES: join(nugetCacheDir, 'packages'),
|
||||
MSBUILDDISABLENODEREUSE: '1',
|
||||
},
|
||||
toolConstraints: [
|
||||
{ toolName: 'dotnet', constraint: config.constraints?.dotnet },
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue