-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This enables the l2-resource-simple test. This required a few fixes. Firstly in `GetReferencedPlugins` we look at any package declarations to get package versions. This is so we can return the plugin info with the right version. Secondly we add `GetReferencePackages` method to use from `GetProgramDependencies` so that we can actually return something from `GetProgramDependencies` rather than nothing. Conformance testing tests this so we have to fill it in. Thirdly we implement `Pack`, it doesn't do much just copies the generated package declaration yaml file.
- Loading branch information
Showing
10 changed files
with
271 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
component: runtime | ||
kind: Improvements | ||
body: '`GetProgramDependencies` now returns packages used to show in `pulumi about`' | ||
time: 2024-11-14T17:39:33.889564362Z | ||
custom: | ||
PR: "676" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
cmd/pulumi-language-yaml/testdata/projects/l2-resource-simple/Main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resources: | ||
res: | ||
type: simple:Resource | ||
properties: | ||
value: true |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-resource-simple/Pulumi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: l2-resource-simple | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-resource-simple/sdks/simple.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/sdks/simple-2.0.0/simple-2.0.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters