pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: ci: Upgrade macOS version from 13 to 14. 4+ messages / 1 participants [nested] [flat]
* pgsql: ci: Upgrade macOS version from 13 to 14. @ 2024-07-24 23:31 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Thomas Munro @ 2024-07-24 23:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ci: Upgrade macOS version from 13 to 14. 1. Previously we were using ghcr.io/cirruslabs/macos-XXX-base:latest images, but Cirrus has started ignoring that and using a particular image, currently ghcr.io/cirruslabs/macos-runner:sonoma, for github accounts using free CI resources (as opposed to dedicated runner machines, as cfbot uses). Let's just ask for that image anyway, to stay in sync. 2. Instead of hard-coding a MacPorts installation URL, deduce it from the running macOS version and the available releases. This removes the need to keep the ci_macports_packages.sh in sync with .cirrus.task.yml, and to advance the MacPorts version from time to time. 3. Change the cache key we use to cache the whole macports installation across builds to include the OS major version, to trigger a fresh installation when appropriate. Back-patch to 15 where CI began. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKGLqJdv6RcwyZ_0H7khxtLTNJyuK%2BvDFzv3uwYbn8hKH6A%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d01ce180d9b5f0656d499840e138ab9ae9f8bf76 Modified Files -------------- .cirrus.tasks.yml | 9 +++++++-- src/tools/ci/ci_macports_packages.sh | 14 +++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: ci: Upgrade macOS version from 13 to 14. @ 2024-07-24 23:31 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Thomas Munro @ 2024-07-24 23:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ci: Upgrade macOS version from 13 to 14. 1. Previously we were using ghcr.io/cirruslabs/macos-XXX-base:latest images, but Cirrus has started ignoring that and using a particular image, currently ghcr.io/cirruslabs/macos-runner:sonoma, for github accounts using free CI resources (as opposed to dedicated runner machines, as cfbot uses). Let's just ask for that image anyway, to stay in sync. 2. Instead of hard-coding a MacPorts installation URL, deduce it from the running macOS version and the available releases. This removes the need to keep the ci_macports_packages.sh in sync with .cirrus.task.yml, and to advance the MacPorts version from time to time. 3. Change the cache key we use to cache the whole macports installation across builds to include the OS major version, to trigger a fresh installation when appropriate. Back-patch to 15 where CI began. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKGLqJdv6RcwyZ_0H7khxtLTNJyuK%2BvDFzv3uwYbn8hKH6A%40mail.gmail.com Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f8c1bb2bb90dc023224f414d67fd9d8bf30b455a Modified Files -------------- .cirrus.tasks.yml | 9 +++++++-- src/tools/ci/ci_macports_packages.sh | 14 +++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: ci: Upgrade macOS version from 13 to 14. @ 2024-07-24 23:31 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Thomas Munro @ 2024-07-24 23:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ci: Upgrade macOS version from 13 to 14. 1. Previously we were using ghcr.io/cirruslabs/macos-XXX-base:latest images, but Cirrus has started ignoring that and using a particular image, currently ghcr.io/cirruslabs/macos-runner:sonoma, for github accounts using free CI resources (as opposed to dedicated runner machines, as cfbot uses). Let's just ask for that image anyway, to stay in sync. 2. Instead of hard-coding a MacPorts installation URL, deduce it from the running macOS version and the available releases. This removes the need to keep the ci_macports_packages.sh in sync with .cirrus.task.yml, and to advance the MacPorts version from time to time. 3. Change the cache key we use to cache the whole macports installation across builds to include the OS major version, to trigger a fresh installation when appropriate. Back-patch to 15 where CI began. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKGLqJdv6RcwyZ_0H7khxtLTNJyuK%2BvDFzv3uwYbn8hKH6A%40mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9302f6fa58bad6bc7ffbe17b8980e022bf1116d8 Modified Files -------------- .cirrus.tasks.yml | 9 +++++++-- src/tools/ci/ci_macports_packages.sh | 14 +++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: ci: Upgrade macOS version from 13 to 14. @ 2024-07-24 23:32 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Thomas Munro @ 2024-07-24 23:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ci: Upgrade macOS version from 13 to 14. 1. Previously we were using ghcr.io/cirruslabs/macos-XXX-base:latest images, but Cirrus has started ignoring that and using a particular image, currently ghcr.io/cirruslabs/macos-runner:sonoma, for github accounts using free CI resources (as opposed to dedicated runner machines, as cfbot uses). Let's just ask for that image anyway, to stay in sync. 2. Instead of hard-coding a MacPorts installation URL, deduce it from the running macOS version and the available releases. This removes the need to keep the ci_macports_packages.sh in sync with .cirrus.task.yml, and to advance the MacPorts version from time to time. 3. Change the cache key we use to cache the whole macports installation across builds to include the OS major version, to trigger a fresh installation when appropriate. Back-patch to 15 where CI began. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKGLqJdv6RcwyZ_0H7khxtLTNJyuK%2BvDFzv3uwYbn8hKH6A%40mail.gmail.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0151b4d6bdf0a35ba8cf6542d3d61aa3b3289270 Modified Files -------------- .cirrus.tasks.yml | 9 +++++++-- src/tools/ci/ci_macports_packages.sh | 14 +++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-07-24 23:32 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-07-24 23:31 pgsql: ci: Upgrade macOS version from 13 to 14. Thomas Munro <tmunro@postgresql.org> 2024-07-24 23:31 pgsql: ci: Upgrade macOS version from 13 to 14. Thomas Munro <tmunro@postgresql.org> 2024-07-24 23:31 pgsql: ci: Upgrade macOS version from 13 to 14. Thomas Munro <tmunro@postgresql.org> 2024-07-24 23:32 pgsql: ci: Upgrade macOS version from 13 to 14. Thomas Munro <tmunro@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox