rename go module and flush out Earthfile build

This commit is contained in:
2025-04-25 13:25:27 -04:00
parent 10c79110a0
commit 9fe19d2cc2
12 changed files with 102 additions and 249 deletions

View File

@@ -31,7 +31,7 @@ import (
"github.com/pulumi/pulumi/pkg/v3/codegen/schema"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
"github.com/brandonkal/pulumi-incus/provider/pkg/version"
"git.kalinow.ski/nimbus/pulumi-incus/provider/pkg/version"
)
// all of the token components used below.
@@ -110,7 +110,7 @@ func Provider() tfbridge.ProviderInfo {
// - "github.com/hashicorp/terraform-plugin-framework/provider".Provider (for plugin-framework)
//
//nolint:lll
P: pfbridge.ShimProvider(incus.Provider()()),
P: pfbridge.ShimProvider(incus.Provider(version.Version)()),
Name: "incus",
Version: version.Version,
@@ -135,7 +135,6 @@ func Provider() tfbridge.ProviderInfo {
// For all available categories, see `Keywords` in
// https://www.pulumi.com/docs/guides/pulumi-packages/schema/#package.
Keywords: []string{"incus", "category/cloud", "containers", "nimbus"},
License: "Apache-2.0",
Homepage: "https://linuxcontainers.org",
Repository: "https://git.kalinow.ski/nimbus/pulumi-incus",
// The GitHub Org for the provider - defaults to `terraform-providers`. Note that this should
@@ -178,7 +177,7 @@ func Provider() tfbridge.ProviderInfo {
Golang: &tfbridge.GolangInfo{
// Set where the SDK is going to be published to.
ImportBasePath: path.Join(
"github.com/brandonkal/pulumi-incus/sdk/",
"git.kalinow.ski/nimbus/pulumi-incus/sdk/",
tfbridge.GetModuleMajorVersion(version.Version),
"go",
mainPkg,