-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add support for git deployments #501
base: main
Are you sure you want to change the base?
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
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.
This is exciting! Thanks for doing this.
Looks like the formatting is off? Is this perhaps the same thing as we saw with the conda
removal PR?
It seems better now that your PR has merged. |
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.
Changes look good. I did not verify the functionality.
rsconnect deploy git --help: Can we get some more context around these new flags:
Something like...:
|
If you try to
Should we add support for shinyapps.io here, or just catch the error and display a helpful message? |
If you try to deploy to Connect where Git is disabled, this error is thrown:
Can we we detect if Git is enabled/installed on Connect and throw a friendly error here? |
This PR adds support for deploying a new git-backed content item using rsconnect-python.
Intent
This is based on @colearendt 's PR. I moved it to a local branch (for CI), updated it to work the the executor, added title/env var support, and added documentation.
Type of Change
Automated Tests
Needs tests.
Directions for Reviewers
Run something like
See a new git-backed content item in Connect. You can also use
--title
, and-E
to specify environment variables as for other content types.Checklist