Pat Gavlin
e831ecbc0e
Update package references
2020-04-02 21:25:30 -07:00
Pat Gavlin
2f5238f130
Updates to the Pulumi HCL2 projection
...
- config variables are now specified as `config <name> <type>`
- output variables are now specified as `output <name> <type>`
- apply arguments are assigned better names by the apply rewriters
2020-04-02 21:25:30 -07:00
Pat Gavlin
89c9401fad
Appease the linter
2020-04-02 21:25:30 -07:00
Pat Gavlin
aa655c6076
Add a package for binding HCL2 as Pulumi config.
...
These changes add preliminary (read: incomplete) support for
representing Pulumi programs using HCL2. Language-specific code
generators can use this representation as a basis for understanding the
semantics of a Pulumi program.
2020-04-02 21:25:30 -07:00
Pat Gavlin
c5782115d2
Various updates to the HCL2 semantic model. ( #4281 )
...
- Improve support for printing and triva
- Add support for HCL2 type functions
- Add visitors for body items
2020-04-02 21:23:12 -07:00
Levi Blackstone
e92b1b4e8d
Add schema support for constant values ( #4283 )
...
Some properties have constant values, such as the
apiVersion and kind for the Kubernetes provider. Add
a Const field to the Property schema to support this.
2020-04-02 21:47:07 -06:00
Pat Gavlin
a597934b3c
Updates to the HCL2 syntax helpers. ( #4282 )
...
- Fix token mapping for template control structures
- Split tokens out into their own file
- Add factory methods for token types
2020-04-02 20:01:14 -07:00
Evan Boyle
3efbc3705d
Update go codegen to include usage hints on Input types ( #4279 )
2020-04-02 19:59:08 -07:00
Justin Van Patten
89ce65fcd8
Skip policy tests that cause concurrent Travis jobs to fail ( #4278 )
2020-04-02 15:45:00 -07:00
Justin Van Patten
dd104a00a7
Propagate secretness correctly in Python apply
( #4273 )
...
* Propagate secretness correctly in Python `apply`
* Improve `apply` test coverage
* Update CHANGELOG.md
2020-04-02 13:01:29 -07:00
Justin Van Patten
9c82975478
Remove [PREVIEW] from policy commands ( #4277 )
2020-04-02 11:53:41 -07:00
Luke Hoban
d018212adc
[codegen/docs] Skip adding Notes to package details if empty ( #4275 )
2020-04-02 11:26:11 -07:00
Luke Hoban
9e37741916
[Go] Ensure Apply handles nil
output values ( #4268 )
...
Fixes #4247 .
2020-04-01 17:39:01 -07:00
Luke Hoban
a0f615ad09
Add package details and atttribution to schema ( #4256 )
2020-04-01 17:22:23 -07:00
Lee Briggs
ffdf7355e2
Merge pull request #4266 from pulumi/jaxxstorm/py-version-fix
...
Suppress output correctly in git-diff
2020-04-01 13:37:48 -07:00
Lee Briggs
b23903603b
Suppress output correctly in git-diff
2020-04-01 13:35:16 -07:00
Justin Van Patten
344885823e
Add Python support to pulumi policy new
( #4263 )
...
Instead of always running `npm install`, if the Policy Pack is Python, emit instructions on how to install dependencies. Also minor cleanup/refactoring.
2020-04-01 13:31:38 -07:00
Paul Stack
1abd75605f
Merge pull request #4264 from pulumi/fixup-running-docker-tests
...
Fixing up the running of docker tests due to new go mod structure
2020-04-01 20:23:48 +01:00
stack72
a3c79ffcfc
Fixing up the running of docker tests due to new go mod structure
2020-04-01 19:12:55 +01:00
stack72
ee67501151
Prepare for v1.14.0 release
2020-04-01 17:54:16 +01:00
Paul Stack
9575fde952
Merge pull request #4259 from pulumi/backport-2.0-fixes
...
Backport some of the fixes regarding builds back to master
2020-04-01 15:39:20 +01:00
stack72
7c1105a8b5
Don't tag as dirty build when only go.mod or sum changes
2020-04-01 12:18:06 +01:00
stack72
1f8754b3e9
Change golint-ci to use timeout not deadline
2020-04-01 12:15:03 +01:00
Evan Boyle
8a8f424628
disable go plugin acquisition ( #4257 )
2020-03-31 23:00:35 -07:00
Luke Hoban
dd9ed3c938
Support grpc-js plugin servers ( #4253 )
...
In order to support grpc-js gRPC servers, we need to slightly loosen
our checks on plugin readiness. This change was already in the 2.x
branch, but porting back so that 1.x CLIs can also be compatible.
Fixes #4252 .
2020-03-31 14:18:09 -07:00
Justin Van Patten
a5ca20bbf2
Specify StringComparison.Ordinal to StartsWith ( #4244 )
...
StartsWith does a culture-sensitive comparison by default, and in this case, we really just want an ordinal comparison.
2020-03-31 08:24:58 -07:00
Paul Stack
dfe0210fc4
Merge pull request #4251 from pulumi/fixup-get-py-version
...
Move BuildUtil class to sdk
2020-03-31 14:52:54 +01:00
stack72
a1af9289c3
Move BuildUtil class to sdk
...
This was still in pkg and wasn't accessible from the scripts location.
This code should be in the go/common location of sdk so that it can be
accessed from within our build scripts
Without this change, we were not able to get access to the Version number
for Python and none of our Python builds have been publishing binaries
2020-03-31 12:07:24 +01:00
Christian Nunciato
7e46e7580f
Resource template fixes ( #4245 )
2020-03-31 04:07:04 -07:00
Praneet Loke
efe7a599e6
Update the GitHub Actions container to allow users to pass a cloud url ( #4243 )
2020-03-30 18:25:41 -07:00
Christian Nunciato
8480693566
Merge pull request #4214 from pulumi/cnunciato/resource-docs-templates
...
Update the resource-docs templates
2020-03-30 16:43:45 -07:00
Luke Hoban
8826fe4857
Fix Node.js SxS checks for 1.x and 1.y ( #4235 )
...
Fixes #4234
2020-03-30 15:10:42 -07:00
Christian Nunciato
21ee0919cd
Update the resource-docs templates
2020-03-30 14:38:29 -07:00
Praneet Loke
bdc12b2c98
Fix csharp and nodejs doc links generated by resource docs generator ( #4237 )
...
* Decode the C# language info from the schema package and set it in the dotnet lang helper for docs. Pass the qualifier for C# property type strings based on whether it is an input or an output property.
* Don't pass a module name for Pulumi core types used in TS constructor and Function params.
* Add tests for generating doc links for nodejs types.
* Add test for confirming input doc link for C# type.
* Fix the C# type name for InvokeOptions.
2020-03-30 14:37:30 -07:00
Justin Van Patten
e6be38e285
PaC: Add initial config support for policy packs ( #4233 )
...
The initial config represents any config that was specified programmatically to the Policy Pack, for Policy Packs that support programmatic configuration like AWSGuard.
2020-03-30 12:52:05 -07:00
Dominik-K
77af9e0eac
print full Pulumi Cloud stack name in errors for stack select
( #3933 )
2020-03-30 12:18:53 -07:00
Evan Boyle
7c08ba4583
remove dep ensure message from pulumi new *go* ( #4232 )
2020-03-30 12:05:28 -07:00
Justin Van Patten
efa5237598
Fix policy integration test dependencies ( #4228 )
...
And remove some other unnecessary cruft while cleaning things up here.
2020-03-29 17:55:08 -07:00
Evan Boyle
ad7e4817e1
update get-version to understand submodule tags ( #4229 )
2020-03-29 16:53:23 -07:00
Evan Boyle
6a945294e3
only run release builds on tags that start with "vX" ( #4219 )
2020-03-28 14:49:18 -07:00
Evan Boyle
e4daaf36cb
fix coverage scripts to work with submodules ( #4220 )
2020-03-28 14:48:44 -07:00
Sean Holung
fa3d50faa2
Remove pulumi/aws dependency from policy int tests ( #4206 )
2020-03-27 14:55:58 -07:00
Erin Krengel
319833acdb
dont add PPs to refresh summary event ( #4193 )
2020-03-27 13:21:28 -07:00
stack72
f43a9522cb
Ensure that windows binaries have the correct exe extension as part of publishing
2020-03-27 20:16:07 +00:00
stack72
ed23cfe0d6
Fixing up the publishing mechanism for windows
2020-03-27 18:59:13 +00:00
stack72
205d06c1e4
Merge branch 'tasiah/4204/go-logging-bug'
2020-03-27 18:29:32 +00:00
stack72
947e52b194
Merge branch 'master' into tasiah/4204/go-logging-bug
2020-03-27 18:29:23 +00:00
stack72
1ccbac3b80
Remove the notion of the examples folder from the appeyor windows build
2020-03-27 17:59:13 +00:00
stack72
a959737b33
Reinstate AppVeyor for Windows Releases
2020-03-27 17:53:33 +00:00
stack72
ed840bf58d
Reinstate AppVeyor for Windows Releases
2020-03-27 17:49:59 +00:00