From 74a749be94406553e3d8daad8497014b0beabf9e Mon Sep 17 00:00:00 2001 From: Jan Gorecki Date: Sat, 25 Nov 2023 16:17:32 +0100 Subject: [PATCH] not building docker images anymore (#5763) --- .ci/publish.R | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.ci/publish.R b/.ci/publish.R index 16521fc0e..ec35fe43f 100644 --- a/.ci/publish.R +++ b/.ci/publish.R @@ -102,15 +102,6 @@ package.index <- function(package, lib.loc, repodir="bus/integration/cran") { sprintf(" Windows binaries: %s ", format.bins(ver=c("r-devel","r-release","r-oldrel"), bin_ver=c(r_devel_ver, r_rel_ver, r_oldrel_ver), cran.home=cran.home, os.type="windows", pkg=pkg, version=version, repodir=repodir)), sprintf(" macOS binaries: %s ", format.bins(ver=c("r-release","r-oldrel"), bin_ver=c(r_rel_ver, r_oldrel_ver), cran.home=cran.home, os.type="macosx", pkg=pkg, version=version, repodir=repodir)) ) - if (pkg=="data.table") { ## docker images - registry = Sys.getenv("CI_REGISTRY", "registry.gitlab.com") - namespace = Sys.getenv("CI_PROJECT_NAMESPACE", "Rdatatable") - project = Sys.getenv("CI_PROJECT_NAME", "data.table") - images = c("r-release","r-devel","r-release-builder") - images.title = c("Base R release", "Base R development", "R release package builder") - tags = rep("latest", 3) - docker.dl = sprintf(" %s:
docker pull %s/%s/%s/%s:%s
", images.title, tolower(registry), tolower(namespace), tolower(project), tolower(images), tags) - } index.file = file.path(repodir, "web/packages", pkg, "index.html") if (!dir.exists(dirname(index.file))) dir.create(dirname(index.file), recursive=TRUE) writeLines(c( @@ -131,11 +122,6 @@ package.index <- function(package, lib.loc, repodir="bus/integration/cran") { sprintf("", pkg), tbl.dl, "
", - if (pkg=="data.table") - c("

Docker images:

", - sprintf("", pkg), - docker.dl, - "
"), "", "" ), index.file)