-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
47 lines (42 loc) · 986 Bytes
/
.gitlab-ci.yml
File metadata and controls
47 lines (42 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
include:
- project: "idda/applications/nexus/pipeline-admission/ci-templates"
ref: main
file: "livraison-package.yaml"
variables:
GIT_SSL_NO_VERIFY: "1"
PKG_NAME: "rtauargus"
image: gitlab-registry.insee.fr:443/datascience/registry-prod/onyxia-rstudio:r4.4.2
stages:
- 📦️ Package
Build:
stage: 📦️ Package
image: inseefrlab/onyxia-rstudio:latest
retry:
max: 2
when: runner_system_failure
rules:
- when: manual
script:
- Rscript -e 'devtools::install()'
- |
set -e
R --version
R CMD build --no-build-vignettes --no-manual .
artifacts:
paths:
- "*.tar.gz"
Nexus:
stage: 📦️ Package
variables:
DEST_REPOSITORY: "r-local"
PATH_ARTEFACT_A_DEPLOYER: "${PKG_NAME}_*.tar.gz"
NOM_DU_JOB_CONTENANT_LE_LIVRABLE: "Build"
extends: .template:livraison-package
retry:
max: 2
when: runner_system_failure
rules:
- when: manual
needs:
- job: Build
artifacts: true