Skip to content

Commit

Permalink
Merge pull request #845 from rstudio/bump-pwb-2024.09.0
Browse files Browse the repository at this point in the history
Bump Workbench to v2024.09.0
  • Loading branch information
bschwedler authored Sep 24, 2024
2 parents fae3b60 + 74f18b4 commit f50ba2f
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILDX_PATH := ""

RSC_VERSION := "2024.08.0"
RSPM_VERSION := "2024.08.2-9"
RSW_VERSION := "2024.04.2+764.pro1"
RSW_VERSION := "2024.09.0+375.pro3"

DRIVERS_VERSION := "2023.05.0"
DRIVERS_VERSION_RHEL := DRIVERS_VERSION + "-1"
Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variable PACKAGE_MANAGER_VERSION {
}

variable WORKBENCH_VERSION {
default = "2024.04.2+764.pro1"
default = "2024.09.0+375.pro3"
}

variable DRIVERS_VERSION {
Expand Down
2 changes: 1 addition & 1 deletion r-session-complete/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
R_VERSION=4.1.0
PYTHON_VERSION=3.9.5
RSW_VERSION=2024.04.2+764.pro1
RSW_VERSION=2024.09.0+375.pro3
DRIVERS_VERSION=2024.03.0-1
6 changes: 1 addition & 5 deletions r-session-complete/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG R_VERSION_ALT=4.3.3
ARG PYTHON_VERSION=3.9.17
ARG PYTHON_VERSION_ALT=3.8.17
ARG JUPYTERLAB_VERSION=3.6.5
ARG RSW_VERSION=2024.04.2+764.pro1
ARG RSW_VERSION=2024.09.0+375.pro3
ARG RSW_NAME=rstudio-workbench
ARG RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
ARG SCRIPTS_DIR=/opt/positscripts
Expand Down Expand Up @@ -43,10 +43,6 @@ RUN ln -s /lib/rstudio-server/bin/quarto/bin/quarto /usr/local/bin/quarto
### Install TinyTeX using Quarto ###
RUN $SCRIPTS_DIR/install_quarto.sh --install-tinytex --add-path-tinytex

COPY maybe_install_vs_code.sh /tmp/maybe_install_vs_code.sh
RUN /tmp/maybe_install_vs_code.sh \
&& rm /tmp/maybe_install_vs_code.sh

RUN /opt/python/"${PYTHON_VERSION}"/bin/pip install \
jupyter \
jupyterlab=="${JUPYTERLAB_VERSION}" \
Expand Down
2 changes: 1 addition & 1 deletion r-session-complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Supported tags and respective Dockerfile links

* [`jammy`, `ubuntu2204`, `jammy-2024.04.2`, `ubuntu2204-2024.04.2`](https://github.com/rstudio/rstudio-docker-products/blob/main/r-session-complete/Dockerfile.ubuntu2204)
* [`jammy`, `ubuntu2204`, `jammy-2024.09.0`, `ubuntu2204-2024.09.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/r-session-complete/Dockerfile.ubuntu2204)

# What are the r-session-complete images?

Expand Down
13 changes: 0 additions & 13 deletions r-session-complete/maybe_install_vs_code.sh

This file was deleted.

4 changes: 2 additions & 2 deletions workbench-for-google-cloud-workstations/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RSW_VERSION=2024.04.2+764.pro1
RSW_TAG_VERSION=2024.04.2-764.pro1
RSW_VERSION=2024.09.0+375.pro3
RSW_TAG_VERSION=2024.09.0-375.pro3
RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
RSW_NAME=rstudio-workbench
PYTHON_VERSION=3.11.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG PYTHON_VERSION_ALT=3.10.14
ARG PYTHON_VERSION_JUPYTER=3.10.14
ARG JUPYTERLAB_VERSION=3.6.7
ARG DRIVERS_VERSION=2023.05.0
ARG RSW_VERSION=2024.04.2+764.pro1
ARG RSW_VERSION=2024.09.0+375.pro3
ARG RSW_NAME=rstudio-workbench
ARG RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
ARG SCRIPTS_DIR=/opt/positscripts
Expand Down
4 changes: 2 additions & 2 deletions workbench-for-google-cloud-workstations/conf/vscode.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enabled=1
args=--verbose --host=0.0.0.0
args=--host=0.0.0.0

# exe=/usr/lib/rstudio-server/bin/code-server/bin/code-server
# exe=/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server
5 changes: 4 additions & 1 deletion workbench-for-google-cloud-workstations/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ file:
exists: true
owner: rstudio-server
group: rstudio-server
/usr/lib/rstudio-server/bin/code-server/bin/code-server:
/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server:
exists: true
# Old code-server location
/usr/lib/rstudio-server/bin/code-server/bin/code-server:
exists: false
/etc/rstudio/vscode.conf:
exists: true
/etc/rstudio/jupyter.conf:
Expand Down
2 changes: 1 addition & 1 deletion workbench-for-microsoft-azure-ml/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSW_VERSION=2024.04.2+764.pro1
RSW_VERSION=2024.09.0+375.pro3
RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/bionic/amd64
RSW_NAME=rstudio-workbench
PYTHON_VERSION=3.9.14
Expand Down
4 changes: 2 additions & 2 deletions workbench-for-microsoft-azure-ml/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG PYTHON_VERSION=3.9.17
ARG PYTHON_VERSION_ALT=3.8.17
ARG PYTHON_VERSION_JUPYTER=3.8.17
ARG JUPYTERLAB_VERSION=3.6.7
ARG RSW_VERSION=2024.04.2+764.pro1
ARG RSW_VERSION=2024.09.0+375.pro3
ARG RSW_NAME=rstudio-workbench
ARG RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
ARG SCRIPTS_DIR=/opt/positscripts
Expand Down Expand Up @@ -187,5 +187,5 @@ LABEL \
azure.ii.endpoints='[{"label":"connect","target":8787,"protocol":"http"}]' \
org.opencontainers.image.description='A professional integrated development environment for data science teams using R and Python' \
org.opencontainers.image.title='RStudio Workbench' \
org.opencontainers.image.version='2024.04.2+764.pro1' \
org.opencontainers.image.version='2024.09.0+375.pro3' \
org.opencontainers.image.url='https://www.rstudio.com/products/workbench/'
5 changes: 3 additions & 2 deletions workbench-for-microsoft-azure-ml/conf/vscode.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
enabled=1
exe=/opt/code-server/bin/code-server
args=--verbose --host=0.0.0.0
args=--host=0.0.0.0

# exe=/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server
5 changes: 4 additions & 1 deletion workbench-for-microsoft-azure-ml/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ file:
exists: true
owner: rstudio-server
group: rstudio-server
/usr/lib/rstudio-server/bin/code-server/bin/code-server:
/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server:
exists: true
# Old code-server location
/usr/lib/rstudio-server/bin/code-server/bin/code-server:
exists: false
/etc/rstudio/vscode.conf:
exists: true
/tmp/startup.log:
Expand Down
2 changes: 1 addition & 1 deletion workbench/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSW_VERSION=2024.04.2+764.pro1
RSW_VERSION=2024.09.0+375.pro3
RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/bionic/amd64
RSW_NAME=rstudio-workbench
PYTHON_VERSION=3.9.17
Expand Down
6 changes: 1 addition & 5 deletions workbench/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG PYTHON_VERSION=3.9.17
ARG PYTHON_VERSION_ALT=3.8.17
ARG PYTHON_VERSION_JUPYTER=3.8.17
ARG JUPYTERLAB_VERSION=3.6.7
ARG RSW_VERSION=2024.04.2+764.pro1
ARG RSW_VERSION=2024.09.0+375.pro3
ARG RSW_NAME=rstudio-workbench
ARG RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
ARG SCRIPTS_DIR=/opt/positscripts
Expand Down Expand Up @@ -73,10 +73,6 @@ RUN ln -s /lib/rstudio-server/bin/quarto/bin/quarto /usr/local/bin/quarto
### Install TinyTeX using Quarto ###
RUN $SCRIPTS_DIR/install_quarto.sh --install-tinytex --add-path-tinytex

COPY maybe_install_vs_code.sh /tmp/maybe_install_vs_code.sh
RUN /tmp/maybe_install_vs_code.sh \
&& rm /tmp/maybe_install_vs_code.sh

COPY --chmod=0775 startup.sh /usr/local/bin/startup.sh
COPY startup-launcher/* /startup/launcher/
COPY startup-user-provisioning/* /startup/user-provisioning/
Expand Down
2 changes: 1 addition & 1 deletion workbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Supported tags and respective Dockerfile links

* [`jammy`, `ubuntu2204`, `jammy-2024.04.2`, `ubuntu2204-2024.04.2`](https://github.com/rstudio/rstudio-docker-products/blob/main/workbench/Dockerfile.ubuntu2204)
* [`jammy`, `ubuntu2204`, `jammy-2024.09.0`, `ubuntu2204-2024.09.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/workbench/Dockerfile.ubuntu2204)

# What is RStudio Workbench?

Expand Down
4 changes: 2 additions & 2 deletions workbench/conf/vscode.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enabled=1
args=--verbose --host=0.0.0.0
args=--host=0.0.0.0

# exe=/usr/lib/rstudio-server/bin/code-server/bin/code-server
# exe=/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server
13 changes: 0 additions & 13 deletions workbench/maybe_install_vs_code.sh

This file was deleted.

7 changes: 2 additions & 5 deletions workbench/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,11 @@ file:
exists: true
owner: rstudio-server
group: rstudio-server
{{ $version_split := split "." .Env.RSW_VERSION }}
{{ if or (ge ($version_split._0 | atoi) 2025) (and (ge ($version_split._0 | atoi) 2024) (ge ($version_split._1 | atoi) 7)) }}
/usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server:
exists: true
{{ else }}
# Old code-server location
/usr/lib/rstudio-server/bin/code-server/bin/code-server:
exists: true
{{ end }}
exists: false
/var/lib/rstudio-launcher/Local/jobs/buildkitsandbox:
exists: false
/etc/rstudio/vscode.conf:
Expand Down

0 comments on commit f50ba2f

Please sign in to comment.