Manage an Instance of 'r-hub'
Deploy and manage an installation of r-hub, a CI environment for R packages.
devtools::install_github("/rhubctrl")library(rhubctrl)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:
- The package decprypt the configuration information using
secure::decrypt. - It sets up environment variables based on this, in a temporary shell, to start the virtual machines via Vagrant.
- Vagrant picks up these environment variables, and sets them in the virtual machine.
- The script that starts a Docker container and/or manages Dokku, transfers the needed environment variables into the container(s).
MIT + file LICENSE ©