Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
/ rhubctrl Public archive

⚠️ Work in progress! An R package that contains configuration information and functions to deploy and instance of r-hub. If you want to try r-hub on your local machine or server(s), you need this repository.

License

Notifications You must be signed in to change notification settings

r-hub/rhubctrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rhubctrl

Manage an Instance of 'r-hub'

Linux Build Status

Windows Build status CRAN RStudio mirror downloads

Deploy and manage an installation of r-hub, a CI environment for R packages.

Installation

devtools::install_github("/rhubctrl")

Usage

library(rhubctrl)

Internals

Configuration

All virtual machines and containers are configured via environment variables. Sensitive information is store encrypted in this repository using the secure R package (https://github.com/hadley/secure). The process of passing on this information to the virtual machines and containers is as follows:

  1. The package decprypt the configuration information using secure::decrypt.
  2. It sets up environment variables based on this, in a temporary shell, to start the virtual machines via Vagrant.
  3. Vagrant picks up these environment variables, and sets them in the virtual machine.
  4. The script that starts a Docker container and/or manages Dokku, transfers the needed environment variables into the container(s).

License

MIT + file LICENSE ©

About

⚠️ Work in progress! An R package that contains configuration information and functions to deploy and instance of r-hub. If you want to try r-hub on your local machine or server(s), you need this repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published