-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch To Speakeasy generated provider (#13)
- Loading branch information
Showing
172 changed files
with
9,936 additions
and
4,576 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Generate | ||
|
||
on: | ||
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK | ||
inputs: | ||
force: | ||
description: "Force generation of SDKs on main branch" | ||
type: boolean | ||
default: false | ||
schedule: | ||
- cron: 0 0 * * * # Runs every day at midnight | ||
push: | ||
branches: | ||
- '*' | ||
jobs: | ||
generate: | ||
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 | ||
with: | ||
speakeasy_version: latest | ||
openapi_doc_auth_header: Authorization | ||
openapi_docs: | | ||
- https://raw.githubusercontent.com/abbeylabs/edge/main/api/openapi.yaml | ||
languages: | | ||
- terraform | ||
create_release: true | ||
force: ${{ github.event.inputs.force }} | ||
secrets: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} | ||
openapi_doc_auth_token: ${{ secrets.EDGE_SPEC_TOKEN }} |
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,25 @@ | ||
|
||
|
||
## 2023-06-23 20:28:15 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc 0.1.0 | ||
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy | ||
|
||
## 2023-06-23 23:30:03 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc 0.1.0 | ||
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy | ||
|
||
## 2023-07-10 19:36:58 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc 0.1.0 | ||
- Speakeasy CLI 1.55.0 (2.59.0) https://github.com/speakeasy-api/speakeasy | ||
|
||
## 2023-07-10 21:58:11 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc 0.1.0 | ||
- Speakeasy CLI 1.55.0 (2.59.0) https://github.com/speakeasy-api/speakeasy |
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 @@ | ||
<!-- Start SDK Example Usage --> | ||
## Testing the provider locally | ||
|
||
Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally. | ||
|
||
This also allows for debuggers (e.g. delve) to be attached to the provider. | ||
|
||
```sh | ||
go run main.go --debug | ||
# Copy the TF_REATTACH_PROVIDERS env var | ||
# In a new terminal | ||
cd examples/your-example | ||
TF_REATTACH_PROVIDERS=... terraform init | ||
TF_REATTACH_PROVIDERS=... terraform apply | ||
``` | ||
<!-- End SDK Example Usage --> |
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 @@ | ||
# TODO |
Oops, something went wrong.