7- Use vmr for 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.


GitLab Runner CI/CD

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

                       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.

Vignette summary

  1. Working with vmr package
  2. Start my first environment
  3. Manage vmr environment
  4. Manage boxes
  5. Manage providers
  6. Development with vmr
  7. CI/CD
  8. Functions resume

Next vignette : 8- Functions resume