[FR] Generate files for deployment via Google Cloud Run

Open
#1,188 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, google-cloud, r
Domain
cloud, devops

Research direction

Review the linked app-debt-network-visualizer deployment and the project's existing file-generation functions to identify the required Google Cloud Run files. Resolve the function name and shiny_server default, then make the generated Dockerfile and shiny-server.conf match the agreed deployment workflow.

Written by the indexing model from the issue text.

Description

enhancement

I love golem, thanks for all the hard work 🙏 It would be great to have a function that creates the necessary files for hosting a golem app via Google Cloud Run (GCR) connected to the GitHub repo.

I have experimented with golem and GCR last week and successfully deployed a few apps (e.g. https://github.com/tidy-intelligence/app-debt-network-visualizer), so I have an idea on which files need to be generated and what they should look like.

I'm happy to create a PR, if you also believe this is a good new feature. However, I have a few upfront questions:

  • What is the best name for this function? add_dockerfile_google_cloud_run / add_dockerfile_googlecloudrun / add_dockerfile_gcr?
  • I think that it is wise to use Shiny Server (which is included in rocker/shiny anyway) as default to run the app. However, this also means creating a shiny-server.conf file that maps the app path to the root (assuming that each container ships a single app). Is it ok to add a shiny_server = TRUE option? EDIT: on second thought, the option should be FALSE as default because the typical use case might be that the resulting container is used in ShinyProxy.

Thanks,
Christoph

Dominant language
R
Stars
947
Forks
135
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ThinkR-open/golem

All issues in ThinkR-open/golem

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.