Commit dfac9c9
fix: we skip download if the same version of nucleus is being deployed (#1717)
* fix: we skip download if the same version of nucleus is being deployed
During installation the gg nucleus zip is not copied into the artifacts dir,
as the installer is contained in the zip file. Even if the zip file is copied,
it does not match the expected checksum, as there is some code signature added
in the zip file provided by the zip file coming from cloudfront.
This is now using the version that is provided by the localCandidate.getVersion()
function to determine if a download is necessary.
So the nucleus component is treated special.
Signed-off-by: Thomas Roos <[email protected]>
* chore: improve logging
---------
Signed-off-by: Thomas Roos <[email protected]>
Co-authored-by: Siddhant Srivastava <[email protected]>1 parent 74f83ff commit dfac9c9
File tree
2 files changed
+21
-8
lines changed- src
- main/java/com/aws/greengrass/componentmanager
- test/java/com/aws/greengrass/componentmanager
2 files changed
+21
-8
lines changedLines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
208 | 220 | | |
209 | 221 | | |
210 | 222 | | |
| |||
441 | 453 | | |
442 | 454 | | |
443 | 455 | | |
444 | | - | |
445 | | - | |
446 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
447 | 464 | | |
448 | 465 | | |
449 | 466 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | 185 | | |
188 | 186 | | |
189 | 187 | | |
| |||
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
224 | | - | |
225 | | - | |
226 | 222 | | |
227 | 223 | | |
228 | 224 | | |
| |||
0 commit comments