Skip to content

Commit

Permalink
Clearly I have a bit more to learn about how this works (#154)
Browse files Browse the repository at this point in the history
* Clearly I have a bit more to learn about how this works

* Fix project regex
  • Loading branch information
UnstoppableMango authored Aug 19, 2024
1 parent b73eb44 commit 27c9bd8
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
with:
allowed-changes: |
sdk/**/pulumi-plugin.json
sdk/dotnet/Pulumi.*.csproj
sdk/dotnet/UnMango.*.csproj
sdk/go/**/pulumiUtilities.go
sdk/nodejs/package.json
sdk/python/pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sdk/python: $(SCHEMA_FILE)
dotnet_sdk: sdk/dotnet
cd ${PACKDIR}/dotnet/ && \
echo "${VERSION_GENERIC}" >version.txt && \
dotnet build
dotnet build /p:Version=${VERSION_GENERIC}

go_sdk: sdk/go

Expand Down
8 changes: 6 additions & 2 deletions provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,19 @@ func Provider() p.Provider {
"Pulumi": "[3.65.0.0,4)",
"Pulumi.Command": "1.0.*",
},
"respectSchemaVersion": true,
},
"go": map[string]any{
"importBasePath": "github.com/unmango/pulumi-baremetal/sdk/go/baremetal",
"generics": "side-by-side",
"importBasePath": "github.com/unmango/pulumi-baremetal/sdk/go/baremetal",
"generics": "side-by-side",
"respectSchemaVersion": true,
},
"nodejs": map[string]any{
"packageName": "@unmango/baremetal",
"dependencies": map[string]any{
"@pulumi/command": "^1.0.0",
},
"respectSchemaVersion": true,
},
"python": map[string]any{
"packageName": "unmango_baremetal",
Expand All @@ -43,6 +46,7 @@ func Provider() p.Provider {
"pyproject": map[string]bool{
"enabled": true,
},
"respectSchemaVersion": true,
},
},
},
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/UnMango.Baremetal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<PackageProjectUrl></PackageProjectUrl>
<RepositoryUrl></RepositoryUrl>
<PackageIcon>logo.png</PackageIcon>
<Version>0.0.35</Version>

<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"resource": true,
"name": "baremetal",
"version": "0.0.35",
"server": "github://api.github.com/unmango"
}
4 changes: 2 additions & 2 deletions sdk/go/baremetal/internal/pulumiUtilities.go

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

1 change: 1 addition & 0 deletions sdk/go/baremetal/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"resource": true,
"name": "baremetal",
"version": "0.0.35",
"server": "github://api.github.com/unmango"
}
3 changes: 2 additions & 1 deletion sdk/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unmango/baremetal",
"version": "${VERSION}",
"version": "0.0.35",
"scripts": {
"build": "tsc"
},
Expand All @@ -15,6 +15,7 @@
"pulumi": {
"resource": true,
"name": "baremetal",
"version": "0.0.35",
"server": "github://api.github.com/unmango"
}
}
2 changes: 1 addition & 1 deletion sdk/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "pulumi-command>=1.0.0,<2.0.0", "semver>=2.8.1"]
readme = "README.md"
requires-python = ">=3.8"
version = "0.0.0"
version = "0.0.35"

[build-system]
requires = ["setuptools>=61.0"]
Expand Down
1 change: 1 addition & 0 deletions sdk/python/unmango_baremetal/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"resource": true,
"name": "baremetal",
"version": "0.0.35",
"server": "github://api.github.com/unmango"
}

0 comments on commit 27c9bd8

Please sign in to comment.