Commit eb809571 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update provisioning

parent 7ea50e21
# MacOs, R environment and GitLab CI/CD
##
apt-get install sshpass
......@@ -9,6 +9,7 @@ Vagrant.configure("2") do |config|
# 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
......
......@@ -2,7 +2,7 @@
# Download and install gitlab-runner
sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64
sudo chmod +x /sur/local/bin/gitlab-runner
sudo chmod +x /usr/local/bin/gitlab-runner
# add gitlab serveur in know host
ssh-keyscan -t ecdsa -H gitlab.paca.inrae.fr >> ~/.ssh/known_hosts
......
#!/bin/bash
echo "$PATH"
export PATH=/usr/local/bin:$PATH
### List off systems pre-compiled libraries
declare -a listL=(
"cairo-1.14.12-darwin.17-x86_64.tar.gz"
......
......@@ -4,8 +4,8 @@ echo "Downloading gfortran for catalina..."
curl -LO https://github.com/fxcoudert/gfortran-for-macOS/releases/download/10.2/gfortran-10.2-Catalina.dmg
echo "Install gfortran"
hdiutil attach gfortran-10.2-Catalina.dmg
sudo installer -package /Volume/gfortran*/gfortran.pkg -target /
hdiutil detach /Volume/gfortran*
sudo installer -package /Volumes/gfortran*/gfortran.pkg -target /
hdiutil detach /Volumes/gfortran*/
rm gfortran-10.2-Catalina.dmg
echo "Downloading R-4.0 Nightly..."
......
......@@ -5,5 +5,5 @@ curl -OL https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
hdiutil attach XQuartz-2.7.11.dmg
installer -package /Volume/xquartz*/xquartz.pkg -target /
hdiutil detach /Volume/xquartz*
hdiutil detach /Volumes/xquartz*
rm XQuartz-2.7.11.dmg
......@@ -5,6 +5,6 @@ macos:
vars:
ansible_user: vagrant
ansible_password: vagrant
ansible_port: 22
ansible_port: 2222
ansible_connection: ssh
---
- name: Mac OS R tools
hosts: MacOSCatalina
#environment:
# PATH: "/usr/local/bin:$PATH"
tasks:
- name: ping
ping:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment