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
Justin Van Patten
80f6c61310
Initial support for configuring policies ( #4015 )
2020-03-08 14:11:55 -07:00
Erin Krengel
111c63fbe9
fix permalink ( #3970 )
2020-02-26 09:45:39 -08:00
Erin Krengel
1ce3d09a4b
add orgName as subdir to policies cache dir ( #3971 )
2020-02-25 09:38:58 -08:00
Erin Krengel
e660937bab
use version tag ( #3961 )
2020-02-24 17:11:56 -08:00
Erin Krengel
232d798189
Add remove all to policy ( #3792 )
2020-01-27 10:35:34 -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
77bcba412e
Add permalink to policy publish ( #3757 )
2020-01-15 17:08:14 -08:00
Erin Krengel
0ba101fdba
Improvements to pulumi policy ( #3688 )
2020-01-03 14:16:39 -08:00
Justin Van Patten
10a960ea4b
PaC: Support Config/getProject/getStack/isDryRun ( #3612 )
...
Add support for using `Config`, `getProject()`, `getStack()`, and
`isDryRun()` from Policy Packs.
2019-12-16 22:51:02 +00:00
Justin Van Patten
fbe96394a1
Add ability to opt-in to using yarn instead of npm ( #3556 )
...
This change adds support for setting `PULUMI_PREFER_YARN` to true to opt-in to preferring `yarn` over `npm` when installing Node.js dependencies (and publishing Policy Packs). If `PULUMI_PREFER_YARN` is truthy, but `yarn` cannot be found on `$PATH`, we fallback to using `npm`. If `npm` can't be found on `$PATH`, we provide a more helpful error message.
2019-11-21 20:59:48 +00:00
Justin Van Patten
05cb51421d
pulumi policy publish: Use the name of the Policy Pack from code ( #3459 )
2019-11-07 09:24:34 -08:00
Justin Van Patten
95f85a7f28
Load PulumiPolicy.yaml instead of Pulumi.yaml during installation ( #3352 )
2019-10-16 11:23:50 -07:00
Alex Clemmer
5e1c4d31c6
Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks
2019-10-10 10:15:51 -07:00
Mikhail Shilkov
04b169a64b
Add a hint about the org name in stack in pulumi new
2019-08-19 09:21:02 +02:00
Alex Clemmer
6b4832b416
Emit stderr of npm install
...
If we don't process and report the stderr of `npm install`, the output
is "orphaned" during error condition, and only something like "exit code
1" is reported.
2019-08-13 12:48:16 -07:00
Alex Clemmer
0dccc4b447
Normalize policy pack installation path
...
Fixes pulumi/pulumi-policy#59 .
2019-08-12 12:45:48 -07:00
Alex Clemmer
7070304f81
Use npm pack
for policy publish
...
Fixes #35 .
2019-08-05 16:12:12 -07:00
Alex Clemmer
9f809b9122
Run required policies as part of all updates
2019-07-16 00:58:33 -07:00
Alex Clemmer
826e6a1cca
Add pulumi policy apply
command
2019-07-16 00:58:33 -07:00
Alex Clemmer
c93a860574
Add PolicyPack
abstraction with Publish
verb
...
This commit will implement the core business logic of `pulumi policy
publish` -- code to boot an analyzer, ask it for metadata about the
policies it contains, pack the code, and transmit all of this to the
Pulumi service.
2019-07-16 00:58:33 -07:00