Data Science R Shiny Application

Purpose of this quickstarter

Provisions a R Shiny application within OpenShift using OpenShift OAuth.

What files / architecture is generated?

.
├── Jenkinsfile - This file contains Jenkins build configuration settings
├── .pre-commit-config.yaml
├── docker - This folder contains Docker configuration settings and main R Shiny app
│   ├── Dockerfile
│   └── app.R
├── metadata.yml - Component metadata
└── release-manager.yml - Configuration file for the Release Manager

Frameworks used

Usage - how do you start after you provisioned this quickstarter

The quickstarter sets up two pods in OpenShift. The ds-rshiny application is routed through the OpenShift OAuth proxy instance.

Metadata

The following are typical metadata values that can be used for components based on this quickstarter: Note that the OpenShift resources will be labeled based on this metadata.

name: shiny
description: "Shiny is an R package that makes it easy to build interactive web apps straight from R."
supplier: https://www.rstudio.com/
version: 1.6.0
type: ods-service
runtime: r
runtimeVersion: 4.1.1

How this quickstarter is built through jenkins

The build pipeline is defined in the Jenkinsfile in the project root. The main stages of the pipeline are:

  1. Start OpenShift build

  2. Deploy image to OpenShift

include::partial$secret-scanning-with-gitleaks.adoc

Builder agent used

Known limitations

N/A