Re: CI, macports, darwin version problems
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-06-26T03:58:18Z
Lists: pgsql-hackers
Attachments
- v2-0001-ci-Upgrade-macOS-version-from-13-to-14.patch (application/x-patch) patch v2-0001
On Wed, Jun 26, 2024 at 12:00 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > Thomas Munro <thomas.munro@gmail.com> writes: > > I know how to find out which darwin version is running: uname -r | sed > > 's/\..*//'. What I don't know is how to find the darwin version for a > > macports installation. > > "port platform"? Thanks, that's exactly what I was looking for. But I thought of an easier way: instead of trying to do my own cache invalidation with shell script and duct tape, I can include the current OS major version in the cache key used to carry the macports directory between CI runs. Hopefully Cirrus's cache machinery is smart enough to age out the old stuff eventually. This seems to have the desired effect. I've registered this thread to see how cfbot likes this, and see if anyone sees a problem with switching to the "macos-runner:sonoma" image, or the cache key scheme. https://commitfest.postgresql.org/48/5076/ FTR there is a newer macOS release that recently came out, Sequoia aka macOS 15, but the image available to us for CI is marked beta so I figured we can wait a bit longer for that.
Commits
-
ci: Pin MacPorts version to 2.9.3.
- 541f493dc128 15.8 landed
- daca4f1419e8 16.4 landed
- 5f03da8518ce 17.0 landed
- 64c39bd5047e 18.0 landed
-
ci: Upgrade macOS version from 13 to 14.
- 0151b4d6bdf0 15.8 landed
- 9302f6fa58ba 16.4 landed
- f8c1bb2bb90d 17.0 landed
- d01ce180d9b5 18.0 landed