Commit Graph

96 Commits

Author SHA1 Message Date
Justin Van Patten 7cc442b73f
Revert temp changes to unblock the v3.88.1 release ()
The remaining steps for the v3.88.1 release have been manually
dispatched, so we can revert the temporary changes from
https://github.com/pulumi/pulumi/pull/14163.
2023-10-12 01:18:08 +00:00
Justin Van Patten c922c33862
Temporary changes to unblock v3.88.1 release ()
See individual commit descriptions for details.
2023-10-11 22:58:47 +00:00
Christian Nunciato b801d80be5
Don't dispatch the smoke-test-cli workflow to pulumi/examples on release 2023-08-04 13:28:36 -07:00
Justin Van Patten 34fdcd3664 Revert "Temp changes to unblock the release"
This reverts commit 3a18c14586.
2023-06-30 10:00:27 -07:00
Justin Van Patten 3a18c14586 Temp changes to unblock the release
Publishing v3.74.0 to npm failed with `../../scripts/publish_npm.sh: line 13: my_array[2]: unbound variable`.

This commit temporarily changes the `publish_npm.sh` script to not have the unbound variable and comments out jobs in the release workflow that already succeeded, and adds a way to manually dispatch the release workflow to unblock the release. Will use that to re-run the release workflow.

Afterwords, we can revert and address the actual issue.
2023-06-30 07:42:06 -07:00
Fraser Waters 2b61e37f24 Update pulumictl 2023-06-29 11:09:56 +01:00
Robbie McKinstry 0cf19786f6
CI: Node 14 => Node 16 2023-05-09 17:02:08 -04:00
Christian Nunciato 8d7ecccfd7
Don't run the `trigger-cron` workflow on pulumi/templates on release 2023-04-17 12:55:24 -07:00
Abhinav Gupta e8c8e3b82e
ci: Run action-install-gh-release with auth
We have a few places in CI where we use action-install-gh-release
to download and install specific or latest binary releases of a
dependency.

Nearly all these steps, besides the one in ci-test-codegen,
were unauthenticated.
This caused us to run into rate limits with the GitHub API
when trying to get the latest release and resulted in delays like:

```
Run jaxxstorm/action-install-gh-release@v1.7.1
==> System reported platform: linux
==> Using platform: linux
==> System reported arch: x64
==> Using arch: x64
Warning: RateLimit detected for request GET /repos/{owner}/{repo}/releases/tags/{tag}.
Retrying after 3300 seconds.
Error: The operation was canceled.
```

This sets GITHUB_TOKEN for all instances of this step
so that we're less likely to get rate limited by GitHub on this.
2023-03-01 17:05:40 -08:00
Robbie McKinstry 62cf42abe9
Add dotnet back into the matrix 2022-12-20 16:06:54 -05:00
Robbie McKinstry e15e7274e6
Remove Dotnet from release step of GH workflow 2022-12-19 16:07:49 -05:00
Aaron Friel 12ca78ee61 ci: Re-enable version sets for .NET, test GA version of 6 and 7 2022-11-11 11:28:13 -08:00
Aaron Friel 8b1b37d82f ci: Update post-release PR to align with release process 2022-10-18 22:45:59 -07:00
Aaron Friel 91756bc1e3 fix(ci): Disable setup-dotnet action, rely on globally installed dotnet 2022-10-11 08:53:00 -07:00
Fraser Waters 0479db5768 Actually do the homebrew release 2022-10-06 08:56:19 +01:00
Aaron Friel 6ef7ef64d6 ci: Enable testing of language version sets 2022-09-21 09:48:38 -07:00
Aaron Friel 37ac68d36e ci: Enable updating Homebrew Tap repository on release 2022-09-19 16:13:38 -07:00
Aaron Friel 272b987791 ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
Robbie McKinstry ac54732a36
Bump Linter Version to v1.47.3 ()
* fix: handle exception for main not found in python ()

Improve error message when pulumi-python cannot find a main program.

* Bump golangci-lint version to v1.47.3

Co-authored-by: stefins <stefin2016@gmail.com>
2022-09-08 17:14:59 -04:00
Zaid Ajaj 846b7b88cb
dotnet program-gen now targets .NET 6 ()
* dotnet program-gen targets .NET 6

* changelog entry

* Update GH workflows to use .NET 6

* Enable DOTNET_ROLL_FORWARD=Major for GH workflows

* Expose GeneratePrograms with ability to provide generation options. Use specialized options for import

* Bump dotnet test projects TFM and relax warnings as errors

* refactor code according to Ian's comments

* Include error in generator diagnostics when unable to find function schema

* remove specialized version of GenerateProgram for import and refactor lowerExpression

* remove AcceptCodegenChanges from program driver

* dotnet integration tests updated to net6.0

* Generate return await on top-level Deployment.RunAsync
2022-07-21 21:04:02 +02:00
Zaid Ajaj 6feb8bf16c
Bump pulumictl v0.0.31 -> v0.0.32 () 2022-07-06 11:59:43 +02:00
Anton Tayanovskyy 472c6ce46e
Use goreleaser prebuilt ()
* Start simplifying build.yml

* Use updated code

* Split goreleaser build files by OS

* Fixup PR goreleaser-flags

* Try to fix test.yml downloading of binaries

* Copy test.yml changes to test-fast.yml

* Goreleaser file format

* Use prebuilt builder in .goreleaser*.yml

* Do not tidy in prep-for-goreleaser.sh

* Fix build.yml args

* Update publish-binaries and how it is called

* Use local test-fast.yml in master.yml

* Set GORELEASER_KEY

* Drop PREBUILT support from go-wrapper

* Restore executable bit on downloaded artifacts

* Cache restore-key and comment fix

* Reset cache key to get smaller caches

* Workaround: manually install pulumi-language-python-exec script

* Unify build files

* Fix env syntax

* Fix test.yml GHA-isms

* Fix bad merge
2022-06-01 09:00:43 -04:00
Anton Tayanovskyy 911e1fc091
Pre-compute versions as an artifact ()
* Pre-compute versions as an artifact

* Fix typo
2022-05-27 17:31:15 -04:00
Kyle Dixler c11bb934a9
Update CHANGELOG_PENDING.md ()
* Update CHANGELOG_PENDING.md

* reenable tests
2022-05-27 13:53:43 -07:00
Kyle Dixler 69db8b6602
disabled tests to workaround protobuf issues () 2022-05-27 11:27:37 -07:00
Anton Tayanovskyy 83ea0bd923
Pin and enable caching installed tools ()
* Pin and enable caching installed tools

* Try 1.7.1
2022-05-20 11:36:02 -04:00
Kyle Dixler 3a8849d457
uncommented tests () 2022-05-20 07:13:16 -07:00
Aaron Friel 330bdf84f9
Prepare for 3.33.1 release ()
* [ci] pass through github token to publish workflow

* [ci] temporary: omit tests to validate re-release hypothesis

* [chore] add note to changelog
2022-05-19 16:05:30 -07:00
Anton Tayanovskyy b862552248
Fix secret name typo () 2022-05-18 22:08:13 -04:00
Anton Tayanovskyy 2bd43d9eaf
Fix "secret name GITHUB_TOKEN cannot be used" () 2022-05-18 18:35:04 -04:00
Anton Tayanovskyy d9a1ca200f
Fixes checksum validation issues and factors out publish-binaries.yml ()
* Dedicated workflow publish-binaries.yml

* Use factored out code in master.yml

* Use factored out code in prerelease.yml

* Use factored out code in release.yml

* Small consistency fixes

* Do not specify platform

* Inspect logs

* Compensate for goreleaser 1.8.3 amd64_v1 trick

* Revert run-build-and-acceptance-tests changes

* Remove temp branch name

* Spacing

* Inherit secrets

* Explicit secret passing to pass actions lint
2022-05-18 18:18:50 -04:00
Aaron Friel 6978cf7459 fixup: artifact dist 2022-05-04 10:00:53 +02:00
Aaron Friel 99e789e708 ci: don't run release on prerelease tags 2022-05-04 10:00:53 +02:00
Aaron Friel 4bebb8dc70 ci: include additional language providers in packages 2022-05-04 10:00:53 +02:00
Fraser Waters 535711ba57
Update jaxxstorm/action-install-gh-release to latest version () 2022-04-20 11:57:48 +01:00
Fraser Waters 54b842b4c1
Add missing matrix blocks to workflows () 2022-03-25 17:54:31 +00:00
Fraser Waters 9b921b7e64
Consistently use actions/setup-python@v3 ()
* Consistently use actions/setup-python@v1

* Try v3
2022-03-25 16:15:57 +00:00
Fraser Waters fadfac075e
Lock golangci-lint at v1.44, the last 1.17 go image ()
* Lock golangci-lint at v1.44, the last 1.17 go image

* Add comment, fix up other image versions
2022-03-24 11:07:48 +00:00
Aaron Friel 968ccd240a
ci: fix needs: test, step no longer exists () 2022-03-16 13:56:19 -07:00
Aaron Friel 25457d472b
ci: add platform as input to test jobs, run full test suite only for linux on critical path () 2022-03-16 11:40:56 -07:00
Aaron Friel 4a7ece3335 ci: disable dotnet telemetry, emit version 2022-03-15 14:55:22 -07:00
Zaid Ajaj d09e749627 Dispatch winget-deploy event on new releases 2022-03-14 18:25:19 +01:00
Aaron Friel 08d3f56982 ci: comprehensive caching 2022-03-06 14:45:26 -08:00
Aaron Friel 54a0e93f1e ci: consistent go between shared build & per-plat tests 2022-02-22 11:09:51 -08:00
Anton Tayanovskyy a2b296eb1e
Simpler x-plat testing in release.yml; lighten etc subset () 2022-02-04 10:16:35 -05:00
Anton Tayanovskyy eb975813f4
Do not rebuild Go binaries in release.yml, use testsed builds ()
* Do not rebuild Go binaries in release.yml, use testsed builds

* Ensure checksum mismatch blocks partial releases (side-effects)

* Install goreleaser-filter in the right job
2022-01-31 16:01:03 -05:00
Anton Tayanovskyy cea1c18b45
Ignore checksum mismatch temporarily () 2022-01-28 09:11:51 -05:00
Anton Tayanovskyy 3b25b20457
Use goreleaser builds everywhere ()
* Remove windows-build

* Factor out test.yml

* Factor out build.yml an test.yml everywhere

* Verify checksums after releasing

* Split out test-fast.yml

* Use test-fast.yml in PRs

* Fix master checksums check

* Revert python->python3 default switch, limit to CI
2022-01-10 20:56:04 -05:00
Anton Tayanovskyy bf47336db3
Update action-install-gh-release to 1.3.1 () 2021-12-16 15:05:29 -05:00
Justin Van Patten 096b667ee1
Replace the use of pipenv with Python's venv ()
We've had a few issues in the recent past related to pipenv oddities in
CI which lead us to temporarily globally install the Python SDK in CI.

This change removes the use of pipenv in favor of Python's built-in
venv and avoids globally installing the Python SDK.
2021-12-07 07:59:07 -08:00