glamorous-flower-38169
10/31/2024, 7:38 PMcrane
based off the boilerplate (because I need to upload an on-disk OCI image to a registry), and when trying to follow what gen-sdk
does it appears to simply hang:
(.venv) thomas@DESKTOP-B82ERE8:~/code/monorepo/go/pulumi/provider/crane$ bazel build //go/pulumi/provider/crane:provider
INFO: Invocation ID: 416ccf5d-323c-44ab-b9b9-a4a860b3f553
INFO: Analyzed target //go/pulumi/provider/crane:provider (446 packages loaded, 2782 targets configured).
INFO: Found 1 target...
Target //go/pulumi/provider/crane/provider/cmd/pulumi-resource-crane:pulumi-resource-crane up-to-date:
dist/bin/go/pulumi/provider/crane/provider/cmd/pulumi-resource-crane/pulumi-resource-crane_/pulumi-resource-crane
INFO: Elapsed time: 2.838s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
(.venv) thomas@DESKTOP-B82ERE8:~/code/monorepo/go/pulumi/provider/crane$ pulumi package gen-sdk -v 1000 ../../../../dist/bin/go/pulumi/provider/crane/provider/cmd/pulumi-resource-crane/pulumi-resource-crane_/pulumi-resource-crane --language nodejs
Here's the complete commit:
https://github.com/zemn-me/monorepo/commit/ea38316ba45d228ca450bc0207df024c7a4002c1
Perhaps it's because my binary does not have -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}"?
But I don't see why that would cause a hang...