-
Notifications
You must be signed in to change notification settings - Fork 0
feat(builds): implement builds list and show methods #86
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,33 @@ | ||
| ## runware serverless apps builds | ||
|
|
||
| Inspect application builds | ||
|
|
||
| ### Synopsis | ||
|
|
||
| List and inspect code builds and container validations for a serverless application. | ||
|
|
||
| ``` | ||
| runware serverless apps builds [flags] | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help help for builds | ||
| ``` | ||
|
|
||
| ### Options inherited from parent commands | ||
|
|
||
| ``` | ||
| --debug Show full debug output | ||
| -F, --format string CLI output format: table, json, yaml (default "table") | ||
| --transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws") | ||
| -v, --verbose Show request/response details | ||
| ``` | ||
|
|
||
| ### SEE ALSO | ||
|
|
||
| * [runware serverless apps](runware_serverless_apps.md) - Manage deployed serverless applications | ||
| * [runware serverless apps builds list](runware_serverless_apps_builds_list.md) - List builds for a serverless application | ||
| * [runware serverless apps builds show](runware_serverless_apps_builds_show.md) - Show a build for a serverless application | ||
|
|
This file contains hidden or 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,45 @@ | ||
| ## runware serverless apps builds list | ||
|
|
||
| List builds for a serverless application | ||
|
|
||
| ### Synopsis | ||
|
|
||
| List code builds and container validations for an application. | ||
|
|
||
| The table omits log tail; use 'builds show' for error detail and log tail. | ||
|
|
||
| ``` | ||
| runware serverless apps builds list <appId> [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| # list builds for an application | ||
| runware serverless apps builds list my-app | ||
|
|
||
| # page through results | ||
| runware serverless apps builds list my-app --limit 20 --cursor <nextCursor> | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| --cursor string Pagination cursor from a previous nextCursor | ||
| -h, --help help for list | ||
| --limit int Maximum number of builds to return (1-100) | ||
| ``` | ||
|
|
||
| ### Options inherited from parent commands | ||
|
|
||
| ``` | ||
| --debug Show full debug output | ||
| -F, --format string CLI output format: table, json, yaml (default "table") | ||
| --transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws") | ||
| -v, --verbose Show request/response details | ||
| ``` | ||
|
|
||
| ### SEE ALSO | ||
|
|
||
| * [runware serverless apps builds](runware_serverless_apps_builds.md) - Inspect application builds | ||
|
|
This file contains hidden or 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,41 @@ | ||
| ## runware serverless apps builds show | ||
|
|
||
| Show a build for a serverless application | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Show a single build, including status, error, and log tail. | ||
|
|
||
| Log tail is the trailing snapshot returned by the API; live streaming is not | ||
| supported. | ||
|
|
||
| ``` | ||
| runware serverless apps builds show <appId> <buildId> [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| # show a build | ||
| runware serverless apps builds show my-app 33333333-3333-3333-3333-333333333333 | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help help for show | ||
| ``` | ||
|
|
||
| ### Options inherited from parent commands | ||
|
|
||
| ``` | ||
| --debug Show full debug output | ||
| -F, --format string CLI output format: table, json, yaml (default "table") | ||
| --transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws") | ||
| -v, --verbose Show request/response details | ||
| ``` | ||
|
|
||
| ### SEE ALSO | ||
|
|
||
| * [runware serverless apps builds](runware_serverless_apps_builds.md) - Inspect application builds | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: a path literal here will be brittle to upstream changes (e.g. like the big deployments/app rename)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving this PR as-is so we don't rebase the stack.
Follow-up at the tip: #93 —
logResponsenow takes the generated client'sHTTPResponseand logsRequest.URL.Path, so a deployments/apps rename tracks OpenAPI regen instead of duplicated literals.