Commit Graph

8 Commits

Author SHA1 Message Date
Julien P 102ad1422e
Make pulumi install work for policy packs ()
With https://github.com/pulumi/pulumi/pull/16411 we removed the manual
instructions telling users how to create virtual environments and
installing dependencies after generating a project with
`--generate-only`. Instead users are instructed to call `pulumi
install`.

However, this also removed the manual installation instructions for
Policy Packs, but `pulumi install` did not know how to deal with Policy
Packs. This PR makes `pulumi install` work for Policy Packs.

Fixes https://github.com/pulumi/pulumi/issues/16437
2024-06-21 19:19:21 +00:00
Ian Wahbe 41e38c9a27
Fix coming soon misrender ()
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

Fixes a render bug when `Coming soon!` is written.

Fixes https://github.com/pulumi/registry/issues/4202

## Checklist

- [X] I have run `make tidy` to update any new dependencies
- [X] I have run `make lint` to verify my code passes the lint check
  - [X] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [X] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [X] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-26 17:24:37 +00:00
Fraser Waters afb287d2fb
Rename filestate to DIY ()
This goes through the codebase to try and be consistent about names for
the diy/filestate/local/selfmanaged backend. Every reference to this
backend should now use the terms "DIY". There are a couple of places
that still say "local DIY backend" this is referring to a DIY backend
using the local filesystem (i.e. `pulumi login --local`).
2024-01-30 15:53:10 +00:00
Robbie McKinstry d506398ad2
Reorder scopes to be alphabetically ordered. 2022-11-10 16:54:37 -05:00
Ian Wahbe 0582242ce6 Add `pulumi state delete --target-dependents`
Add comment + fix tests

We had two problems here.

1. Our graph rapid tests didn't encode the `includeChildren` flag as
transitive, which it should be. Looking at the call sites of
`DependingOn` confirms this.

2. `TestDeleteProtected` was sharing variables between threads (causing
flakey results). This was fixed.
2022-10-27 11:23:56 -07:00
Ian Wahbe 76ce0969bf Upgrade yaml to v0.5.10 2022-10-13 14:39:25 -07:00
Ian Wahbe 0f3198fe9b CL (new style) 2022-09-15 11:42:33 +02:00
Aaron Friel 272b987791 ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00