Skip to content

Add windows server 2019 as default for windows development

Steve Xuereb requested to merge update-base-windows-vagrant-box into master

What does this MR do?

  • Move vagrant provision script to scripts/ dir
  • Use windows server 2019 for Vagrant environment

Part of the followup issue #3917

Why was this MR needed?

We to run windows server to that we can docker for development.

How to test

$ vagrant up # This should start the windows server machine, this will take a while get ☕️ or 🍵

$ vagrant ssh # You should be inside of windows batch prompt now

$ docker run -it --rm mcr.microsoft.com/windows/servercore:ltsc2019 # This will run a contianer image, after you run it you should be in a new prompt.

$ exit

$ exit # You should be back to your local machine

$ vagrant up windows_10 # Time for another ☕️ or 🍵

$ vagrant ssh windows_10 # You should be inside of the windows 10 machine now

# You can also RDP into the machine, for the windows server you are just going to see the temrinal and for windows 10 machine you should see the full GUI

Tests/QA

vagrant@VAGRANT-2019 C:\Users\vagrant>docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.3
 Git commit:        33a45cd0a2
 Built:             unknown-buildtime
 OS/Arch:           windows/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.24)
  Go version:       go1.10.3
  Git commit:       33a45cd0a2
  Built:            11/07/2018 00:24:12
  OS/Arch:          windows/amd64
  Experimental:     false

vagrant@VAGRANT-2019 C:\Users\vagrant>go version
go version go1.8 windows/amd64

vagrant@VAGRANT-2019 C:\Users\vagrant>git --version
git version 2.18.0.windows.1

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Edited by Alessio Caiazza

Merge request reports

Loading