Commit graph

5574 commits

Author SHA1 Message Date
Paul Stack
c389dec868
Ensure multi-line deprecation warnings are escaped correctly in Python (#5718)
Fixes: https://github.com/pulumi/pulumi-vsphere/issues/143
2020-11-09 14:28:28 +00:00
Paul Stack
3d8068e355
adding the import documentation where specified (#5667) 2020-11-09 14:12:58 +00:00
Evan Boyle
98a048b716
Turn Automation API unmarshaling error into AutoError for Go SDK preview ops (#5715) 2020-11-08 18:53:05 -08:00
Bo-Yi Wu
e8880e2181
Support custom stack name from env in the action (#5546) 2020-11-07 10:08:01 -08:00
stack72
8b8b538d08 Prepare for v2.13.2 release 2020-11-07 10:14:03 +00:00
Justin Van Patten
88f6b4c560
Report feature "resourceReferences" is not supported (#5709)
This feature isn't fully supported yet, so stop reporting it is.
2020-11-06 18:56:23 -08:00
stack72
ff22649925 Prepare for v2.13.1 release 2020-11-06 20:49:20 +00:00
Paul Stack
8685f96ce6
Ensure pulumi history marks secrets that can't be un-encrypted as such (#5701) 2020-11-06 19:54:33 +00:00
Pat Gavlin
f6b687ea03
Fix feature support checks in the Python SDK. (#5702) 2020-11-06 19:53:24 +00:00
Komal
00f8966a9a
[codegen/nodejs] - Fix typescript enum issues (#5696)
Co-authored-by: Levi Blackstone <levi@pulumi.com>
2020-11-06 09:29:49 -08:00
Komal
e9dbada593
[codegen/dotnet] - Enums (#5551) 2020-11-06 09:01:03 -08:00
RyanW02
90fbe4bc8f
Add boolean values to Go SDK (#5647) (#5687)
* Add boolean values to Go SDK (#5647)

* Update changelog
2020-11-05 13:33:58 -08:00
Levi Blackstone
8d38ebb407
Update Helm stable repo link (#5693) 2020-11-05 20:31:40 +00:00
stack72
f22b47e54f Prepare for v2.13.0 release 2020-11-04 21:55:05 +00:00
Paul Stack
d43f8bd311
Fix the go sum files to ensure non dirty tree (#5683) 2020-11-04 20:04:03 +00:00
Pat Gavlin
44376738f6
Add resource modules. (#5645)
This is necessary due to the way we've factored the libraries imported
by users into modules. The primary alternative is to ensure that each
child module imports the root module for a package and registers itself
with that package where necessary to prevent circular dependencies. This
simplifies the core SDKs slightly at the cost of greater complications
in the generated SDKs; the approach taken by these changes seems like a
more maintainable option.

Contributes to #2430.

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-11-04 10:24:41 -08:00
Paul Stack
596ee7c668
Ensure CLI doesn't panic when trying to decrypt a config value in stack history (#5680) 2020-11-04 17:40:17 +00:00
Paul Stack
29fe40d5c7
Fix release steps for choco, docs, homebrew and docker (#5618) 2020-11-04 17:34:32 +00:00
Paul Stack
a42bafcf5c
Ensure the CLI doesn't panic when trying to build a graph for a stack with no snapshot (#5678)
Fixes: #4952
2020-11-04 17:33:39 +00:00
Lee Briggs
4d96994fd1
switch uuid packages (#5608)
Co-authored-by: Pat Gavlin <pat@pulumi.com>
2020-11-04 03:13:04 +00:00
Komal
b2a39252c2
Fix windows-build workflow (#5677)
Co-authored-by: Paul Stack <public@paulstack.co.uk>
2020-11-04 02:20:15 +00:00
Paul Stack
518d458766
Upgrade the build to target Node14 now that it is LTS (#5673) 2020-11-04 01:25:44 +00:00
Paul Stack
056c82cd09
Ensure CLI doesn't panic when using pulumi watch and ComponentResources (#5675) 2020-11-04 01:14:43 +00:00
Komal
f1f6a126bc
Support python 3.9 (#5669)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
Co-authored-by: stack72 <public@paulstack.co.uk>
2020-11-03 16:28:45 -08:00
Pat Gavlin
696cff10ec
Add engine support for getResource. (#5646)
The langauge SDKs will use this function to fetch the state required to
deserialize a resource reference. SDK support will be added as a follow-up
change.

Contributes to #2430.
2020-11-02 13:36:12 -08:00
Komal
84d9947c6b
[sdk/dotnet] - Support enums (#5614)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-10-30 13:08:32 -07:00
Paul Stack
b2d06daae1
Trying to solve Python build on windows (#5649) 2020-10-30 12:13:59 +00:00
Levi Blackstone
5188ec4c9f
[codegen/schema] Add support for external schema refs (#5606) 2020-10-29 17:41:12 -06:00
Justin Van Patten
855f14c053
Support remote components in Go (#5558) 2020-10-29 15:13:17 -07:00
Mikhail Shilkov
5cef84f036
Read .NET plugin name from version.txt (#5629) 2020-10-28 15:53:29 +01:00
Pat Gavlin
3d2e31289a
Add support for serialized resource references. (#5041)
Resources are serialized as their URN, ID, and package version. Each
Pulumi package is expected to register itself with the SDK. The package
will be invoked to construct appropriate instances of rehydrated
resources. Packages are distinguished by their name and their version.

This is the foundation of cross-process resources.

Related to #2430.

Co-authored-by: Mikhail Shilkov <github@mikhail.io>
Co-authored-by: Luke Hoban <luke@pulumi.com>
Co-authored-by: Levi Blackstone <levi@pulumi.com>
2020-10-27 10:12:12 -07:00
Paul Stack
83f2aa613b
Adding the Venafi provider to the docs generation (#5620) 2020-10-23 20:25:37 +01:00
stack72
0173ab41dd Ensure the PULUMI_GO_DEP_ROOT variable as set as part of release script 2020-10-23 13:30:31 +01:00
stack72
633ad5abdd Ensure format of ssetting GitHub Action Environment variables is correct 2020-10-23 12:36:09 +01:00
stack72
c4fd2bec7c Fixing up release yaml to ensure env var is set against chocolatey dispatch command 2020-10-23 11:54:13 +01:00
stack72
d76c1e4994 Prepare for v2.12.1 release 2020-10-23 11:46:32 +01:00
Lee Briggs
29b9116f8d
Fix outstanding issues with build (#5613)
* use correct token for homebrew build

* fix all outstanding issues with the build

* add chocolatey build

also fix token for docs build
2020-10-22 23:42:49 +01:00
Pat Gavlin
b516c8944f
Respect disableProviderPreview in providers. (#5612) 2020-10-22 21:25:05 +01:00
Paul Stack
b75ca2602f
Ensure policy events do not cause a panic when using preview --json (#5610) 2020-10-22 20:28:39 +01:00
Komal
ec9c02f578
Add tests for ts enums (#5605) 2020-10-22 10:53:29 -07:00
Komal
6949101428
Replace equal and deepEqual with strictEqual and deepStrictEqual (#5607) 2020-10-21 10:21:47 -07:00
Lee Briggs
89c956d189
add pulumictl to dependencies (#5592) 2020-10-19 15:28:17 -07:00
Paul Stack
7f0bc891c4
Ensure CLI doesn't panic when pulumi watch is used with policies enabled (#5569)
Fixes: #5561
2020-10-17 21:29:16 +01:00
Pat Gavlin
eaac9280f5
Refactor lifecycle tests. (#5575)
Move these tests to a new package, `lifecycletest`, that also exposes
APIs that allow consumers to implement their own lifecycle tests. This
is intended to ease the burden of testing plugin implementations and to
set the stage for cleaning up the lifecycle tests themselves.

This involves two changes to the public API, only one of which is
strictly necessary:

- The `host` field of `UpdateOptions` is now exported
- The `Journal` type has been moved from test-only code to the package
  proper

The former change is necessary, as it is the mechanism by which package
consumers may inject their own plugin loaders. I was reluctant to expose
this field originally because I wanted to ensure that the behavior of
packages that embed Pulumi is consistent with that of the Pulumi CLI
with respect to plugin loading. I now believe that the risk of consumers
changing this behavior outside of test scenarios is low enough that we
can expose this field. This may also be useful for future scenarios,
e.g. statically linking providers and Pulumi programs.

The latter change is not necessary, but fleshes out the engine package
into a more complete toolkit. Downstream consumers may use the Journal
type to conveniently implement snapshotting.
2020-10-15 10:35:09 -07:00
stack72
74cb4d1d89 Prepare for v2.12.0 release 2020-10-14 18:26:34 +01:00
Paul Stack
734979c296
Reintroduce the GOPATH env in windows master build (#5566) 2020-10-14 17:24:57 +01:00
Pat Gavlin
89c71bb49e
[cli] Add an import command. (#4765)
Co-authored-by: stack72 <public@paulstack.co.uk>
2020-10-14 12:51:53 +01:00
Mikhail Shilkov
29850869ef
Pass the preview flag to Update (#5562) 2020-10-13 21:02:19 +02:00
Levi Blackstone
99ba1ab943
[codegen/dotnet] Add support for ResourceType and isComponent (#5460) 2020-10-13 12:33:22 -06:00
Mikhail Shilkov
4f07891595
[dotnet] Add a lock around child resource manipulation (#5563)
[dotnet] Add a lock around child resource manipulation to prevent hashset concurrency issue

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-10-13 19:28:57 +02:00