Lee Briggs
09c73c1c9b
add build tags to all integration tests ( #5271 )
...
* add build tags to all integration tests
* fix go sdk imports
* make transformation Dirs global
2020-09-02 09:11:15 -07:00
Justin Van Patten
d583bcb915
[codegen/nodejs] Remove unnecessary ctor overload ( #5274 )
...
An extra constructor overload was recently added to pass undefined state from
`get` for resources that do not have any state inputs (notably Kubernetes
resources). This ended up breaking PaC's `validateResourceOfType`, which relies
on type inference in common usage to determine the resource's args type based
on the signature of the constructor.
This constructor overload isn't necessary. Instead, we can remove it and modify
how the constructor is called inside `get`. This also makes it so we're not
exposing details about `get`'s implementation in the public API.
2020-09-02 09:09:41 -06:00
evanboyle
d3cf745c59
First pass at Automation API README
2020-09-01 23:28:46 -07:00
Levi Blackstone
5ec0b985d4
[codegen/nodejs] Fix omitted output properties in constructor ( #5273 )
...
Changed the codegen in 6fd72dc0
but missed a condition that
is causing incorrect code in pulumi-kubernetes. This change
correctly generates inputs in both conditional branches.
2020-09-01 17:56:38 -06:00
Levi Blackstone
6fd72dc0db
[codegen/nodejs] Fix constructors to populate inputs on get ( #5272 )
2020-09-01 16:37:03 -06:00
Evan Boyle
a0275ffbd1
check for nil resource and invoke options in go sdk ( #5270 )
2020-09-01 09:59:27 -07:00
Lee Briggs
6329951499
Merge pull request #5264 from pulumi/jaxxstorm/go-test-replace
...
improve go mod replace logic
2020-08-31 20:28:43 -07:00
Lee Briggs
f5a54cf6bb
add more tests
2020-08-31 19:01:23 -07:00
Lee Briggs
ed94132080
make function name clearer
2020-08-31 18:57:05 -07:00
Lee Briggs
0459767ceb
handle cases with no subpackages
2020-08-31 18:54:14 -07:00
Lee Briggs
6c2f7994fa
refactor and add tests
2020-08-31 16:08:15 -07:00
Lee Briggs
759019a7ad
use string index to calc package name
2020-08-31 15:36:02 -07:00
Lee Briggs
40745c126c
improve go mod replace logic
...
this commit updates the way we do the go mod replace during tests
2020-08-31 13:45:10 -07:00
stack72
c5c6f7c780
Prepare for v2.9.2 release
2020-08-31 17:15:42 +01:00
Evan Boyle
741485d7d0
expose execution kind via update metadata ( #5258 )
2020-08-31 09:07:59 -07:00
Justin Van Patten
d13b840b43
Update changelog ( #5261 )
2020-08-31 08:58:43 -07:00
Evan Boyle
766bf10c15
Merge pull request #4977 from pulumi/evan/auto
...
Automation API - Go SDK Alpha
2020-08-28 20:25:19 -07:00
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