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

Merge branch 'master' of gitlab.paca.inra.fr:r-ecosystem/cookbooks/r-packages-ci-cd

parents 0a19b098 2eb50e0f
[![pipeline status](https://gitlab.paca.inra.fr/r-ecosystem/cookbooks/r-packages-ci-cd/badges/master/pipeline.svg)](https://gitlab.paca.inra.fr/r-ecosystem/cookbooks/r-packages-ci-cd/commits/master)
[![pipeline status](https://gitlab.paca.inrae.fr/r-ecosystem/cookbooks/r-packages-ci-cd/badges/master/pipeline.svg)](https://gitlab.paca.inrae.fr/r-ecosystem/cookbooks/r-packages-ci-cd/commits/master)
# R Packages Continuous Integration and Deployment (CI/CD) pipeline
......@@ -70,14 +70,14 @@ You can fork this project and use it as a template.
* Files in the project: [Files](#files)
You need to enable __Pipelines__ in the project setting (_Setting -> General -> Visibility_)
You need to enable __Pipelines__ in the project setting (_Setting -> General -> Visibility_)
and enable __Shared Runners__ (_Setting -> CI/CD -> Runners_).
### The runners
Four Runners are availables for R Packaging in the shared runners :
* __r-base-biosp__ : it's the current version of R for Linux OS (nightly build as docker image). [See here](https://gitlab.paca.inra.fr/r-ecosystem/r-docker-images) for more information.
* __r-devel-biosp__ : it's the in development version of R (the next version) for Linux OS (nightly build as docker image). [See here](https://gitlab.paca.inra.fr/r-ecosystem/r-docker-images) for more information.
* __r-base-biosp__ : it's the current version of R for Linux OS (nightly build as docker image). [See here](https://gitlab.paca.inrae.fr/r-ecosystem/r-docker-images) for more information.
* __r-devel-biosp__ : it's the in development version of R (the next version) for Linux OS (nightly build as docker image). [See here](https://gitlab.paca.inrae.fr/r-ecosystem/r-docker-images) for more information.
* __R win10 binaries__ : a Windows 10 Virtual Machine with the current R and Rtools version.
* __R Mac__ : a Mac OS High Sierra with the current R and Rtools version.
......@@ -86,7 +86,7 @@ _R_ tags is for R version 3.6.2 and _R4_ tags is for R verison >= 4.0.0 .
> With R version 4.0.0 the Windows toolschain have change and it's no more needed to download binaries of dependendcies as systems libraries.
This runners come with pre-installer R packages, R tools and system-libraries (bin and dev).
See [here](https://gitlab.paca.inra.fr/r-ecosystem/r-docker-images/blob/master/r-base-biosp/Dockerfile) for more informations.
See [here](https://gitlab.paca.inrae.fr/r-ecosystem/r-docker-images/blob/master/r-base-biosp/Dockerfile) for more informations.
If you need, you can add your own runner or ask GitLab administrator to set up a new one.
......@@ -94,6 +94,7 @@ If you need, you can add your own runner or ask GitLab administrator to set up a
## The .gitlab-ci.yml file
__[.gitlab-ci.yml](.gitlab-ci.yml)__ is the configuration file for the CI/CD pipeline.
More informations about .gitlab-ci.yml file configuration is available [here](https://gitlab.paca.inrae.fr/help/ci/yaml/README.md)
It set up three stages (create, tests and build) and severals jobs by stages.
* create : update Description, NAMESPACE, and man (roxygen2). Create the package.
......@@ -106,7 +107,7 @@ Each jobs produce artifacts mainly in _build_ stage, they produce R packages del
## Author
[Jean-François Rey](https://jeff.biosp.org) \<jean-francois.rey at inra dot fr\>
[Jean-François Rey](https://jeff.biosp.org) \<jean-francois.rey at inrae dot fr\>
## License
......
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