Skip to content

Commit

Permalink
Upgrade R and BioC and install libarchive for shinylive
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy committed May 3, 2024
1 parent af6c1a9 commit 0267e39
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
description: R Version
required: true
type: choice
default: "4.3.3"
default: "4.4.0"
options:
- "4.1.0"
- "4.1.1"
Expand All @@ -51,30 +51,32 @@ on:
- "4.3.1"
- "4.3.2"
- "4.3.3"
- "4.4.0"
- "latest"
latest_r_version:
description: "R Version to be aliased as the 'latest' tag"
required: false
type: string
default: "4.3.3"
default: "4.4.0"
bioc_version:
description: BioConductor Release
required: true
type: choice
default: "3.18"
default: "3.19"
options:
- "3.13"
- "3.14"
- "3.15"
- "3.16"
- "3.17"
- "3.18"
- "3.19"
- "devel"
latest_bioc_version:
description: "BioC Version to be aliased as the 'latest' tag"
required: false
type: string
default: "3.18"
default: "3.19"
tag:
description: |
Custom Image Tag/Version. Defaults to current date in the `YYYY.MM.DD` format if unspecified.
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
strategy:
matrix:
image:
- distro_tag: '4.3.3'
bioc: '3.18'
- distro_tag: '4.4.0'
bioc: '3.19'
distro: rstudio-local
origin: rocker
- distro_tag: '4.3.3'
bioc: '3.18'
- distro_tag: '4.4.0'
bioc: '3.19'
distro: rstudio
origin: rocker
- distro_tag: 'latest'
Expand All @@ -61,11 +61,11 @@ jobs:
distro: fedora-gcc-devel
origin: rhub
- distro_tag: 'latest'
bioc: '3.18'
bioc: '3.19'
distro: debian-gcc-patched
origin: rhub
- distro_tag: 'latest'
bioc: '3.18'
bioc: '3.19'
distro: debian-gcc-release
origin: rhub

Expand All @@ -87,8 +87,8 @@ jobs:
"distribution": "${{ matrix.image.distro }}",
"r_version": "${{ matrix.image.distro_tag }}",
"bioc_version": "${{ matrix.image.bioc }}",
"latest_r_version": "4.3.3",
"latest_bioc_version": "3.18",
"latest_r_version": "4.4.0",
"latest_bioc_version": "3.19",
"tag": "",
"tag_latest": "true",
"release_tag": "${{ needs.create-release.outputs.release_tag }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
image:
- r: '4.3.3'
bioc: '3.18'
distro: rstudio-local
- r: '4.4.0'
bioc: '3.19'
distro: rstudio
steps:
- name: Log in to the Container registry 🗝
uses: docker/login-action@v3
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Build arguments
ARG ORIGIN=rocker
ARG ORIGIN_DISTRIBUTION=rstudio
ARG R_VERSION=4.3.3
ARG R_VERSION=4.4.0

# Fetch base image
FROM ${ORIGIN}/${ORIGIN_DISTRIBUTION}:${R_VERSION}

# Reset args in build context
ARG DISTRIBUTION=rstudio-local
ARG BIOC_VERSION=3.18
ARG BIOC_VERSION=3.19

# Set image metadata
LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
Expand Down
1 change: 1 addition & 0 deletions scripts/install_cran_pkgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ shared_pkgs <- c(
"shinyTree",
"shinyvalidate",
"shinyWidgets",
"shinylive",
"simsurv",
"sparkline",
"spelling",
Expand Down
2 changes: 2 additions & 0 deletions scripts/install_sysdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ libv8-dev \
libpq-dev \
tidy \
libglpk-dev \
libarchive-dev \
"

# Shared deps for fedora
Expand Down Expand Up @@ -92,6 +93,7 @@ udunits2-devel \
v8-devel \
tidy \
glpk-devel \
libarchive-devel \
"

# Deps specific on the rstudio image
Expand Down

0 comments on commit 0267e39

Please sign in to comment.