-
Notifications
You must be signed in to change notification settings - Fork 84
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
default image from RSCONNECT_IMAGE #1065
Conversation
@@ -126,6 +126,13 @@ createAppManifest <- function(appDir, | |||
verbose = FALSE, | |||
quiet = FALSE) { | |||
|
|||
if (is.null(image)) { |
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.
The final image value is inferred "late", but that lets both deployApp()
and writeManifest()
avoid duplication.
156ba6d
to
4d38013
Compare
EDIT: RESTART YOUR R SESSION IF YOU HIT THIS: I thought I was seeing issues due to me having built and tested out
|
@aronatkins Do we expect
Where
I confirmed that the environment variable is used by default as well:
Associated Connect logs:
With a
Associated Connect logs:
|
|
|
@aronatkins How can I validate that the manifest is aware of the supplied image name, or am I misunderstanding your comment and |
@dethmasque - You can look at the manifest to confirm that the image data is present. That's probably sufficient, since you have already checked direct deployment of the manifest using |
fixes #1063
@hadley - preference towards R option versus environment variable? The original request was for an environment variable, which feels more "global", especially if we have non-R tooling use the same variable.