-
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.
Enable the l2-map-keys, l2-failed-create-continue-on-error, and l2-invoke-dependencies tests. Not sure what fixed these but they seem to run fine now.
- Loading branch information
Showing
16 changed files
with
206 additions
and
3 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
28 changes: 28 additions & 0 deletions
28
cmd/pulumi-language-yaml/testdata/projects/l2-failed-create-continue-on-error/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,28 @@ | ||
resources: | ||
failing: | ||
type: fail_on_create:Resource | ||
properties: | ||
value: false | ||
dependent: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
options: | ||
dependson: | ||
- ${failing} | ||
dependent_on_output: | ||
type: simple:Resource | ||
properties: | ||
value: ${failing.value} | ||
independent: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
double_dependency: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
options: | ||
dependson: | ||
- ${independent} | ||
- ${dependent_on_output} |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-failed-create-continue-on-error/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-failed-create-continue-on-error | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
...nguage-yaml/testdata/projects/l2-failed-create-continue-on-error/sdks/fail_on_create.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: fail_on_create | ||
version: 4.0.0 |
3 changes: 3 additions & 0 deletions
3
...ulumi-language-yaml/testdata/projects/l2-failed-create-continue-on-error/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 |
17 changes: 17 additions & 0 deletions
17
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-dependencies/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,17 @@ | ||
resources: | ||
first: | ||
type: simple:Resource | ||
properties: | ||
value: false | ||
# assert that resource second depends on resource first | ||
# // because it uses .secret from the invoke which depends on first | ||
second: | ||
type: simple:Resource | ||
properties: | ||
value: | ||
fn::invoke: | ||
Function: simple-invoke:secretInvoke | ||
Arguments: | ||
value: hello | ||
secretResponse: ${first.value} | ||
Return: secret |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-dependencies/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-invoke-dependencies | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-dependencies/sdks/simple-invoke.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-invoke | ||
version: 10.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-dependencies/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 |
128 changes: 128 additions & 0 deletions
128
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/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,128 @@ | ||
resources: | ||
prim: | ||
type: primitive:Resource | ||
properties: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
numberArray: | ||
- 0 | ||
- 1 | ||
booleanMap: | ||
my key: false | ||
my.key: true | ||
my-key: false | ||
my_key: true | ||
MY_KEY: false | ||
myKey: true | ||
ref: | ||
type: primitive-ref:Resource | ||
properties: | ||
data: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
rref: | ||
type: ref-ref:Resource | ||
properties: | ||
data: | ||
innerData: | ||
boolean: false | ||
float: -2.17 | ||
integer: 123 | ||
string: Goodbye | ||
boolArray: [] | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
boolean: true | ||
float: 4.5 | ||
integer: 1024 | ||
string: Hello | ||
boolArray: [] | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
plains: | ||
type: plain:Resource | ||
properties: | ||
data: | ||
innerData: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
boolean: true | ||
float: 4.5 | ||
integer: 1024 | ||
string: Hello | ||
boolArray: | ||
- true | ||
- false | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
nonPlainData: | ||
innerData: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six | ||
boolean: true | ||
float: 4.5 | ||
integer: 1024 | ||
string: Hello | ||
boolArray: | ||
- true | ||
- false | ||
stringMap: | ||
my key: one | ||
my.key: two | ||
my-key: three | ||
my_key: four | ||
MY_KEY: five | ||
myKey: six |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/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-map-keys | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/sdks/plain.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: plain | ||
version: 13.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/sdks/primitive-ref.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: primitive-ref | ||
version: 11.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/sdks/primitive.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: primitive | ||
version: 7.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-map-keys/sdks/ref-ref.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: ref-ref | ||
version: 12.0.0 |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/sdks/fail_on_create-4.0.0/fail_on_create-4.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: fail_on_create | ||
version: 4.0.0 |