Scott Murray
60fcc1951b
Added --suppress-permalink option
...
Added `--suppress-permalink` option to suppress the permalink output which addresses https://github.com/pulumi/pulumi/issues/4103
2020-08-28 21:37:48 +01:00
Jamie Kinkead
cb7fa3029e
Increase visibility of console link ( #5222 )
2020-08-28 13:08:10 -07:00
Mikhail Shilkov
81992485dd
Full name for aliases in .NET codegen ( #5245 )
2020-08-28 18:57:57 +02:00
Justin Van Patten
7eb99fe7bb
[codegen/python] Emit properties named "property" last ( #5247 )
...
This avoids conflicting with the built-in `@property` decorator function for other properties.
2020-08-28 08:55:02 -07:00
stack72
c42e3ca80a
Prepare for v2.9.1 release
2020-08-27 23:07:46 +01:00
Komal
5caa5616f7
[codegen/nodejs] - Fix whitespace in genNamespace code ( #5240 )
2020-08-27 14:50:34 -07:00
Justin Van Patten
16d226d667
Avoid raising unexpected type errors with Any
( #5238 )
...
Avoid raising an `AssertionError` due to unexpected types when a type is annotated as `Any`.
2020-08-27 12:19:46 -07:00
Justin Van Patten
910aa96016
[codegen/python] Add type annotation to resource_name arg ( #5217 )
2020-08-25 12:07:08 -07:00
Justin Van Patten
502685ed0e
[codegen/python] Fix resource outputs type annotations ( #5221 )
...
These should be typed as `Output[T]`.
2020-08-25 11:07:22 -07:00
Mikhail Shilkov
4c42e5e850
Relax submodule generation for Node and Python ( #5204 )
2020-08-23 00:00:21 +02:00
Paul Stack
099d444306
Merge pull request #5209 from pulumi/jaxxstorm/windows-pr
...
fix the windows pr build api url
2020-08-22 00:40:02 +01:00
Praneet Loke
072aac2c79
[codegen/docs] Lower-case the module name for Go. ( #5207 )
2020-08-21 15:34:57 -07:00
Lee Briggs
0a53cb2c99
fix the windows pr build api url
2020-08-21 14:11:49 -07:00
Mikhail Shilkov
b9b3c836bc
Exclude more names from Python name validation ( #5205 )
2020-08-21 20:41:33 +02:00
Justin Van Patten
6292543342
[codegen/python] Fix unintended name changes from PyName and some whitespace cleanup ( #5202 )
...
If PyName(name) != PyNameLegacy(name), we panic, unless name is in an exclusion list.
Once all providers have been updated to this codegen (and we've added to `useLegacyName` and `excludeFromPanic` as appropriate), we can go back and remove the panic behavior along with the `excludeFromPanic` behavior.
2020-08-20 20:51:32 -07:00
Justin Van Patten
ca7536e17f
[codgen/python] Always consider the config subpackage non-empty ( #5195 )
...
If there's a config subpackage, we had explicitly added it to the map of modules because there *are* config properties, so we know it will be non-empty. This change ensures the config subpackage is imported in the top-level package's __init__.py and that the config subpackage itself has an __init__.py emitted.
2020-08-20 11:07:09 -07:00
Evan Boyle
0f98bac105
fix unchecked type assertion ( #5194 )
2020-08-19 13:58:13 -07:00
stack72
bfb43f047d
Prepare for v2.9.0 release
2020-08-19 20:00:57 +01:00
Praneet Loke
e3b436211d
[codegen/docs] Link to Pulumi.Input-1.html when generating the doc link for the Pulumi.Input type. ( #5187 )
2020-08-19 11:21:54 -07:00
Justin Van Patten
92c0d1dc30
Docgen changes for Python input/output types ( #5137 )
...
Resource doc changes for Python:
- Types are included in constructor/function args
- The property names for input/output types are now always snake_case, regardless of the generated mapping tables, to match the new input/output classes
- Some other minor tweaks to function/constructor signatures (e.g. removed the `__props__` arg, as it's not meant to be used directly; use `@staticmethod` for static `get` methods).
2020-08-19 08:34:06 -07:00
Mikhail Shilkov
6cc7b3c107
Docs for versioned modules ( #5183 )
2020-08-19 14:57:39 +02:00
Justin Van Patten
78edb28590
Add Python input/output classes to provider codegen ( #5034 )
...
This updates the Python codegen to emit input/output classes.
2020-08-19 01:16:47 -07:00
Justin Van Patten
cd9fae599d
Python SDK changes to support input/output classes ( #5033 )
...
Python SDK changes to support strongly-typed input/output "dataclasses".
2020-08-19 01:15:56 -07:00
Ollie Gray
6eb475ab95
Enable pushing to Artifact Registry in actions ( #5075 )
2020-08-19 00:29:22 -07:00
Luke Hoban
2470d59efb
Revert "Added --suppress-permalink option ( #5177 )" ( #5185 )
...
This reverts commit f8d929d197
.
2020-08-18 08:50:44 -07:00
Scott Murray
f8d929d197
Added --suppress-permalink option ( #5177 )
2020-08-17 22:11:44 -07:00
Vivek Lakshmanan
8777dd77ca
Merge pull request #5170 from pulumi/vl/ResourceOptions
...
Map python resource options to provider options
2020-08-17 17:36:05 -07:00
Vivek Lakshmanan
f6fd98544d
Update pkg/codegen/python/gen.go
...
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-08-17 16:58:59 -07:00
Komal
d7ce0e586c
[codegen/python] - Include single word props in casing tables. ( #5181 )
2020-08-17 16:44:55 -07:00
Vivek Lakshmanan
38387f1742
Set the snake case translation for provider input properties
...
Fixes https://github.com/pulumi/pulumi-kubernetes/issues/1244
2020-08-14 14:34:46 -07:00
Praneet Loke
99fcd359ee
[codegen/docs] Fix the case used in links for Node.js modules. ( #5165 )
2020-08-13 17:29:56 -07:00
Paul Stack
b273e1cbb1
Update issue templates
2020-08-12 20:16:34 +01:00
Paul Stack
712e453e31
Delete ISSUE_TEMPLATE.md
2020-08-12 20:16:03 +01:00
Paul Stack
3595312d64
Adding a default issue template ( #5133 )
2020-08-12 20:10:03 +01:00
Lee Briggs
3a01c0cde8
Merge pull request #5150 from pulumi/jar-extract
...
support extracting jar files
2020-08-12 09:58:26 -07:00
Albert Zhong
0dbc9fd3f2
[codegen/go] Remove go/gen_crd2pulumi ( #5166 )
2020-08-12 10:27:05 -06:00
Evan Boyle
c9d8549ae6
[Go Program Gen] Only generate a single literal when traversing a union type ( #5154 )
2020-08-11 11:43:56 -07:00
Paul Stack
8d72929c98
Merge pull request #5158 from pulumi/stack-history-command
...
The history command should be a subcommand of stack
2020-08-11 18:47:17 +01:00
stack72
d190247ede
The history command should be a subcommand of stack
...
Fixes : #5134
This ensures that `pulumi history` has been deprecated in favor of
the new `pulumi stack history` command. The deprecated command will
be removed in v3.0.0 of Pulumi
2020-08-11 17:52:51 +01:00
Paul Stack
44a806180b
Bump version of go-cloud to v0.20.0 ( #5156 )
2020-08-11 17:48:56 +01:00
Justin Van Patten
3601d710cc
Work around TS compiler error ( #5148 )
2020-08-11 06:35:12 -07:00
Trung Lê
4362744a7d
Fix typo ( #5153 )
2020-08-11 12:12:24 +01:00
Lee Briggs
c325e4f53b
Merge branch 'justin/testresource' into jar-extract
2020-08-10 18:14:43 -07:00
Justin Van Patten
7a3ef12134
Work around TS compiler error
2020-08-10 14:57:09 -07:00
Lee Briggs
574a9151db
support jar files
2020-08-10 14:15:35 -07:00
Albert Zhong
2cd0c000bd
[codegen] Add codegen/go/gen_crd2pulumi, clean up codegen/nodejs/gen_crd2pulumi ( #5116 )
...
* Add codegen/go/gen_crd2pulumi
* Properly generate Go CRD resources
* generate nodejs resources
* Remove nodejs/gen_crd2pulumi.go
* Remove generating funtions
2020-08-10 10:21:50 -07:00
Luke Hoban
5066ae3227
Fix support for CheckFailures in Python Dynamic Providers ( #5139 )
...
Fixes #5138 .
2020-08-10 09:28:25 -07:00
stack72
347a71b377
Prepare for v2.8.2 release
2020-08-07 21:36:09 +01:00
stack72
d03d2b1fc9
Merge branch 'preserve-config-order'
2020-08-07 21:32:21 +01:00
stack72
5f4bfab192
Ensure Project Stack is not loaded and saved unnecessariliy for default secrets manager
...
Fixes : #5126
In the newServiceSecretsManager, we were loading and saving the project stack
without understanding if any changes had actually been made - e.g. changing the
stack to be a new secrets provider
This has now been guarded against, tests added to understand when it will
actually be saved and we no longer get unnecessary config sorting when interacting
with a default stack AND no longer get an empty config map in our config
file when we initiate a new stack with a default secrets provider
2020-08-07 21:31:57 +01:00