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

Update mirrors due to msys2 server down

parent 1f5aafbd
......@@ -8,6 +8,8 @@ If you want to develop and test your R packages, build R packages binaries under
## Dependencies
A bare metal or a Virtual Machine with nested Virtualization on the hypervisor activated as a server with dependencies installed.
### Systems
* VirtualBox (>=6.1.14) and extension Pack
......@@ -18,7 +20,6 @@ If you want to develop and test your R packages, build R packages binaries under
### GitLab Runner
A bare metal or a Virtual Machine with nested Virtualization on the hypervisor activated as a server with dependencies installed.
Use GitLab-Runner to register a _shell_ runner. _gitlab-runner_ user have to get access to _vboxmanage_, _vagrant_ and _ansible_.
To register the virtualbox runner create here, called _WIN10R4_.
......@@ -36,6 +37,7 @@ gitlab-runner register \
--virtualbox-disable-snapshots = false \
--virtualbox-base-snapshot = "bootR4"
```
To use this runner, add in your .gitlab-ci.yml jobs:
```
tags:
......
......@@ -4,8 +4,10 @@
# Add repository
sed -i.bak -e "s/^#\[msys\]/\[msys\]/" -e "s/^#Include/Include/" /etc/pacman.conf
echo -e "Server = http://repo.msys2.org/mingw/\$arch/" >> /etc/pacman.d/mirrorlist.msys
echo -e "Server = http://repo.msys2.org/mingw/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
#echo -e "Server = http://repo.msys2.org/mingw/\$arch/" >> /etc/pacman.d/mirrorlist.msys
#echo -e "Server = http://repo.msys2.org/mingw/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
echo -e "Server = https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/\$arch/" >> /etc/pacman.d/mirrorlist.msys
echo -e "Server = https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
# Update server gpg key
curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
......
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