Skip to content

Commit

Permalink
Rollout improved example converter (#311)
Browse files Browse the repository at this point in the history
Rolls out improved TF example converter.
t0yv0 authored Apr 19, 2024
1 parent e48d3fb commit 07cb747
Showing 35 changed files with 417 additions and 524 deletions.
5 changes: 5 additions & 0 deletions .ci-mgmt.yaml
Original file line number Diff line number Diff line change
@@ -5,3 +5,8 @@ env:
LIBVIRT_DEFAULT_URI: "lxc://"
makeTemplate: bridged
team: ecosystem
pulumiConvert: 1
plugins:
- name: terraform
version: "1.0.16"
kind: converter
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ VERSION := $(shell pulumictl get version)
JAVA_GEN := pulumi-java-gen
TESTPARALLELISM := 10
WORKING_DIR := $(shell pwd)
PULUMI_CONVERT := 0
PULUMI_CONVERT := 1

development: install_plugins provider build_sdks install_sdks

@@ -111,6 +111,7 @@ install_nodejs_sdk:
install_plugins: export PULUMI_HOME := $(WORKING_DIR)/.pulumi
install_plugins: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
install_plugins: .pulumi/bin/pulumi
.pulumi/bin/pulumi plugin install converter terraform 1.0.16

lint_provider: provider
cd provider && golangci-lint run -c ../.golangci.yml
58 changes: 29 additions & 29 deletions provider/cmd/pulumi-resource-libvirt/schema.json

Large diffs are not rendered by default.

23 changes: 16 additions & 7 deletions sdk/dotnet/Domain.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/DomainDiskArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/DomainDiskGetArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions sdk/dotnet/Inputs/DomainFilesystemArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions sdk/dotnet/Inputs/DomainFilesystemGetArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Outputs/DomainDisk.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions sdk/dotnet/Outputs/DomainFilesystem.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sdk/dotnet/Pool.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions sdk/dotnet/Volume.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 27 additions & 7 deletions sdk/go/libvirt/domain.go
4 changes: 3 additions & 1 deletion sdk/go/libvirt/pool.go
66 changes: 9 additions & 57 deletions sdk/go/libvirt/pulumiTypes.go
11 changes: 8 additions & 3 deletions sdk/go/libvirt/volume.go
17 changes: 12 additions & 5 deletions sdk/java/src/main/java/com/pulumi/libvirt/Domain.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 18 additions & 9 deletions sdk/java/src/main/java/com/pulumi/libvirt/DomainArgs.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions sdk/java/src/main/java/com/pulumi/libvirt/Pool.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion sdk/java/src/main/java/com/pulumi/libvirt/Volume.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 18 additions & 9 deletions sdk/java/src/main/java/com/pulumi/libvirt/inputs/DomainState.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 13 additions & 7 deletions sdk/nodejs/domain.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sdk/nodejs/pool.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 26 additions & 25 deletions sdk/nodejs/types/input.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 26 additions & 25 deletions sdk/nodejs/types/output.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions sdk/nodejs/volume.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 46 additions & 50 deletions sdk/python/pulumi_libvirt/_inputs.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 30 additions & 16 deletions sdk/python/pulumi_libvirt/domain.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 46 additions & 50 deletions sdk/python/pulumi_libvirt/outputs.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions sdk/python/pulumi_libvirt/pool.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 20 additions & 8 deletions sdk/python/pulumi_libvirt/volume.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07cb747

Please sign in to comment.