generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rebrand to official symbiosis packaging
- Loading branch information
Showing
60 changed files
with
183 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.3/containers/hugo | ||
{ | ||
"name": "TFProvider", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Build | ||
|
||
## Locally | ||
|
||
In order to build the provider locally for testing, you can use the included dev | ||
container setup in [`.devcontainer/`](./.devcontainer). Running it with VS Code | ||
is the easiest method, but you can also run it from a terminal: | ||
|
||
```shell | ||
docker build . -f .devcontainer/Dockerfile -t dcps | ||
... | ||
docker run --rm -it -v $(pwd):/build -w /build dcps | ||
build@368612b0ea8c:/build$ | ||
``` | ||
|
||
Once you're in the container, you can use the included [`Makefile`](./Makefile) | ||
to build the SDKs included (Node.js, Python, .NET Core and Golang) by running | ||
the `build` target. | ||
|
||
```shell | ||
build@368612b0ea8c:/build$ make build | ||
... | ||
``` | ||
|
||
Once this has completed, you will see a `dotnet`, `go`, `nodejs` and `python` | ||
folder appear in the [`sdk`](./sdk) directory. These are the compiled/generated | ||
SDKs for use with Pulumi. | ||
|
||
## Release | ||
|
||
To make a release, there is a two-step process to go through. The first step is | ||
making tags for the releases. | ||
|
||
```shell | ||
$ git tag v1.0.2 # used for the nodejs, python and dotnet releases | ||
$ git tag sdk/v1.0.2 # used for the golang release | ||
``` | ||
|
||
Then, you just need to push your tags. | ||
|
||
```shell | ||
$ git push --tags | ||
``` | ||
|
||
Once done, [GitHub Actions](./.github/workflows/release.yaml) will take over and | ||
(assuming you have set up the required environment variables on GitHub's end) | ||
build & release the SDKs to NPM, PyPI, and NuGet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Installing the Provider | ||
|
||
Because this provider is not an official Pulumi provider, you will need to | ||
manually install the provider wherever you want to use it. | ||
|
||
To do this, download an appropriate binary from the Releases section of this | ||
repo (i.e. `linux-amd64` on an x86_64 Linux system, `darwin-arm64` on Apple | ||
Silicon), extract it, and then use the `pulumi plugin install` command to | ||
install it. | ||
|
||
```shell | ||
$ pulumi plugin install resource symbiosis v1.0.2 -f ./bin/pulumi-resource-symbiosis | ||
[resource plugin symbiosis-1.0.2] installing | ||
``` | ||
|
||
Now, you should be able to use the provider through any of its published SDKs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.