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
Sean Holung
fa3d50faa2
Remove pulumi/aws dependency from policy int tests ( #4206 )
2020-03-27 14:55:58 -07:00
Sean Holung
7b91dc20a8
Add cmd to support policy pack config validation ( #4186 )
...
* Add cmd `pulumi policy validate-config` to do policy pack config validation
2020-03-27 09:54:26 -07:00
Evan Boyle
3eb3a0dec4
Move examples tests to /test/examples ( #4196 )
2020-03-26 20:19:18 -07:00
Evan Boyle
80f1989600
Removing the need for vendoring ( #4167 )
2020-03-25 15:57:46 -07:00
Luke Hoban
2ada63ef4e
Fix versions of dependencies in policy tests ( #4175 )
...
These were causing *very* old versions of `@pulumi/pulumi` to get pulled in, and were seeing failures on Node 13 due to missnig gRPC native modules.
Aside - we've tried to not have any dependencies in `@pulumi/pulumi` on `@pulumi/aws` and other higher-level libraries, to avoid layering violation issues. Would love to see if we can reasonably simplify the testing at this layer to not have this dependency.
2020-03-25 09:35:41 -07:00
Sean Holung
d0f5e35b50
Add support for enabling Policy Packs with configuration ( #4127 )
...
* Support policy pack configiguration using policy enable cmd.
2020-03-24 13:30:36 -07:00
Evan Boyle
61928f04e0
fix go.mod dependencies ( #4152 )
2020-03-22 12:48:43 -07:00
Justin Van Patten
f095e64d0f
Temporarily skip test causing unrelated failures in master ( #4150 )
2020-03-21 12:37:42 -07:00
evanboyle
4e44854308
replace glog with klog
2020-03-19 08:56:44 -07:00
evanboyle
d3f5bbce48
go fmt
2020-03-18 17:27:02 -07:00
evanboyle
1fa50398e2
update go.mods to pin to correct version of pb
2020-03-18 17:25:42 -07:00
evanboyle
be4b523e55
create go.mod for top level packages pkg sdk examples tests
2020-03-18 16:30:44 -07:00
evanboyle
a4ec3ec81b
move pkg/testing -> sdk/go/common/testing, leave behind pkg/testing/integration
2020-03-18 15:55:41 -07:00
evanboyle
30e1a5917e
move pkg/util/fsutil -> sdk/go/common/util/fsutil
2020-03-18 15:48:38 -07:00
evanboyle
f754b486b8
move pkg/resource/config -> sdk/go/common/resource/config
2020-03-18 15:03:37 -07:00
evanboyle
67cb405c93
move pkg/apitype -> sdk/common/apitype
2020-03-18 15:00:30 -07:00
evanboyle
70f386a967
move pkg/tokens -> sdk/go/common/tokens
2020-03-18 14:49:56 -07:00
evanboyle
fccf301d14
move pkg/util/contract -> sdk/go/common/util/contract
2020-03-18 14:40:07 -07:00
evanboyle
8fb3f428b0
move pkg/workspace -> sdk/go/common/workspace
2020-03-18 14:35:53 -07:00
evanboyle
fba783caf9
move pkg/resource -> sdk/go/common/resource, but leave nested resource packages
2020-03-18 13:36:19 -07:00
Mikhail Shilkov
dbe365376d
Add Stack Transformations to .NET SDK ( #4008 )
...
Stack transformations and integration tests
2020-03-16 17:40:52 +01:00
stack72
f11b7129a0
Run Dep Ensure when testing Go integration projects
...
Fixes : #3939
2020-03-10 03:11:44 +02:00
Evan Boyle
930adc0504
Add support for secrets in Go SDK ( #3938 )
2020-02-25 17:45:36 -08:00
Erin Krengel
e660937bab
use version tag ( #3961 )
2020-02-24 17:11:56 -08:00
Lee Zen
33b232adc4
Fix a regression for CustomTimeouts in Python SDK ( #3964 )
...
* Fix a regression for CustomTimeouts in Python SDK
* Accept dict as well as CustomTimeouts object
2020-02-22 19:32:06 -08:00
Lee Zen
f6402882c2
Regression tests for StackReference in the Python SDK ( #3913 )
...
* Make Python StackReference test similar to others (with two steps)
* Include new Python StackReference integration test that uses multiple stacks
* Expose various life cycle methods for ProgramTester
2020-02-17 10:40:46 -08:00
Jamie Kinkead
abd1b98003
improve PAC error output ( #3881 )
...
* Improve pac error output
* Print policy packs applied if no violations present
* Remove unnecessary policyInfo struct
* Adjust integration test
2020-02-13 15:16:46 -08:00
Lee Zen
54d344f7c1
Serialize CustomTimeouts in Python SDK ( #3920 )
...
* Translate CustomTimeouts properly for RPC serialization
* Include integration test for custom timeouts
2020-02-13 10:40:56 -08:00
Mikhail Shilkov
f1cdce9488
Move .NET serialization attributes to Pulumi namespace ( #3902 )
...
Move .NET serialization attributes to Pulumi namespace, deprecate the ones in Pulumi.Serialization
2020-02-11 11:40:14 +01:00
Evan Boyle
cea807a244
Go aliases ( #3853 )
2020-02-06 12:02:13 -08:00
Luke Hoban
5bf490228a
Use \n for provider protocol even on Windows ( #3855 )
...
The provider plugin protocol is to write a port number followed by `\n`. We must guarantee we do that even on Windows, so must avoid Python `print` statements which implicitly rewrite newlines to platform specific character sequences.
Fixes #3807 .
2020-02-06 11:34:05 -08:00
Evan Boyle
411f1a179a
Support stack references in Go SDK ( #3829 )
2020-02-06 10:00:46 -08:00
Chris Smith
63be1b5d21
Add --rm to docker run ( #3871 )
2020-02-06 09:32:33 -08:00
stack72
4c8997bf63
Template tests will be part of the templates repo
...
Fixes : #3744
2020-01-30 13:33:02 +00:00
stack72
15193c3674
Skip dynamic provider TestStackBadParenting test on Windows
2020-01-29 12:26:56 +00:00
Paul Stack
eddbbaf5cd
Running our pulumi/pulumi examples on Windows ( #3656 )
...
Running our pulumi/pulumi examples on Windows
2020-01-27 22:54:24 +03:00
stack72
81d271d9ed
Changing build.proj to run all languages and tests on windows
2020-01-27 21:16:37 +02:00
Erin Krengel
232d798189
Add remove all to policy ( #3792 )
2020-01-27 10:35:34 -08:00
CyrusNajmabadi
bf3dc1cd0c
Ensure that resources not specified by --target do not get added to checkpoint file. ( #3797 )
2020-01-24 12:37:13 -08:00
Erin Krengel
0d0641278c
Remove version req for disable; Add --latest to enable ( #3784 )
2020-01-22 15:17:00 -08:00
Erin Krengel
223e0c5e83
Add policy ls ( #3753 )
2020-01-16 12:04:51 -08:00
Erin Krengel
0ba101fdba
Improvements to pulumi policy ( #3688 )
2020-01-03 14:16:39 -08:00
Chris Smith
c064db2235
Enable pulumi/actions container tests ( #3707 )
...
* Enable pulumi/actions container tests
* Add -v
* Rename dist/docker to dist/pulumi to match container name
2020-01-02 13:44:03 -08:00
Chris Smith
738005dd83
Move stack name validation to the Backend interface ( #3679 )
...
* Replace workspace.ValidateStackName with backend
* Add filestate.ValidateStackName
* Add httpstate.ValidateStackName
* Fix lint issues
* Update test
2019-12-30 10:24:48 -08:00
Mikhail Shilkov
66de4a48b7
First-class Stack component for .NET ( #3618 )
...
First-class Stack component for .NET
2019-12-23 08:31:12 +01:00
Pat Gavlin
30749a48cd
Fix the container test. ( #3694 )
...
Build the test on the host, then mount it and run it in the container.
This allows us to make use of the usual integration testing framework to
handle running `npm/yarn`, `pip`, etc.
2019-12-22 11:40:07 -08:00
Luke Hoban
95daaa8cec
Fix broken test
2019-12-21 06:51:42 -08:00
Chris Smith
7818c219e8
Add .NET Core SDK to pulumi/pulumi container ( #3616 )
...
* Add tests for the pulumi/actions container
* Add .NET Core SDK to pulumi/pulumi container
* Address PR feedback
* Update CHANGELOG.md
2019-12-17 11:05:19 -08:00
Mikhail Shilkov
7b3ec744f4
Stack References in .NET ( #3511 )
...
Stack References in .NET
2019-12-05 13:16:39 +01:00