Skip to content

Triple-Whale/pulumi-jetstream

Repository files navigation

Pulumi Jetstream Provider

Generated using the Pulumi Terraform Bridge against terraform-provider-jetstream.

Build

# one time
make prepare NAME=jetstream REPOSITORY=github.com/Triple-Whale/pulumi-jetstream ORG=triplewhale

in go.mod, update to v1.X
cd provider && go mod tidy && cd -
make tfgen && make provider && make build_sdks
commit
git tag v0.0.Y
git push
git push --tags

Publish provider binary

goreleaser build --skip=validate
cd dist/pulumi-jetstream_darwin_amd64_v1/
tar -zcvf pulumi-resource-jetstream-v0.0.1-darwin-arm64.tar.gz pulumi-resource-jetstream
gsutil cp pulumi-resource-jetstream-v0.0.1-darwin-arm64.tar.gz gs://pulumi-shofifi/jetstream/
cd ../..
cd dist/pulumi-jetstream_linux_amd64_v1
tar -zcvf pulumi-resource-jetstream-v0.0.1-linux-amd64.tar.gz pulumi-resource-jetstream
gsutil cp pulumi-resource-jetstream-v0.0.1-linux-amd64.tar.gz gs://pulumi-shofifi/jetstream/
cd ../..

Publish npm package

npm config -g set @tw:registry https://us-central1-npm.pkg.dev/shofifi/npm-packages/
cd sdk/nodejs/bin
open package.json, fix package name (@tw/pulumi-jetstream) and version (whatever you set above)
tw auth && npm publish

triplewhale/backend-packages/packages/pulumi

tw i @tw/pulumi-jetstream@latest
...