Skip to content

Testing on windows with vagrant

Alessio Caiazza requested to merge (removed):vagrant-win into master

What does this MR do?

Here we are providing a vagrant configuration file for running tests on windows 10.

Howto use this

first install vagrant and virtualbox

  1. vagrant up
    • this will download a pre-provisioned win10 evaluation license from vagrant cloud
    • once started it will install go, git and OpenSSH
  2. vagrant ssh
    • when prompted for a password enter vagrant
  3. Run the test
       cd %RUNNER_SRC%
       powershell ci\test_windows.ps1
       exit
  4. vagrant halt
  5. vagrant destroy

Why was this MR needed?

This is a quick way for running tests on windows using a virtual machine directly from the developer workstation.

So far I got a failure on the following packages:

  • gitlab.com/gitlab-org/gitlab-runner/commands/helpers
  • gitlab.com/gitlab-org/gitlab-runner/executors/docker/machine
  • gitlab.com/gitlab-org/gitlab-runner/executors/shell
  • gitlab.com/gitlab-org/gitlab-runner/helpers/archives
  • gitlab.com/gitlab-org/gitlab-runner/helpers/docker

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Edited by Jason Yavorska

Merge request reports