Verified Commit 86fdf86d authored by Cody L Marquart's avatar Cody L Marquart
Browse files

Fixing CI for release

parent 733522cd
Pipeline #47638 passed with stages
in 7 minutes and 30 seconds
......@@ -49,21 +49,31 @@ variables:
check:r-devel:
image: $REG_URL/devel:current
only:
- master
refs:
- master
- tags
<<: *check_template
check:r-oldrelease:
image: $REG_URL/oldrelease:current
only:
- master
refs:
- master
- tags
<<: *check_template
check:r-release:
image: $REG_URL/release:current
only:
refs:
- master
- tags
<<: *check_template
check:r-winbuilder:
stage: checkWindows
image: egruw/r-ftp
only:
- master
refs:
- master
- tags
when: manual
<<: *build_template
script:
......@@ -87,7 +97,7 @@ release:cran:
when: manual
script:
- cat cran-comments.md
- Rscript -e "devtools:::upload_cran(devtools::as.package('.'), './build/${PKG}_${VERSION}.tar.gz')"
- Rscript -e "devtools:::upload_cran(devtools::as.package('.'), './archive/${PKG}_${VERSION}.tar.gz')"
tags:
- docker
allow_failure: false
......@@ -136,8 +146,14 @@ docker:release:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
only:
refs:
- branches
changes:
- "inst/docker/$PKG-$FILE"
except:
refs:
- master
- tags
<<: *docker_template
docker:release-test:
variables:
......@@ -147,9 +163,14 @@ docker:release-test:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
only:
refs:
- branches
changes:
#- ".gitlab-ci.yml"
- "inst/docker/$PKG-$FILE"
except:
refs:
- master
- tags
<<: *docker_template
docker:old-release:
variables:
......@@ -159,8 +180,14 @@ docker:old-release:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
only:
refs:
- branches
changes:
- "inst/docker/$PKG-$FILE"
except:
refs:
- master
- tags
<<: *docker_template
docker:devel:
variables:
......@@ -170,6 +197,12 @@ docker:devel:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
only:
refs:
- branches
changes:
- "inst/docker/$PKG-$FILE"
except:
refs:
- master
- tags
<<: *docker_template
\ No newline at end of file
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