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
MacOSR
Commits
ba901f44
Commit
ba901f44
authored
Oct 19, 2020
by
Jean-Francois Rey
☕
Browse files
update format files
parent
7dd64c55
Pipeline
#2521
failed with stages
in 26 minutes and 47 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ba901f44
...
...
@@ -12,6 +12,7 @@ Gen-VM:
script
:
-
vboxmanage controlvm MacOSCR4 poweroff ||
true
-
vboxmanage unregistervm --delete MacOSCR4 ||
true
-
vagrant destroy -f
-
vagrant box update
#- vagrant up > vagrantup.log
-
vagrant up
...
...
Vagrantfile
View file @
ba901f44
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"GAEV/MacOS_Catalina"
config
.
vm
.
box
=
"GAEV/MacOS_Catalina"
config
.
vm
.
boot_timeout
=
1800
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
disabled:
true
# Configure Vagrant to use SSH
config
.
vm
.
communicator
=
"ssh"
config
.
vm
.
communicator
=
"ssh"
# Configure SSH Connectivity
config
.
ssh
.
username
=
"vagrant"
config
.
ssh
.
password
=
"vagrant"
config
.
ssh
.
export_command_template
=
'export PATH=/usr/local/bin:$PATH'
# Configure SSH Connectivity
config
.
ssh
.
username
=
"vagrant"
config
.
ssh
.
password
=
"vagrant"
config
.
ssh
.
export_command_template
=
'export PATH=/usr/local/bin:$PATH'
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
# Display the VirtualBox GUI when booting the machine
vb
.
gui
=
false
vb
.
name
=
"MacOSCR4"
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
8192
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
4
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--vram"
,
128
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--graphicscontroller"
,
"vboxvga"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--nested-hw-virt"
,
"on"
]
vb
.
customize
[
"setextradata"
,
"global"
,
"GUI/SuppressMessages"
,
"all"
]
end
# Display the VirtualBox GUI when booting the machine
vb
.
gui
=
false
vb
.
name
=
"MacOSCR4"
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
8192
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
4
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--vram"
,
128
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--graphicscontroller"
,
"vboxvga"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--nested-hw-virt"
,
"on"
]
vb
.
customize
[
"setextradata"
,
"global"
,
"GUI/SuppressMessages"
,
"all"
]
end
config
.
vm
.
provision
"ansible"
do
|
ansible
|
ansible
.
playbook
=
"ansible_provisioning/playbook.yml"
ansible
.
playbook
=
"ansible_provisioning/playbook.yml"
ansible
.
inventory_path
=
"ansible_provisioning/group_vars/inventory.yml"
ansible
.
verbose
=
"-vv"
ansible
.
limit
=
"macos"
end
end
end
ansible_provisioning/group_vars/inventory.yml
View file @
ba901f44
macos
:
hosts
:
MacOSCatalina
:
MacOSCatalina
:
ansible_host
:
127.0.0.1
vars
:
ansible_user
:
vagrant
...
...
ansible_provisioning/playbook.yml
View file @
ba901f44
...
...
@@ -6,11 +6,11 @@
tasks
:
-
name
:
ping
ping
:
#- name: Update MacOS
# script: files/update-macos.sh
#- name: reboot after update
# reboot:
# reboot_timeout: 3600
#- name: Update MacOS
# script: files/update-macos.sh
#- name: reboot after update
# reboot:
# reboot_timeout: 3600
-
name
:
Install R and dependencies
script
:
files/install-r.sh
-
name
:
Install R packages and dependencies
...
...
Write
Preview
Markdown
is supported
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