Learn R Programming

vmr (version 0.0.6)

virtualboxGitlabRunner: Configure the guest VM to be use as a Gitlab-Runner

Description

Configure the guest VM to be use as a GitLab Runner and return the command to run in shell to register it.

Usage

virtualboxGitlabRunner(
  vmr,
  gitlab_url,
  gt_token,
  snapshot_name = "",
  vm_name = ""
)

Value

Character command to run in shell to register it

Arguments

vmr

a vmr object

gitlab_url

a GitLab URL with protocol (http or https)

gt_token

a GitLab registration token

snapshot_name

name of a snapshot to use if any

vm_name

the 'VitualBox' VM name if not specified in 'vmr' object provider_options.

Examples

Run this code
if (FALSE) {
cmd <- virtualboxGitLabRunner(vmr, "gitlab.com", "mytoken")
system(cmd)
}

Run the code above in your browser using DataLab