Commit graph

6431 commits

Author SHA1 Message Date
Fraser Waters
502917c0e7
Update golint in devcontainer (#8218) 2021-10-15 11:15:48 +01:00
Anton Tayanovskyy
1bd2e7beb4
Clean CHANGELOG_PENDING.md after v3.15.0 (#8229) 2021-10-14 21:12:12 -04:00
Anton Tayanovskyy
a6e02d6dd8
Update pkg and tests pulumi/sdk refs to v3.15.0 (#8227) 2021-10-14 21:05:42 -04:00
Anton Tayanovskyy
6a93a60115
Prepare for v3.15.0 release (#8221) 2021-10-14 16:32:39 -07:00
Anton Tayanovskyy
6766e53574
Pin Python versions for tests running on GHA Windows workers (#8225)
* Pin Python versions for tests running on GHA Windows workers

* Fix interpolation syntax
2021-10-14 15:08:49 -07:00
Ian Wahbe
dbc5979501
iwahbe/add aditional input registration types (#8204)
* Add registration for resources and enums

* Update tests

* Fix enum registration instances

* Update changelog

* Add the rest of the reference types

* Fix nit

* Remove reference from Map and Array types
2021-10-14 10:41:40 -07:00
Emiliza Gutierrez
793c7db172
Pin goreleaser to v0.181.1 (#8216) 2021-10-14 13:06:24 -04:00
Cameron Stokes
562c9da008
Fix help message to fix formatting on docs page (#8211) 2021-10-13 15:29:52 -07:00
Ian Wahbe
e07d96af9e
Pin grpc version (#8214) 2021-10-13 13:44:55 -07:00
Ian Wahbe
208c6ec44d
Add flag for input registration to the go schema (#8198)
* Add flag

* Update CHANGELOG_PENDING.md

* Add this feature to an orthogonal test
2021-10-12 10:15:24 -07:00
Fraser Waters
b56d902afe
Add that pulumictl is needed to make pulumi (#8196) 2021-10-12 09:51:12 -07:00
Ian Wahbe
b978a9f2d2
Accommodate - in base segments for baseImportPaths (#8190) 2021-10-12 09:13:13 -07:00
Ian Wahbe
28528ba26b
Fix default package name (#8187)
* Fix default pacakge name

* Update changelog

* Generalize naming functions
2021-10-11 15:28:11 -07:00
Ian Wahbe
5b7a65939b
Clarify error message language (#8188) 2021-10-11 15:21:58 -07:00
iamjekyun
1bb85ca98c
Only prune the trailing spaces in Python automation result (#8160) 2021-10-11 10:26:22 -07:00
Ian Wahbe
20287afdd7
Iwahbe/8000/uprgade go versions (#8171)
* Upgrade the pulumi cli to go1.17.1

* Run go mod tidy

* Update CHANGELOG_PENDING.md

* Update pkg/go.mod for go1.17

* Update sdk and tests
2021-10-11 09:47:08 -07:00
Komal
a9a62bd761
Determine secretness by checking raw string for the secret sentinel (#8179) 2021-10-08 14:43:10 -07:00
Paul Stack
d694276ed7
Ensure the command dispatch has correct access to new docker repo (#8167) 2021-10-08 17:51:25 +03:00
Alex Mullans
25a4c9d439
Merge pull request #8174 from pulumi/infin8x/update-package-name-map
Add more package names
2021-10-07 16:23:57 -07:00
Justin Van Patten
789e392194
[codegen/go] Emit input type registrations (#7959)
Register an appropriate input type with the runtime for each object
type and composite thereof (e.g. pointer, array, etc.). This does not
cover registrations for enum and resource input types, which will be
added with future changes.

Co-authored-by: Pat Gavlin <pat@pulumi.com>
2021-10-07 15:26:24 -07:00
Alex Mullans
12db3f73ea Add more package names 2021-10-07 14:17:12 -07:00
Anton Tayanovskyy
6f8d411bc4
5758 for Node JS (#8047)
* Implement 5758 for Node JS

* Codegen tests

* Remove typo
2021-10-07 15:39:19 -04:00
Pat Gavlin
3a545de34a
[developer-docs] Document resource import. (#8137)
These changes add a page to the developer docs that describes the design
and implementation of the `import` resource option and the `pulumi
import` command.

Co-authored-by: Levi Blackstone <levi@pulumi.com>
2021-10-07 12:14:37 -07:00
Ian Wahbe
e1f0976667
Use importBasePath before name if specified (#8159)
* Use importBasePath before name if specified

This is a go specific code change. We should clarify in the docs how
`name`, `importBasePath` and `rootPackageName` interact.

* Update CHANGELOG_PENDING.md

* Test package naming

* Explain test and remove debugging print

* Comply with linter
2021-10-07 11:56:44 -07:00
Anton Tayanovskyy
32695f7022
Minimally extend .NET SDK to support 5758 (#8142)
* Minimally extend .NET SDK to support 5758

* Retract CodegenUtilities

* Add CHANGELOG_PENDING
2021-10-07 09:51:24 -04:00
Josh Kodroff
72d48f162e
Change CI and prerelease builds to send dispatches. (#8135) 2021-10-07 01:26:17 +03:00
Anton Tayanovskyy
4dd5022225
Improve concurrent ID computation for /run-acceptance-tests (#8148)
* Improve concurrent ID computation so /run-acceptance-tests ids are unique and do not conflict

* Fix syntax

* More toJSON fixes

* Flip if-then-else branches

* Clean up comments
2021-10-06 15:19:51 -04:00
Emiliza Gutierrez
9d0c224b35
cleanup changelog pending (#8152) 2021-10-06 12:02:14 -07:00
Emiliza Gutierrez
a1b6b1ee6a
update go.sum files (#8151) 2021-10-06 11:54:59 -07:00
Emiliza Gutierrez
083ea657c1
Updating version of pulumi sdk used to v3.14.0 (#8150) 2021-10-06 11:30:24 -07:00
Emiliza Gutierrez
e5f7349576
Prepare for v3.14.0 release (#8149) 2021-10-06 11:15:50 -07:00
Anton Tayanovskyy
19a18e7b53
Bring back PR automatic outdated commit check pre-emption (#8145)
* Bring back PR automatic outdated commit check pre-emption

* Trigger a re-run
2021-10-06 13:35:38 -04:00
Liam White
f545f56f1b
Turn off grpc info log in Provider (#7891)
Resolves https://github.com/pulumi/pulumi/issues/7156

Signed-off-by: Liam White <liam@tetrate.io>
2021-10-06 09:10:00 -07:00
Anton Tayanovskyy
5f9f38c9c9
Do not share maps so tests can run in parallel (#8136)
* Do not share maps so tests can run in parallel

* Fix comment

* Try not to break dependencies

* Address PR feedback

* Fix downstream compilation failure

* Fix lint

* Address PR feedback
2021-10-06 11:03:21 -04:00
Komal
b6c6108edd
[sdk/python] - Python 3.10 compatibility (#8130) 2021-10-05 11:43:52 -07:00
Praneet Loke
13a0c8b2c5
[codegen/docs] Add Nomad to the docs gen title lookup (#8128) 2021-10-04 23:10:49 -07:00
alexander-minchin
43f73f2cc1
Fix typo in Output.apply docstring (#8133) 2021-10-04 18:06:43 -07:00
Anton Tayanovskyy
1ee85d8d2f
Fix 8110 (#8116)
* Add a test demonstrating the problem

* Fix the bug

* Accept changes over the example set

* Accept go changes

* Accept python codegen; avoid nil lang info panic

* Accept .NET changes, compile

* Accept docs changes

* Add changelog notes

* Fix lint

* Add parens sparingly

* Flatten unions

* PR feedback
2021-10-04 17:26:49 -04:00
Jeremy Dartigalongue
25f396bf49
Fix Go automation API --target / --replace args (#8109) 2021-10-04 11:55:23 -07:00
Anton Tayanovskyy
836b410911
Disable ConcurrentUpdateError test (#7953)
* Better logging from ConcurrentUpdateError test

* Disable the test
2021-10-04 13:31:31 -04:00
Alex Mullans
8208191795
Merge pull request #8119 from pulumi/infin8x/provider-names
Update gen.go
2021-10-04 07:52:56 -07:00
Pat Gavlin
4eec3b7e1b
[sdk/python] Add a smoke test for output deps (#8113)
Ensure that output property dependencies are deserialized and translated
properly.

Fixes #7444.

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-10-02 09:06:11 -07:00
Alex Mullans
d31c769267
Update gen.go 2021-10-01 14:46:46 -07:00
Emiliza Gutierrez
33953c0a6b
Revert "Cancel checks on outdated PR commits (#8016)" (#8118)
This reverts commit a9c9853e85.
2021-10-01 14:31:51 -07:00
Justin Van Patten
230f4ee006
Support "lifting" single-valued method returns to their return type (#8111)
This change allows lifting single valued method returns rather than using an output structure.
2021-10-01 11:33:02 -07:00
Praneet Loke
8f89ab6e3a
[codegen/docs] Generate a package tree that can be serialized as JSON (#8102)
* Add an initialize func. Add a new func that generates the package tree
2021-09-30 17:35:44 -07:00
Pat Gavlin
5f9d211cae
[testing] Stack context for value generation (#8108)
These changes add a context type to `resource/testing` that can be used to
generate property values that are valid with respect to certain rules. The
context represents a Pulumi stack, and contains a project name, stack name,
and a list of resources.

- URNs generated using a context will always use the context's project
  and stack name
- Resource references generated using a context will always refer to
  resources in the context's resource list
- Output values generated using a context will always pull dependencies
  from the context's resource list
2021-09-30 14:39:09 -07:00
Anton Tayanovskyy
98ef06ecb8
Go codegen flag to disable fnOutput generation to save space (#8106) 2021-09-30 14:56:42 -04:00
Pat Gavlin
10816d6414 [developer-docs] Change some type system terms.
- Remove a reference to monads
- s/type constructor/type function/
2021-09-30 09:51:34 -07:00
Pat Gavlin
f21eda521f
[codegen] Rename the PCL package. (#8103)
It's just confusing that PCL lives in a package named `hcl2`.
2021-09-29 20:11:56 -07:00