Repository navigation
shinyapps/posit cloud build logs - #453
Merged
Merged
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
mslynch
marked this pull request as ready for review
July 14, 2023 15:45
omar-rs
reviewed
Jul 14, 2023
| ## Unreleased | ||
|
|
||
| ### Added | ||
| - Failed deploys to shinyapps.io will now output build logs. Posit Cloud application deploys will also output build logs once supported server-side. |
Contributor
There was a problem hiding this comment.
maybe reword to "once server-side is supported"?
Member
Author
There was a problem hiding this comment.
I'm referring to connect-based outputs here, not server-side rendering.
Contributor
There was a problem hiding this comment.
Oh, I misunderstood the comment. The words server-side are automatically associated to static outputs in my mind.
omar-rs
reviewed
Jul 14, 2023
omar-rs
approved these changes
Jul 14, 2023
mmarchetti
approved these changes
Jul 17, 2023
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Intent
Resolves #427.
Resolves #432.
Type of Change
Approach
When a shinyapps.io task fails, we call the API to:
image-buildPosit Cloud application builds don't have accessible logs yet (but will in the future). When a Posit Cloud task fails, we call the API to get the logs of the failed task, and if logs are returned, print them.
Automated Tests
Added tests for
ShinyappsService.do_deployandCloudService.do_deploy.Directions for Reviewers
Add a dependency to
my-shiny-app/requirements.txtthat doesn't exist on PyPI, then runrsconnect deploy shiny my-shiny-appto deploy to shinyapps.io.Checklist