# CI/CD

You can set up a vmr environment to use it in CI/CD pipelines.

Once you set up your vmr environment take a snapshot of it.

vmrTakeSnapshot("cicdversionR")

## GitLab Runner CI/CD

Then you can get the command to run, to add it as a GitLab Runner:

virtualboxGitlabRunner(vmr_env,
gitlab_url = "gitlab.com",
gt_token = "<mytoken>",
snapshot_name = "cicdversionR",
vm_name = <VirtualBox VM Name>)

Copy and paste the return command in a terminal where GitLab Runner and the vmr environment are installed.