Commit graph

5574 commits

Author SHA1 Message Date
Evan Boyle 3ba0c219db
fix lint error in Go SDK (#6276) 2021-02-08 12:09:20 -08:00
Paul Stack 5401057561
Move linting check into command-dispatch job (#6277)
This fixes not picking up linting issues when sending a PR as
the PR job uses `pull_request_target` which in turn only checks out
from master which is a security measure
2021-02-08 19:55:02 +00:00
Evan Boyle eefc104c2b
Add --limit flag to pulumi stack history and consume from automation api (#6257)
Adds a `--limit` flag to `pulumi stack history. This allows limiting to the last few entries rather than fetching the entirety of a stack's update history (which can be quite slow for stacks with lots of updates). Example: `pulumi stack history --limit 1` fetches the last history entry only. 

`stack.up` and related operations in the Automation API have been updated to consume this change, drastically reducing overhead.
2021-02-08 10:49:57 -08:00
Paul Stack a045a613f2
Revert "Split the windows build + testing to be separate jobs to allow for future language matrix tests" (#6274)
This reverts commit 2e695196ae.
2021-02-08 17:02:20 +00:00
Paul Stack 220f138120
Revert "Ensuring all of the windows cmd binaries are included in the master builds" (#6275)
This reverts commit 3ee48c64ed.
2021-02-08 17:01:59 +00:00
Paul Stack 3ee48c64ed
Ensuring all of the windows cmd binaries are included in the master builds (#6273) 2021-02-08 17:01:30 +00:00
stack72 ee5fd19a1b Forcing update of homebrew formulae before install pulumi in download cron 2021-02-08 11:22:16 +00:00
Paul Stack 2e695196ae
Split the windows build + testing to be separate jobs to allow for future language matrix tests (#6193) 2021-02-08 11:17:47 +00:00
stack72 6c9635c508 Updating the installation of Pulumi in the download cron tester 2021-02-07 19:36:02 +00:00
Christian Nunciato 40ce511a2b
Remove language SDK blocks from resource templates (#6270) 2021-02-07 19:31:05 +00:00
Komal f374b8a953
[python/sdk] - Correctly handle outputs with properties named "values" (#6264)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-02-05 17:16:13 -07:00
Komal 3a3b96de72
[sdk/python] - Gracefully handle monitor shutdown (#6249) 2021-02-04 20:28:39 -07:00
Paul Stack 059382c336
Adding a nightly cron job to ensure we are testing Pulumi install (#6246)
Fixes: #4132

This will test across all available download styles that are Pulumi
managed. I will not install anything like nixos etc
2021-02-04 14:57:44 +00:00
stack72 4c8e2c222d Ensuring that the correct RUNTIME_VERSION is passed as part of Dotnet SDK install in dockerfile.ubi 2021-02-03 22:34:24 +00:00
stack72 a1387c5d6c Prepare for v2.20.0 release 2021-02-03 20:40:11 +00:00
Paul Stack 8a6d81ef64
Ensure ubi container installs correct dotnet sdk version (#6245)
Fixes: #6185

This PR also addresses the fact that we create an image of
pulumi-nodejs:latest and then the ubi and debian builds override
that pulumi-nodejs:latest with their versions

this overwrite is actually last container wins. Therefore, we will
not be tagging the ubi and debian builds with latest to ensure that
latest is *actually* deterministic
2021-02-03 18:29:52 +00:00
Evan Boyle decfed0679
Improve nodejs automation api inline error handling (#6237) 2021-02-02 14:37:03 -08:00
Chris Smith b29f440f0e
Add comments (#6234) 2021-02-01 16:00:46 -08:00
Paul Stack e6dbf49364
Ensure nightly and master builds with an alpha build version are tagged dev (#6231) 2021-02-01 19:37:53 +00:00
Justin Van Patten e86a69bedd
[codegen/nodejs] Emit externally referenced resources/types (#6225) 2021-01-29 16:52:00 -08:00
Justin Van Patten 2779de38ea
[sdk/python] from_input: Unwrap nested outputs in input types (#6221)
`Output.from_input` deeply unwraps nested output values in dicts and lists, but doesn't currently do that for the more recently added "input types" (i.e. args classes). This leads to errors when using args classes with output values with `Provider` resources, which uses `Output.from_input` on each input property and then serializes the value to JSON in an `apply`. This changes fixes `Output.from_input` to recurse into values within args classes to properly unwrap any nested outputs.
2021-01-29 15:44:00 -08:00
Vivek Lakshmanan bc34c58883
Merge pull request #6224 from pulumi/vl/FixExtRef
[codegen/go]Handle arrays/maps of external refs as pointers
2021-01-29 14:34:56 -08:00
Vivek Lakshmanan 1452709e97 Fix test 2021-01-29 10:14:24 -08:00
Vivek Lakshmanan 7cba9df480 Handle arrays/maps of external refs as pointers 2021-01-29 10:12:17 -08:00
Paul Stack d3187d630f
Migrating to smoke-test-cli repository_dispatch event in examples repo (#6216)
This is a specific repository dispatch event that can be used for
updating and testing a CLI version
2021-01-28 19:28:13 +00:00
Justin Van Patten ca7dfdfcbc Prepare for v2.19.0 release 2021-01-27 17:40:21 -08:00
Justin Van Patten b3d11e1c32
Enable resource references by default (#6202) 2021-01-27 13:25:26 -08:00
Paul Stack d72b788011
Ensure Old Secrets Provider Details Removed when Changing to Passphrase (#6210)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-01-27 20:07:25 +00:00
Vivek Lakshmanan 30a4fc789b
Merge pull request #6209 from pulumi/vl/CollisionFixes
Various fixes to go codegen to address SDK compilation problems
2021-01-27 11:14:07 -08:00
Vivek Lakshmanan 82020af298 Various fixes go codegen to fix SDK compilation problems 2021-01-26 23:16:42 -08:00
Evan Boyle 8c6865af29
Always read and write nodejs runtime options from/to the environment (#6076) 2021-01-26 14:59:32 -08:00
Komal 216fd2bed5
Fix the rendering of ResourceOptions.merge (#6206) 2021-01-26 15:44:12 -07:00
Justin Van Patten d7dc6bf404
[codegen/dotnet]: Fix bugs referencing external resources/types (#6182)
- Avoids problematic `using` statements.
- Fixes fully qualified names of external resources.
- Avoids emitting directories with README.md files for external modules.
2021-01-26 11:02:34 -08:00
Evan Boyle 527b799974
[BREAKING] Remove unidiomatic numerical types from Go SDK (#6143) 2021-01-26 10:58:21 -08:00
Luke Hoban 6a598bd704
Avoid toStringing Output in debuggablePromise (#6174)
Promise leak debugging was accidentally toStringing an Output, leading to a red herring for several users trying to understand what was causing promise leaks.

Related to #6153 and #5853.
2021-01-27 05:52:09 +11:00
Komal 0f06e03931
Docstring fixups (#6194) 2021-01-25 12:22:17 -07:00
Fraser Waters 4fc745d807
Allow VERSION to be set explicitly (#6016) 2021-01-25 13:21:28 +00:00
Vivek Lakshmanan 54582e7c68
Merge pull request #6179 from pulumi/vl/FixEnum
[codegen/go] Fix default value handling for enums
2021-01-22 19:28:01 -08:00
Vivek Lakshmanan e2c1ec73aa
Merge pull request #6180 from pulumi/lblackstone/fix-go-codegen
[codegen/go] Handle hyphenated package names
2021-01-22 19:26:11 -08:00
Vivek Lakshmanan b8e0d53b9b Fix tests for other languages for updated enum test schema 2021-01-22 17:30:44 -08:00
Vivek Lakshmanan fd3bbca5aa Fix default value handling for enums 2021-01-22 17:30:44 -08:00
Levi Blackstone f5dab03846
[codegen/go] Handle hyphenated package names 2021-01-22 15:42:11 -07:00
Komal 51521bbe73
Improve automation-api docs (#6178) 2021-01-22 15:12:41 -07:00
stack72 3931d41047 Prepare for v2.18.2 release 2021-01-22 20:18:24 +00:00
Mikhail Shilkov 4335a44bfb
Relax the diff path check to avoid panic (#6159) 2021-01-22 12:00:44 +01:00
Lee-Ming Zen 044e37573e Remove checkout of head in PR workflow 2021-01-21 20:18:56 -08:00
Vivek Lakshmanan 06b7f1d91c
Merge pull request #6173 from pulumi/vl/FixTestGoMod
Cleanup test go.mod
2021-01-21 17:25:42 -08:00
Justin Van Patten dab47e9b40
[sdk/dotnet] RegisterResourceOutputs: Check for resource ref support (#6172)
.NET's implementation of RegisterResourceOutputs was always serializing resources as resource references, regardless of the monitor's reported support. This change fixes .NET to check if the monitor supports resource references, which is consistent with all the other languages, and with serialization code elsewhere in the .NET SDK.
2021-01-21 17:04:21 -08:00
Vivek Lakshmanan 88d54c0c64 Cleanup 2021-01-21 16:09:08 -08:00
Vivek Lakshmanan f5c76031ae Cleanup test go.mod
Follow up from https://github.com/pulumi/pulumi/pull/6124
2021-01-21 16:00:10 -08:00