pgsql: ci: Pin MacPorts version to 2.9.3.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ci: Pin MacPorts version to 2.9.3.
Date: 2024-07-25 02:50:07
Message-ID: E1sWoYR-0015a7-3a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ci: Pin MacPorts version to 2.9.3.

Commit d01ce180 invented a new way to find the latest MacPorts version.
By bad luck, a new beta release has just been published, and it seems
to lack some packages we need. Go back to searching for this specific
version for now. We still search with a pattern so that we can find the
package for the running version of macOS, but for now we always look for
2.9.3. The code to do that had been anticipated already in a commented
out line, I just didn't expect to have to use it so soon...

Also include the whole MacPorts installation script in the cache key, so
that changes to the script cause a fresh installation. This should make
it a bit easier to reason about the effect of changes on cached state in
github accounts using CI, when we make adjustments.

Back-patch to 15, like d01ce180.

Discussion: https://postgr.es/m/CA%2BhUKGLqJdv6RcwyZ_0H7khxtLTNJyuK%2BvDFzv3uwYbn8hKH6A%40mail.gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/541f493dc1287a0038b8d235d61297f6fdbcb079

Modified Files
--------------
.cirrus.tasks.yml | 2 ++
src/tools/ci/ci_macports_packages.sh | 9 +++------
2 files changed, 5 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-07-25 03:03:44 pgsql: Add path column to pg_backend_memory_contexts view
Previous Message Thomas Munro 2024-07-25 02:49:54 pgsql: ci: Pin MacPorts version to 2.9.3.