pulumi/.github
Thomas Gummerer 32c312bd8e
Download Pulumi Cron: allow previous version for homebrew and chocolatey (#16809)
This cron job periodically checks whether package managers have the
updated version of pulumi to install. This is a very useful check to
make sure our automation works correctly.

However some of the package managers (homebrew and chocolatey in
particular) take a while to act on pulumi-bot's PRs, and thus the
versions are frequently not up to date when this cron job runs shortly
after a release. This is just how these package managers work and
nothing to worry about.

We shouldn't get an issue every time this happens. The important thing
here is that the version gets updated eventually. For homebrew and
chocolatey we therefore also allow the version to be the previous
version. This means it will take a bit longer for us to notice if a
pulumi isn't updated in these package managers, but the issues this
script opens will then actually be valuable.

(There's still a risk that multiple releases happen within a short
timespan, and the script fails. This is the case so rarely however that
it's probably not worth worrying about).

An alternative to this would be to check the release date in the
versions.json file, and make a decision based on the age of the latest
release, but that's more complicated to do in bash, and this seems to be
good enough for now.

Fixes https://github.com/pulumi/pulumi/issues/16808. (I finally got
tired enough to do something about it 😅)
2024-07-26 11:11:00 +00:00
..
ISSUE_TEMPLATE add issue template for flaky tests (#15966) 2024-04-17 07:44:40 +00:00
scripts update go-change to the latest version (#15594) 2024-03-05 12:42:05 +00:00
workflows Download Pulumi Cron: allow previous version for homebrew and chocolatey (#16809) 2024-07-26 11:11:00 +00:00
CODEOWNERS add CODEOWNERS file (#15438) 2024-02-16 11:31:23 +00:00