Commit 285a291
committed
fix: failure finding SDK artifacts
.NET 10 introduced a chanage where the SDK built artifacts tarball
is placed. There no longer exists a symlink at:
`artifacts/assets/Release/dotnet-sdk-*.tar.gz`
For reference, this is an error caused by this change:
```text
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/./debian/tests/build-time-tests/tests.py", line 549, in <module>
testContext.RunTests()
~~~~~~~~~~~~~~~~~~~~^^
File "/<<PKGBUILDDIR>>/./debian/tests/build-time-tests/tests.py", line 257, in RunTests
self.__ExtractSdk()
~~~~~~~~~~~~~~~~~^^
File "/<<PKGBUILDDIR>>/./debian/tests/build-time-tests/tests.py", line 325, in __ExtractSdk
tarPath=GetSourceBuiltArtifactsTarball(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
basePath=self.DotnetBuiltArtifactsBasePath,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sdkVersion=self.DotnetSdkVersion,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
type="SDK"),
^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/debian/eng/source_build_artifact_path.py", line 31, in GetSourceBuiltArtifactsTarball
raise ValueError(f"Source built artifacts tarball not found "
f"(glob pattern: '{globPattern}').")
ValueError: Source built artifacts tarball not found (glob pattern: '/<<PKGBUILDDIR>>/artifacts/assets/Release/dotnet-sdk-10.0.100-preview.5*-*.tar.gz').
```
Signed-off-by: Dominik Viererbe <[email protected]>1 parent 843b195 commit 285a291
File tree
3 files changed
+38
-11
lines changed- src
- eng
- tests
3 files changed
+38
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
41 | 63 | | |
42 | 64 | | |
43 | 65 | | |
44 | 66 | | |
45 | | - | |
46 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments