sparse-intern-71089
09/01/2023, 6:55 PMthousands-toothbrush-98776
09/01/2023, 6:57 PMgit clone git@github.com:ecmonsen/pulumi-provider-jotform.git
cd pulumi-provider-jotform/
# Replace xyz with jotform, directories
mv provider/cmd/pulumi-resource-xyz provider/cmd/pulumi-resource-jotform
mv sdk/go/xyz sdk/go/jotform
mv sdk/python/pulumi_xyz sdk/python/pulumi_jotform
# Replace xyz with jotform, files
find . -type f | xargs grep -l xyz | grep -v git | xargs perl -pi -e 's/xyz/jotform/g'
find . -type f | xargs grep -l Xyz | grep -v git | xargs perl -pi -e 's/Xyz/Jotform/g'
thousands-toothbrush-98776
09/01/2023, 6:58 PMdocker run --rm -it -v $(pwd):/data --entrypoint bash pulumi/pulumi
thousands-toothbrush-98776
09/01/2023, 6:58 PMroot@56e14e4c6f93:/# cd /data
root@56e14e4c6f93:/data# pulumi version
v3.80.0
root@56e14e4c6f93:/data# go version
go version go1.20.3 linux/amd64
root@56e14e4c6f93:/data# python --version
Python 3.9.18
root@56e14e4c6f93:/data# dotnet --version
6.0.413
root@56e14e4c6f93:/data# make build install
##### ... output from successful Go build, then: ... ####
rm -rf sdk/dotnet
pulumi package gen-sdk /data/bin/pulumi-resource-jotform --language dotnet
cd sdk/dotnet/&& \
echo "" >version.txt && \
dotnet build /p:Version=
Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.413
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: <https://aka.ms/dotnet-cli-telemetry>
----------------
Installed an <http://ASP.NET|ASP.NET> Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: <https://aka.ms/dotnet-https>
----------------
Write your first app: <https://aka.ms/dotnet-hello-world>
Find out what's new: <https://aka.ms/dotnet-whats-new>
Explore documentation: <https://aka.ms/dotnet-docs>
Report issues and find source on GitHub: <https://github.com/dotnet/core>
Use 'dotnet --help' to see available commands or visit: <https://aka.ms/dotnet-cli>
--------------------------------------------------------------------------------------
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
Restored /data/sdk/dotnet/Pulumi.Jotform.csproj (in 2.26 sec).
/root/.dotnet/sdk/6.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(206,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/data/sdk/dotnet/Pulumi.Jotform.csproj]
Build FAILED.
/root/.dotnet/sdk/6.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(206,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/data/sdk/dotnet/Pulumi.Jotform.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:05.23
make: *** [Makefile:37: dotnet_sdk] Error 1
limited-rainbow-51650
09/04/2023, 8:21 AMthousands-toothbrush-98776
09/05/2023, 6:27 PMpulumictl
on the docker container and then the build worked.thousands-toothbrush-98776
09/05/2023, 6:28 PM