Skip to content

feat: Add a local-debug target (to make for easier debugging) #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.554.1
speakeasyVersion: 1.555.1
sources:
Glean API:
sourceNamespace: glean-api-specs
Expand All @@ -13,6 +13,20 @@ sources:
sourceBlobDigest: sha256:caa5ffc81b230bfbba8f7861b0eac961f47c18be02a5cf1d4f7bd51bc734c419
tags:
- latest
Local Glean API:
sourceNamespace: local-glean-api
sourceRevisionDigest: sha256:7a6d9eb7f238b47a96f666ea337c55f2ff41c1d033c3781b159451dfaa27ac68
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
tags:
- latest
- 0.9.0
local-debug:
sourceNamespace: local-debug
sourceRevisionDigest: sha256:dbfa89dd68466b7e44d30a80ca46245606beb1756239a8fbe1031d91cbe583f3
sourceBlobDigest: sha256:5b5f71c799c2809f38dd5f0b917d24b5879d21a1b0b30a3062c99f6d453b02ee
tags:
- latest
- 0.9.0
targets:
glean:
source: Glean API
Expand All @@ -21,6 +35,16 @@ targets:
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:63af6d316a76a6ac296df7db15ec3c116ae02f65042e3ba96be403a14fb09e3f
local-debug:
source: local-debug
sourceNamespace: local-debug
sourceRevisionDigest: sha256:dbfa89dd68466b7e44d30a80ca46245606beb1756239a8fbe1031d91cbe583f3
sourceBlobDigest: sha256:5b5f71c799c2809f38dd5f0b917d24b5879d21a1b0b30a3062c99f6d453b02ee
local-glean:
source: Local Glean API
sourceNamespace: local-glean-api
sourceRevisionDigest: sha256:7a6d9eb7f238b47a96f666ea337c55f2ff41c1d033c3781b159451dfaa27ac68
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -29,6 +53,11 @@ workflow:
inputs:
- location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs
output: .speakeasy/glean-merged-spec.yaml
local-debug:
inputs:
- location: .speakeasy/glean-merged-spec.yaml
registry:
location: registry.speakeasyapi.dev/glean-el2/sdk/local-debug
targets:
glean:
target: python
Expand All @@ -44,3 +73,12 @@ workflow:
blocking: false
testing:
enabled: true
local-debug:
target: python
source: local-debug
codeSamples:
labelOverride:
fixedValue: Python (API Client)
blocking: false
testing:
enabled: true
14 changes: 14 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ sources:
inputs:
- location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs
output: .speakeasy/glean-merged-spec.yaml
local-debug:
inputs:
- location: .speakeasy/glean-merged-spec.yaml
registry:
location: registry.speakeasyapi.dev/glean-el2/sdk/local-debug
targets:
glean:
target: python
Expand All @@ -20,3 +25,12 @@ targets:
blocking: false
testing:
enabled: true
local-debug:
target: python
source: local-debug
codeSamples:
labelOverride:
fixedValue: Python (API Client)
blocking: false
testing:
enabled: true