Housekeeping (#8)
* Rename the provider to dockerbuild. * Add Makefile targets required by CI. * Add per-language test targets compatible with CI. * Fix broken example yaml. * Add gitignore exclusions to fix SDK generation in CI. * Fix lint errors. * Vendor pulumi CLI via `tools.go` instead of `.pulumi`. * Consolidate `go.mod`s into one file, with a minimal `go.mod` for the Go SDK. * Add codecov.
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Pulumi;
|
||||
using DockerNative = Pulumi.DockerNative;
|
||||
using Dockerbuild = Pulumi.Dockerbuild;
|
||||
|
||||
return await Deployment.RunAsync(() =>
|
||||
{
|
||||
var myRandomResource = new DockerNative.Random("myRandomResource", new()
|
||||
var myRandomResource = new Dockerbuild.Random("myRandomResource", new()
|
||||
{
|
||||
Length = 24,
|
||||
});
|
||||
|
||||
return new Dictionary<string, object?>
|
||||
{
|
||||
["output"] =
|
||||
{
|
||||
{ "value", myRandomResource.Result },
|
||||
},
|
||||
["value"] = myRandomResource.Result,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: provider-docker-native
|
||||
name: provider-dockerbuild
|
||||
runtime: dotnet
|
||||
plugins:
|
||||
providers:
|
||||
- name: docker-native
|
||||
- name: dockerbuild
|
||||
path: ../../bin
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pulumi" Version="3.*" />
|
||||
<PackageReference Include="Pulumi.DockerNative" Version="0.0.1-alpha.1709857395+e809180b" />
|
||||
<PackageReference Include="Pulumi.Dockerbuild" Version="*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user