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
5edbb011
Commit
5edbb011
authored
Nov 09, 2020
by
Jean-Francois Rey
☕
Browse files
remove async
parent
1636ed53
Pipeline
#2626
failed with stages
in 51 minutes and 53 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Vagrantfile
View file @
5edbb011
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"GAEV/MacOS_Catalina"
#config.vm.box_version = "1.2.1"
config
.
vm
.
boot_timeout
=
1800
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
disabled:
true
config
.
vm
.
allow_fstab_modification
=
false
...
...
@@ -19,8 +20,9 @@ Vagrant.configure("2") do |config|
# 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, "--memory", 8192]
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
4092
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
2
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--vram"
,
128
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--graphicscontroller"
,
"vboxvga"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--nested-hw-virt"
,
"on"
]
...
...
ansible_provisioning/playbook.yml
View file @
5edbb011
---
-
name
:
Mac OS R tools
hosts
:
MacOSCatalina
vars
:
ansible_python_interpreter
:
"
/usr/bin/python3"
#environment:
# PATH: "/usr/local/bin:$PATH"
tasks
:
...
...
@@ -12,49 +14,26 @@
# reboot:
# reboot_timeout: 3600
## Use copy to avoid ssh timeout or error
-
name
:
copy R install script
copy
:
src
:
files/install-r.sh
dest
:
~/install-r.sh
mode
:
u+x
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install R and dependencies
script
:
./install-r.sh
async
:
2000
poll
:
30
-
name
:
copy R packages install script
copy
:
src
:
files/install-r-library.sh
dest
:
install-r-library.sh
mode
:
u+x
script
:
files/install-r.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install R packages and dependencies
script
:
./install-r-library.sh
async
:
4000
poll
:
30
-
name
:
copy MaCTeX install script
copy
:
src
:
files/install-mactek.sh
dest
:
install-mactek.sh
mode
:
u+x
script
:
files/install-r-library.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install MacTex
script
:
./install-mactex.sh
async
:
1000
poll
:
30
-
name
:
copy XQuartz install script
copy
:
src
:
files/install-xquartz.sh
dest
:
install-xquartz.sh
mode
:
u+x
script
:
files/install-mactex.sh
-
name
:
Install Xquartz
script
:
./install-xquartz.sh
async
:
1000
poll
:
30
-
name
:
copy GitLab Runner install script
copy
:
src
:
files/install-gitlabrunner.sh
dest
:
install-gitlabrunner.sh
mode
:
u+x
script
:
files/install-xquartz.sh
-
name
:
Install GitLab-Runner
script
:
./install-gitlabrunner.sh
async
:
1000
poll
:
30
script
:
files/install-gitlabrunner.sh
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