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
855c0df6
Commit
855c0df6
authored
Oct 05, 2020
by
Jean-Francois Rey
☕
Browse files
Update mirrors due to msys2 server down
parent
1f5aafbd
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
855c0df6
...
...
@@ -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:
...
...
ansible_provisioning/files/configure-msys2.sh
View file @
855c0df6
...
...
@@ -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
...
...
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