Commit 1b78f82
authored
Improve speed and reliability of repo management (#157)
* Implement new parallel repository workflow in GitHub Actions
Updated infrastructure-repository-update.yml to use the new 3-step
parallel repository architecture that eliminates duplicate work.
Workflow changes:
- Step 1: main job builds common component with update-main
- Step 2: postclean jobs build release-specific components in parallel
using -R flag (isolated DBs, no publishing)
- Step 3: NEW merge job combines common + release-specific components
and publishes complete repositories
- Updated cleanup job dependency to wait for merge
Benefits:
- Common packages added once instead of per-release
- True parallelism across multiple releases
- Better error isolation between releases
- Scalable architecture for adding more releases
Signed-off-by: Igor Pecovnik <igor@armbian.com>
* Use dev branch
* Revert "Use dev branch"
This reverts commit 7f06a08.
* Change order
* Use testing branch
* fix: use UPLOAD_PATH env var and add example.deb to empty repos
- Replace DOWNLOAD_PATH with UPLOAD_PATH environment variable
- Update UPLOAD_PATH to "storage/incoming/external" for better organization
- Update all rsync commands to use ${UPLOAD_PATH} instead of hardcoded "storage/"
- Add example.deb to each generated subfolder (main, utils, desktop) to ensure
empty repos are properly published with complete structure
This ensures repository components are always publishable even when no
packages are added to them.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
* Update
* Implement skip downloading if file exist on server
* feat: add architecture filtering to remote package check
Add architecture-aware filtering when checking for existing packages on
remote storage to prevent skipping downloads for wrong architectures.
- Map Debian arch names to common filename variants (amd64→x86_64,x64, arm64→aarch64, etc.)
- Build find command with architecture-specific patterns
- Only skip download if package exists for matching architecture
Signed-off-by: Igor Pecovnik <igor@armbian.com>
* Drop caching
* Fix upload logic
---------
Signed-off-by: Igor Pecovnik <igor@armbian.com>1 parent f0bc381 commit 1b78f82
2 files changed
Lines changed: 147 additions & 65 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
312 | | - | |
| 313 | + | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | | - | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
325 | 324 | | |
326 | 325 | | |
327 | 326 | | |
328 | | - | |
| 327 | + | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
445 | 446 | | |
446 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
| |||
460 | 465 | | |
461 | 466 | | |
462 | 467 | | |
| 468 | + | |
463 | 469 | | |
464 | 470 | | |
465 | 471 | | |
466 | 472 | | |
467 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
468 | 480 | | |
469 | 481 | | |
470 | 482 | | |
| |||
507 | 519 | | |
508 | 520 | | |
509 | 521 | | |
| 522 | + | |
510 | 523 | | |
511 | 524 | | |
512 | 525 | | |
| |||
521 | 534 | | |
522 | 535 | | |
523 | 536 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
| 537 | + | |
531 | 538 | | |
532 | 539 | | |
533 | 540 | | |
| |||
554 | 561 | | |
555 | 562 | | |
556 | 563 | | |
557 | | - | |
558 | 564 | | |
559 | 565 | | |
560 | | - | |
| 566 | + | |
561 | 567 | | |
562 | 568 | | |
563 | 569 | | |
| |||
833 | 839 | | |
834 | 840 | | |
835 | 841 | | |
836 | | - | |
| 842 | + | |
837 | 843 | | |
838 | | - | |
839 | | - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
840 | 853 | | |
841 | 854 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
848 | 858 | | |
849 | 859 | | |
850 | | - | |
851 | | - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
852 | 868 | | |
853 | 869 | | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
860 | 873 | | |
861 | 874 | | |
862 | 875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
45 | 66 | | |
46 | 67 | | |
47 | 68 | | |
| |||
131 | 152 | | |
132 | 153 | | |
133 | 154 | | |
134 | | - | |
135 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
136 | 179 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
154 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
155 | 224 | | |
156 | 225 | | |
157 | 226 | | |
158 | | - | |
| 227 | + | |
159 | 228 | | |
160 | 229 | | |
161 | 230 | | |
| |||
333 | 402 | | |
334 | 403 | | |
335 | 404 | | |
336 | | - | |
| 405 | + | |
337 | 406 | | |
338 | 407 | | |
339 | 408 | | |
| |||
412 | 481 | | |
413 | 482 | | |
414 | 483 | | |
415 | | - | |
| 484 | + | |
416 | 485 | | |
417 | 486 | | |
418 | 487 | | |
| |||
534 | 603 | | |
535 | 604 | | |
536 | 605 | | |
537 | | - | |
| 606 | + | |
538 | 607 | | |
539 | 608 | | |
540 | 609 | | |
| |||
646 | 715 | | |
647 | 716 | | |
648 | 717 | | |
649 | | - | |
| 718 | + | |
650 | 719 | | |
651 | 720 | | |
652 | 721 | | |
| |||
0 commit comments