pulumi/.github/workflows
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
..
ci-build-binaries.yml Use latest patch version of go in CI (#16609) 2024-07-10 10:15:40 +00:00
ci-build-sdks.yml Update `upload-artifact` and `download-artifact` actions (#16485) 2024-06-28 21:23:48 +00:00
ci-dev-release.yml Upgrade `aws-actions/configure-aws-credentials` (#16552) 2024-07-02 08:31:12 +00:00
ci-info.yml try to further reduce the pulumi bot token usage (#16647) 2024-07-15 10:38:44 +00:00
ci-lint.yml Use latest patch version of go in CI (#16609) 2024-07-10 10:15:40 +00:00
ci-prepare-release.yml try to further reduce the pulumi bot token usage (#16647) 2024-07-15 10:38:44 +00:00
ci-run-test.yml Use latest patch version of go in CI (#16609) 2024-07-10 10:15:40 +00:00
ci-test-docs-generation.yml Use latest patch version of go in CI (#16609) 2024-07-10 10:15:40 +00:00
ci.yml Upgrade `codecov/codecov-action` (#16553) 2024-07-02 07:52:51 +00:00
command-dispatch.yml ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
cron-direct-build.yml ci: Use latest version of actions/checkout (#15832) 2024-03-30 15:53:47 +00:00
download-pulumi-cron.yml Download Pulumi Cron: allow previous version for homebrew and chocolatey (#16809) 2024-07-26 11:11:00 +00:00
on-community-pr.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-merge.yml only retry tests when they are running in the merge queue (#16537) 2024-07-01 09:08:23 +00:00
on-pr-changelog.yml try to further reduce the pulumi bot token usage (#16647) 2024-07-15 10:38:44 +00:00
on-pr-close.yml [ci] Add downstream codegen tests back (#14582) 2023-11-28 15:15:20 +00:00
on-pr-default.yml Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
on-pr.yml try to further reduce the pulumi bot token usage (#16647) 2024-07-15 10:38:44 +00:00
on-push.yml reduce the usage of PULUMI_BOT_TOKEN (#16521) 2024-06-28 16:09:57 +00:00
on-release.yml ci: Use latest version of actions/checkout (#15832) 2024-03-30 15:53:47 +00:00
pr-test-acceptance-on-dispatch.yml avoid new issues being created when dispatched acceptance tests fail (#16318) 2024-06-05 08:12:30 +00:00
pr-test-codegen-downstream.yml Upgrade `aws-actions/configure-aws-credentials` (#16552) 2024-07-02 08:31:12 +00:00
pr-test-docs-gen-on-pr.yml ci: Clean up excess permissions, fix acceptance tests job 2022-09-15 17:48:16 -07:00
pr-test-docs-generation-on-dispatch.yml ci: Use latest version of peter-evans/create-or-update-comment (#15838) 2024-03-30 15:52:42 +00:00
rebase.yml ci: Use latest version of actions/checkout (#15832) 2024-03-30 15:53:47 +00:00
release-homebrew-tap.yml update homebrew tap push to use `main` (#16262) 2024-05-28 11:36:19 +00:00
release-pr.yml ci: Use latest version of actions/checkout (#15832) 2024-03-30 15:53:47 +00:00
release.pub ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.yml Upgrade `aws-actions/configure-aws-credentials` (#16552) 2024-07-02 08:31:12 +00:00
sign.yml Update `upload-artifact` and `download-artifact` actions (#16485) 2024-06-28 21:23:48 +00:00
trigger-homebrew-event.yml [ci] More fixes for the homebrew release job (#14482) 2023-11-03 02:15:57 +00:00
trigger-release-docs-event.yml ci: Use latest version of actions/checkout (#15832) 2024-03-30 15:53:47 +00:00