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:
Bryce Lampe
2024-03-20 11:09:37 -07:00
committed by GitHub
parent 3eb77f66f2
commit 2b348f84e4
81 changed files with 1418 additions and 3251 deletions

View File

@@ -1,7 +1,7 @@
// *** WARNING: this file was generated by pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
namespace Pulumi.DockerNative
namespace Pulumi.Dockerbuild
{
static class Utilities
{
@@ -53,7 +53,7 @@ namespace Pulumi.DockerNative
{
var dst = src ?? new global::Pulumi.InvokeOptions{};
dst.Version = src?.Version ?? Version;
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-docker-native";
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-dockerbuild";
return dst;
}
@@ -63,7 +63,7 @@ namespace Pulumi.DockerNative
static Utilities()
{
var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly;
using var stream = assembly.GetManifestResourceStream("Pulumi.DockerNative.version.txt");
using var stream = assembly.GetManifestResourceStream("Pulumi.Dockerbuild.version.txt");
using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file"));
version = reader.ReadToEnd().Trim();
var parts = version.Split("\n");
@@ -75,9 +75,9 @@ namespace Pulumi.DockerNative
}
}
internal sealed class DockerNativeResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
internal sealed class DockerbuildResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
{
public DockerNativeResourceTypeAttribute(string type) : base(type, Utilities.Version)
public DockerbuildResourceTypeAttribute(string type) : base(type, Utilities.Version)
{
}
}