Skip to content

Commit 75f550b

Browse files
authored
Merge pull request #741 from rstudio/bs-connect-2024.04.01-with-fixes
Update Posit Connect version to 2024.04.0 and fix `update-rsc-versions`
2 parents 836ee5a + ba8e263 commit 75f550b

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

Justfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sed_vars := if os() == "macos" { "-i ''" } else { "-i" }
77

88
BUILDX_PATH := ""
99

10-
RSC_VERSION := "2024.03.0"
10+
RSC_VERSION := "2024.04.0"
1111
RSPM_VERSION := "2023.12.0-13"
1212
RSW_VERSION := "2024.04.0+735.pro3"
1313

@@ -266,11 +266,7 @@ update-rsc-versions:
266266
connect/.env \
267267
connect/Dockerfile.ubuntu2204 \
268268
connect-content-init/Dockerfile.ubuntu2204
269-
sed {{ sed_vars }} "s/RSC_VERSION:.*/RSC_VERSION: {{ RSC_VERSION }}/g" docker-compose.yml
270-
sed {{ sed_vars }} "s/rstudio\/rstudio-connect:.*/rstudio\/rstudio-connect:{{ RSC_VERSION }}/g" docker-compose.yml
271269
sed {{ sed_vars }} "s/^RSC_VERSION := .*/RSC_VERSION := \"{{ RSC_VERSION }}\"/g" \
272-
connect/Justfile \
273-
connect-content-init/Justfile \
274270
Justfile
275271
sed {{ sed_vars }} -E "s/[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}/`just _get-clean-version {{ RSC_VERSION }}`/g" \
276272
connect/README.md \

connect-content-init/Dockerfile.ubuntu2204

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update && \
99
apt-get install -y --no-install-recommends ca-certificates curl && \
1010
rm -rf /var/lib/apt/lists/*
1111

12-
ARG RSC_VERSION=2024.03.0
12+
ARG RSC_VERSION=2024.04.0
1313
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1414
RUN mkdir -p /rsc-staging && \
1515
RSC_VERSION_URL=$(echo -n "${RSC_VERSION}" | sed 's/+/%2B/g') && \

connect-content-init/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Supported tags and respective Dockerfile links
1111

12-
* [`jammy`, `ubuntu2204`, `jammy-2024.03.0`, `ubuntu2204-2024.03.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
12+
* [`jammy`, `ubuntu2204`, `jammy-2024.04.0`, `ubuntu2204-2024.04.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
1313

1414
# RStudio Connect Content Init Container
1515

@@ -31,7 +31,7 @@ The version of the release package to use can be overridden with the
3131
`RSC_VERSION` build arg.
3232

3333
```console
34-
just build ubuntu2204 2024.03.0
34+
just build ubuntu2204 2024.04.0
3535
```
3636

3737
## Testing
@@ -56,7 +56,7 @@ just test
5656
You can see the different layers that make up the image:
5757

5858
```console
59-
docker history rstudio/rstudio-connect-content-init-preview:2024.03.0-dev-326
59+
docker history rstudio/rstudio-connect-content-init-preview:2024.04.0-dev-326
6060
```
6161

6262
NOTE: almost all the image size is pandoc.

connect/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RSC_VERSION=2024.03.0
1+
RSC_VERSION=2024.04.0
22
R_VERSION=4.2.3
33
R_VERSION_ALT=4.1.3
44
PYTHON_VERSION=3.9.17

connect/Dockerfile.ubuntu2204

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ARG R_VERSION=4.2.3
77
ARG R_VERSION_ALT=4.1.3
88
ARG PYTHON_VERSION=3.9.17
99
ARG PYTHON_VERSION_ALT=3.8.17
10-
ARG RSC_VERSION=2024.03.0
11-
ARG QUARTO_VERSION=1.3.340
10+
ARG RSC_VERSION=2024.04.0
11+
ARG QUARTO_VERSION=1.4.552
1212
ARG SCRIPTS_DIR=/opt/positscripts
1313

1414
### Install Quarto ###

connect/NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2024-04-30
2+
3+
- BREAKING: Upgrade the default Quarto version to 1.4.552.
4+
15
# 2023-08-01
26
- BREAKING: Removed R 3.6.2, replaced with R 4.1.3.
37
- Updated R 4.2.0 to 4.2.3.

connect/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Supported tags and respective Dockerfile links
99

10-
* [`jammy`, `ubuntu2204`, `jammy-2024.03.0`, `ubuntu2204-2024.03.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
10+
* [`jammy`, `ubuntu2204`, `jammy-2024.04.0`, `ubuntu2204-2024.04.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
1111

1212
# What is Posit Connect?
1313

docker-bake.hcl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Variable definitions ###
22
variable CONNECT_VERSION {
3-
default = "2024.03.0"
3+
default = "2024.04.0"
44
}
55

66
variable PACKAGE_MANAGER_VERSION {
@@ -101,7 +101,7 @@ variable PACKAGE_MANAGER_BUILD_MATRIX {
101101
variable CONNECT_BUILD_MATRIX {
102102
default = {
103103
builds = [
104-
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.9.17", py_alternate = "3.8.17", quarto = "1.3.340"},
104+
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.9.17", py_alternate = "3.8.17", quarto = DEFAULT_QUARTO_VERSION},
105105
]
106106
}
107107
}
@@ -231,9 +231,9 @@ target "product-base" {
231231
"ghcr.io/rstudio/product-base:${builds.os}-r${builds.r_primary}_${builds.r_alternate}-py${builds.py_primary}_${builds.py_alternate}",
232232
"docker.io/rstudio/product-base:${builds.os}-r${builds.r_primary}_${builds.r_alternate}-py${builds.py_primary}_${builds.py_alternate}",
233233
]
234-
234+
235235
dockerfile = "Dockerfile.${builds.os}"
236-
context = "product/base"
236+
context = "product/base"
237237

238238
matrix = BASE_BUILD_MATRIX
239239
args = {
@@ -242,7 +242,7 @@ target "product-base" {
242242
PYTHON_VERSION = builds.py_primary
243243
PYTHON_VERSION_ALT = builds.py_alternate
244244
TINI_VERSION = "0.19.0"
245-
}
245+
}
246246
}
247247

248248
target "product-base-pro" {
@@ -255,7 +255,7 @@ target "product-base-pro" {
255255
"docker.io/rstudio/product-base-pro:${builds.os}-r${builds.r_primary}_${builds.r_alternate}-py${builds.py_primary}_${builds.py_alternate}",
256256
]
257257

258-
dockerfile = "Dockerfile.${builds.os}"
258+
dockerfile = "Dockerfile.${builds.os}"
259259
context = "product/pro"
260260
contexts = {
261261
product-base = "target:product-base-${builds.os}-r${replace(builds.r_primary, ".", "-")}_${replace(builds.r_alternate, ".", "-")}-py${replace(builds.py_primary, ".", "-")}_${replace(builds.py_alternate, ".", "-")}"
@@ -434,7 +434,7 @@ target "workbench" {
434434
RSW_VERSION = WORKBENCH_VERSION
435435
RSW_NAME = "rstudio-workbench"
436436
RSW_DOWNLOAD_URL = "https://download2.rstudio.org/server/jammy/amd64"
437-
}
437+
}
438438
}
439439

440440
### Workbench for Google Cloud Workstations targets ###
@@ -469,7 +469,7 @@ target "workbench-for-google-cloud-workstations" {
469469
RSW_VERSION = WORKBENCH_VERSION
470470
RSW_NAME = "rstudio-workbench"
471471
RSW_DOWNLOAD_URL = "https://download2.rstudio.org/server/focal/amd64"
472-
}
472+
}
473473
}
474474

475475
### Workbench for Microsoft Azure ML targets ###
@@ -496,7 +496,7 @@ target "build-workbench-for-microsoft-azure-ml" {
496496
RSW_VERSION = WORKBENCH_VERSION
497497
RSW_NAME = "rstudio-workbench"
498498
RSW_DOWNLOAD_URL = "https://download2.rstudio.org/server/jammy/amd64"
499-
}
499+
}
500500
}
501501

502502
target "scan-workbench-for-microsoft-azure-ml" {

docker-bake.preview.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ variable PACKAGE_MANAGER_BUILD_MATRIX {
130130
variable CONNECT_BUILD_MATRIX {
131131
default = {
132132
builds = [
133-
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.11.9", py_alternate = "3.10.14", quarto = "1.3.340"},
133+
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.11.9", py_alternate = "3.10.14", quarto = DEFAULT_QUARTO_VERSION},
134134
]
135135
}
136136
}

0 commit comments

Comments
 (0)