Skip to content

Commit

Permalink
Rename from lbrlabs to pulumiverse
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Mar 5, 2024
1 parent 61e7e67 commit 576e9c0
Show file tree
Hide file tree
Showing 459 changed files with 685 additions and 14,407 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand All @@ -25,7 +25,7 @@ jobs:
issue-type: pull-request
permission: write
reaction-token: ${{ secrets.GITHUB_TOKEN }}
repository: lbrlabs/pulumi-cockroach
repository: pulumiverse/pulumi-cockroach
token: ${{ secrets.PULUMI_BOT_TOKEN }}
strategy: {}
"on":
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
PULUMI_API: https://api.pulumi.com
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_TEST_OWNER: "lbrlabs"
PULUMI_TEST_OWNER: "pulumiverse"
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_USERNAME: "__token__"
TRAVIS_OS_NAME: linux
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
ldflags:
- -s
- -w
- -X github.com/lbrlabs/pulumi-cockroach/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumiverse/pulumi-cockroach/provider/pkg/version.Version={{.Tag}}
main: ./cmd/pulumi-resource-cockroach/
changelog:
skip: true
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
ldflags:
- -s
- -w
- -X github.com/lbrlabs/pulumi-cockroach/provider/pkg/version.Version={{.Tag}}
- -X github.com/pulumiverse/pulumi-cockroach/provider/pkg/version.Version={{.Tag}}
main: ./cmd/pulumi-resource-cockroach/
changelog:
skip: true
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACK := cockroach
ORG := lbrlabs
ORG := pulumiverse
PROJECT := github.com/$(ORG)/pulumi-$(PACK)
PROVIDER_PATH := provider
VERSION_PATH := $(PROVIDER_PATH)/pkg/version.Version
Expand All @@ -15,7 +15,7 @@ development: install_plugins provider build_sdks install_sdks

build: install_plugins provider build_sdks install_sdks

build_sdks: build_nodejs build_python build_go build_dotnet build_java
build_sdks: build_nodejs build_python build_go build_dotnet # build_java

install_go_sdk:

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ This package is available in many languages in the standard packaging formats.
To use from JavaScript or TypeScript in Node.js, install using either `npm`:

```
$ npm install @lbrlabs/pulumi-cockroach
$ npm install @pulumiverse/cockroach
```

or `yarn`:

```
$ yarn add @lbrlabs/pulumi-cockroach
$ yarn add @pulumiverse/cockroach
```

### Python

To use from Python, install using `pip`:

```
$ pip install lbrlabs_pulumi_cockroach
$ pip install pulumiverse_cockroach
```

### Go

To use from Go, use `go get` to grab the latest version of the library

```
$ go get github.com/lbrlabs/pulumi-cockroach/sdk/go/...
$ go get github.com/pulumiverse/pulumi-cockroach/sdk/go/...
```

### .NET
Expand All @@ -44,7 +44,7 @@ To use from Dotnet, use `dotnet add package` to install into your project. You m


```
$ dotnet add package Lbrlabs.PulumiPackage.Cockroach
$ dotnet add package Pulumiverse.Cockroach
```

## Reference
Expand Down
4 changes: 2 additions & 2 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The Cockroach provider must be configured with credentials to deploy and update
{{% choosable language typescript %}}

```typescript
import * as cockroach from "@lbrlabs/pulumi-cockroach";
import * as cockroach from "@pulumiverse/cockroach";

const cluster = new cockroach.Cluster("example", {
cloudProvider: "AWS",
Expand All @@ -34,7 +34,7 @@ const cluster = new cockroach.Cluster("example", {
{{% choosable language python %}}

```python
import lbrlabs_pulumi_cockroach as cockroach
import pulumiverse_cockroach as cockroach

cluster = cockroach.Cluster(
"example",
Expand Down
10 changes: 5 additions & 5 deletions docs/installation-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ layout: package

The Pulumi Cockroach provider is available as a package in all Pulumi languages:

* JavaScript/TypeScript: [`@lbrlabs/pulumi-cockroach`](https://www.npmjs.com/package/@lbrlabs/pulumi-cockroach)
* Python: [`lbrlabs_pulumi_cockroach`](https://pypi.org/project/lbrlabs-pulumi-cockroach/)
* Go: [`github.com/lbrlabs/pulumi-cockroach/sdk/go/cockroach`](https://github.com/lbrlabs/pulumi-cockroach)
* .NET: [`Lbrlabs.PulumiPackage.Cockroach`](https://www.nuget.org/packages/Lbrlabs.PulumiPackage.Cockroach)
* JavaScript/TypeScript: [`@pulumiverse/cockroach`](https://www.npmjs.com/package/@pulumiverse/cockroach)
* Python: [`pulumiverse_cockroach`](https://pypi.org/project/pulumiverse-cockroach/)
* Go: [`github.com/pulumiverse/pulumi-cockroach/sdk/go/cockroach`](https://github.com/pulumiverse/pulumi-cockroach)
* .NET: [`Pulumiverse.Cockroach`](https://www.nuget.org/packages/Pulumiverse.Cockroach)

### Provider Binary

The Cockroach provider binary is a third party binary. It can be installed using the `pulumi plugin` command.

```bash
pulumi plugin install resource cockroach <version> --server github://api.github.com/lbrlabs
pulumi plugin install resource cockroach <version> --server github://api.github.com/pulumiverse
```

Replace the version string with your desired version.
Expand Down
4 changes: 2 additions & 2 deletions examples/examples_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ func getJSBaseOptions(t *testing.T) integration.ProgramTestOptions {
baseJS := base.With(integration.ProgramTestOptions{
ExpectRefreshChanges: true,
Dependencies: []string{
"@lbrlabs/pulumi-cockroach",
"@pulumiverse/cockroach",
},
})

return baseJS
}
}
2 changes: 1 addition & 1 deletion examples/ts/cluster/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as pulumi from "@pulumi/pulumi";
import * as cockroach from "@lbrlabs/pulumi-cockroach";
import * as cockroach from "@pulumiverse/cockroach";

const cluster = new cockroach.Cluster("cluster", {
cloudProvider: "aws",
Expand Down
1 change: 1 addition & 0 deletions go.work
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ use (
./examples
./provider
./provider/shim
./sdk
)
8 changes: 7 additions & 1 deletion go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps=
github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg=
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ=
github.com/hashicorp/go-plugin v1.4.8/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
github.com/hashicorp/terraform-plugin-docs v0.13.0/go.mod h1:W0oCmHAjIlTHBbvtppWHe8fLfZ2BznQbuv8+UD8OucQ=
Expand All @@ -39,14 +41,18 @@ github.com/pulumi/pulumi-terraform-bridge/pf v0.11.0 h1:PiInpzC9+ovgq5WGe1br7vE7
github.com/pulumi/pulumi-terraform-bridge/pf v0.11.0/go.mod h1:0aAzyG6EnVJ5G9rXO6mUQHcknAgbCcT/FED+lgROF0o=
github.com/pulumi/pulumi-terraform-bridge/pf v0.11.1-0.20230605212537-46a92ef1828f/go.mod h1:OPJixCnFgMXgBayLTEXouG1ef28YONNSQpXk7t9V34k=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-yaml v1.4.3 h1:GO36c7FTl8If20Dn/w2Hi3huP7kmsO00KNaz3GJU0Ws=
github.com/pulumi/pulumi-yaml v1.4.2/go.mod h1:1hwsXFnT7hm2ZeftY5fzjkngjs2eT/rv9MsPE48Leb4=
github.com/pulumi/pulumi/pkg/v3 v3.94.2 h1:b+gQ+EJZMYfSIu/sb/+p36VmfZ2ZJWbEWMsptt2f6Kk=
github.com/pulumi/pulumi/pkg/v3 v3.98.0 h1:lQyjy31az5bMfTmsyqeeAEQMKjrLyx8IL+C27D6b+x4=
github.com/pulumi/pulumi/pkg/v3 v3.98.0/go.mod h1:aeQmrCMwvMOIz1s6qOk+vg1oCWff5hmeRrg1vYv8eRU=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 h1:JMw+t5I+6E8Lna7JF+ghAoOLOl23UIbshJyRNP+K1HU=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9/go.mod h1:mYPs/uchNcBq7AclQv9QUtSf9iNcfp1Ag21jqTlDf2M=
github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww=
github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY=
github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc=
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/zclconf/go-cty v1.11.0/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
google.golang.org/api v0.110.0 h1:l+rh0KYUooe9JGbGVx71tbFo4SMbMTXK3I3ia2QSEeU=
google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
4 changes: 2 additions & 2 deletions provider/cmd/pulumi-resource-cockroach/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

tfbridge "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge"

cockroach "github.com/lbrlabs/pulumi-cockroach/provider"
cockroach "github.com/pulumiverse/pulumi-cockroach/provider"
)

//go:embed schema-embed.json
Expand All @@ -29,4 +29,4 @@ func main() {
BridgeMetadata: bridgeMetadata,
}
tfbridge.Main(context.Background(), "cockroach", cockroach.Provider(), meta)
}
}
29 changes: 15 additions & 14 deletions provider/cmd/pulumi-resource-cockroach/schema.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "cockroach",
"displayName": "CockroachDB",
"description": "A Pulumi package to create and managed cockroach db resources in Pulumi programs.",
"description": "A Pulumi package to create and managed Cockroach DB resources in Pulumi programs.",
"keywords": [
"pulumi",
"cockroach"
"cockroach",
"pulumiverse"
],
"homepage": "https://lbrlabs.com",
"homepage": "https://www.cockroachlabs.com/",
"license": "Apache-2.0",
"attribution": "This Pulumi package is based on the [`cockroach` Terraform Provider](https://github.com/cockroachdb/terraform-provider-cockroach).",
"repository": "https://github.com/lbrlabs/pulumi-cockroach",
"logoUrl": "https://raw.githubusercontent.com/lbrlabs/pulumi-cockroach/main/assets/logo.png",
"pluginDownloadURL": "github://api.github.com/lbrlabs",
"publisher": "lbrlabs",
"repository": "https://github.com/pulumiverse/pulumi-cockroach",
"logoUrl": "https://raw.githubusercontent.com/pulumiverse/pulumi-cockroach/main/assets/logo.png",
"pluginDownloadURL": "github://api.github.com/pulumiverse",
"publisher": "pulumiverse",
"meta": {
"moduleFormat": "(.*)(?:/[^/]*)"
},
Expand All @@ -25,17 +26,17 @@
"cockroach": "Cockroach"
},
"compatibility": "tfbridge20",
"rootNamespace": "Lbrlabs.PulumiPackage"
"rootNamespace": "Pulumiverse"
},
"go": {
"importBasePath": "github.com/lbrlabs/pulumi-cockroach/sdk/go/cockroach",
"importBasePath": "github.com/pulumiverse/pulumi-cockroach/sdk/go/cockroach",
"generateResourceContainerTypes": true,
"generateExtraInputTypes": true
},
"nodejs": {
"packageName": "@lbrlabs/pulumi-cockroach",
"packageDescription": "A Pulumi package to create and managed cockroach db resources in Pulumi programs.",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/cockroachdb/terraform-provider-cockroach)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-cockroach` repo](https://github.com/lbrlabs/pulumi-cockroach/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-cockroach` repo](https://github.com/cockroachdb/terraform-provider-cockroach/issues).",
"packageName": "@pulumiverse/cockroach",
"packageDescription": "A Pulumi package to create and managed Cockroach DB resources in Pulumi programs.",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/cockroachdb/terraform-provider-cockroach)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-cockroach` repo](https://github.com/pulumiverse/pulumi-cockroach/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-cockroach` repo](https://github.com/cockroachdb/terraform-provider-cockroach/issues).",
"dependencies": {
"@pulumi/pulumi": "^3.0.0"
},
Expand All @@ -46,11 +47,11 @@
"disableUnionOutputTypes": true
},
"python": {
"packageName": "lbrlabs_pulumi_cockroach",
"packageName": "pulumiverse_cockroach",
"requires": {
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
},
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/cockroachdb/terraform-provider-cockroach)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-cockroach` repo](https://github.com/lbrlabs/pulumi-cockroach/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-cockroach` repo](https://github.com/cockroachdb/terraform-provider-cockroach/issues).",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/cockroachdb/terraform-provider-cockroach)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-cockroach` repo](https://github.com/pulumiverse/pulumi-cockroach/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-cockroach` repo](https://github.com/cockroachdb/terraform-provider-cockroach/issues).",
"compatibility": "tfbridge20",
"pyproject": {}
}
Expand Down
4 changes: 2 additions & 2 deletions provider/cmd/pulumi-tfgen-cockroach/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"github.com/pulumi/pulumi-terraform-bridge/pf/tfgen"

cockroach "github.com/lbrlabs/pulumi-cockroach/provider"
cockroach "github.com/pulumiverse/pulumi-cockroach/provider"
)

func main() {
tfgen.Main("cockroach", cockroach.Provider())
}
}
Loading

0 comments on commit 576e9c0

Please sign in to comment.