forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc93dffd
committed
ci: Fix cached MacPorts installation management
1. The error reporting of "port setrequested list-of-packages..."changed, hiding errors we were relying on to know if all packages in ourlist were already installed. Use a loop instead.2. The cached MacPorts installation was shared between PostgreSQLmajor branches, though each branch wanted different packages. Add thelist of packages to cache key, so that different branches, when testedin one github account/repo such as postgres/postgres, stop fighting witheach other, adding and removing packages.Back-patch to 15 where CI began.Author: Thomas Munro <thomas.munro@gmail.com>Author: Nazir Bilal Yavuz <byavuz81@gmail.com>Suggested-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/au2uqfuy2nf43nwy2txmc5t2emhwij7kzupygto3d2ffgtrdgr%40ckvrlwyflnh21 parentadb103f commitc93dffd
2 files changed
+29
-20
lines changedLines changed: 18 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
429 | 443 |
| |
430 | 444 |
| |
431 | 445 |
| |
| |||
461 | 475 |
| |
462 | 476 |
| |
463 | 477 |
| |
464 |
| - | |
465 |
| - | |
| 478 | + | |
| 479 | + | |
466 | 480 |
| |
467 |
| - | |
| 481 | + | |
468 | 482 |
| |
469 | 483 |
| |
470 | 484 |
| |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
| 485 | + | |
484 | 486 |
| |
485 | 487 |
| |
486 | 488 |
| |
|
Lines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 |
| |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 |
| |
68 | 75 |
| |
69 | 76 |
| |
|
0 commit comments
Comments
(0)