evanboyle
5458e2f685
add expectnochanges to stack.refresh
2020-08-28 19:17:46 -07:00
Evan Boyle
09964d2031
Merge branch 'master' into evan/auto
2020-08-28 19:11:14 -07:00
evanboyle
c23f26b335
docs and style updates
2020-08-28 19:10:39 -07:00
Justin Van Patten
69fbd70330
Python: Ignore internal properties when unmarshaling ( #5251 )
2020-08-28 18:26:16 -07:00
Justin Van Patten
493136d2f0
GHA: Use same commands the CLI does to create venv ( #5206 )
...
Use the same commands the CLI does to create venv for Python projects, and add a test.
2020-08-28 16:08:32 -07:00
evanboyle
b0d91478bf
docs updates
2020-08-28 14:21:56 -07:00
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
Evan Boyle
ed2e5c6680
Merge branch 'master' into evan/auto
2020-08-28 08:48:08 -07:00
evanboyle
aba397a8c8
hide host command
2020-08-28 08:43:35 -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
evanboyle
cf247c1245
update file headers
2020-08-27 10:43:23 -07:00
Justin Van Patten
910aa96016
[codegen/python] Add type annotation to resource_name arg ( #5217 )
2020-08-25 12:07:08 -07:00
evanboyle
7fcf833b80
changelog
2020-08-25 12:05:27 -07:00
evanboyle
ab03c53487
automation api godoc
2020-08-25 11:16:54 -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
evanboyle
463c7b6588
Merge branch 'master' of https://github.com/pulumi/pulumi into evan/auto
2020-08-24 17:51:40 -07:00
evanboyle
40701e6420
outputs should be map[string]interface{}
2020-08-24 06:51:49 -07:00
evanboyle
ec98494e5a
add auto tests to Makefile and fix up for CI
2020-08-23 21:36:21 -07:00
evanboyle
27db14791a
auto error tests
2020-08-23 19:43:51 -07:00
evanboyle
47fb5a128d
Add functional options for Up/Pre/Refresh/Destroy
2020-08-23 10:25:17 -07:00
Mikhail Shilkov
4c42e5e850
Relax submodule generation for Node and Python ( #5204 )
2020-08-23 00:00:21 +02:00
evanboyle
fa1590a67f
propagate nested stack error
2020-08-22 12:01:55 -07:00
evanboyle
458fd59c24
Make Workspace and Stack commands contextful
2020-08-21 22:20:32 -07: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
evanboyle
4dacd506d3
propagate env vars and extensibility points from Workspace to Stack
2020-08-21 16:22:45 -07:00
Praneet Loke
072aac2c79
[codegen/docs] Lower-case the module name for Go. ( #5207 )
2020-08-21 15:34:57 -07:00
evanboyle
cc7cf7c476
Add Stack.Info
2020-08-21 15:26:58 -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
evanboyle
3531635294
Add NewStack helper methods and tests
2020-08-21 09:49:46 -07: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
evanboyle
7b58202938
Implement Stack based on Workspace interface
2020-08-20 19:37:39 -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
evanboyle
535d48ca72
Round out LocalWorkspace impl
2020-08-19 21:23:53 -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
evanboyle
93ff03a9d3
LocalWorkspace initial implementation
2020-08-19 11:13:42 -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
evanboyle
4a44b27b40
add automation api workspace interface
2020-08-18 11:07:03 -07:00
Luke Hoban
2470d59efb
Revert "Added --suppress-permalink option ( #5177 )" ( #5185 )
...
This reverts commit f8d929d197
.
2020-08-18 08:50:44 -07:00