Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
90d479fc
Commit
90d479fc
authored
Sep 29, 2020
by
Jean-Francois Rey
☕
Browse files
update
parent
e8a686a0
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
90d479fc
...
...
@@ -20,5 +20,7 @@ Deploy-VM:
stage
:
deploy
when
:
on_success
script
:
-
vboxmanager unregistervm --delete win10R4
-
vboxmanager modifyvm windows10R4 --name win10R4
-
vboxmanage unregistervm --delete win10R4
-
vboxmanage modifyvm windows10R4 --name win10R4
# - sudo vboxmanage unregistervm win10R4
#- sudo vboxmanage registervm "/home/VirtualBox VMs/win10R4/win10R4.vbox"
README.md
View file @
90d479fc
# Windows 10 Virtual Machine + R environment
> create a
v
irtualbox under windows 10 with R and Rtools + some dependencies.
> create a
V
irtualbox under windows 10 with R and Rtools + some dependencies.
## Principe
## Principle
We use a Vagrant box _GAEV/win10_ (from vagrant cloud) that is a windows10 professional test version with vboxaGuestAditions.
Vagrant create and provision (via ansible) the virtualbox.
After virtual machine creation and configuration, it registered as a new gitlab-runner (by replacing an existing one).
##
Vagrantfile
View file @
90d479fc
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"GAEV/win10"
config
.
vm
.
boot_timeout
=
6
00
config
.
vm
.
boot_timeout
=
12
00
# Configure Vagrant to use WinRM instead of SSH
config
.
vm
.
communicator
=
"winrm"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment