Skip to content

Commit

Permalink
Bump porter + terraform version, template base image Debian versions,…
Browse files Browse the repository at this point in the history
… and template terraform and az cli versions (#4158)

* Bump porter, mixin, azcli & terraform versions in templates

* Bump porter, mixin, azcli & terraform versions in templates

* Revert OHDSI debian version back to bullseye as sqlcmd not available for bookworm

* Update CHANGELOG.md

* Revert MLFlow base image version back to bullseye due to incompatibilities

* Revert MLFlow Server image to bullseye due to incompatibilities

* Update porter mixin versions to canary (until the tagged version numbers are added to their releases feed)

* Update terraform version in Dev Container from 1.4.5 to 1.9.8

* Update porter az-mixin and terraform-mixin versions

* Bump base workspace version
  • Loading branch information
jonnyry authored Dec 11, 2024
1 parent 6146484 commit b6cbef9
Show file tree
Hide file tree
Showing 51 changed files with 84 additions and 83 deletions.
10 changes: 5 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG NODE_VERSION="lts/*"
RUN su $USERNAME -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"

# Install terraform
ARG TERRAFORM_VERSION="1.4.5"
ARG TERRAFORM_VERSION="1.9.8"
COPY .devcontainer/scripts/terraform.sh /tmp/
RUN bash /tmp/terraform.sh "${TERRAFORM_VERSION}" /usr/bin

Expand All @@ -49,10 +49,10 @@ RUN if [ "${INTERACTIVE}" = "true" ]; then \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* ; fi

ARG PORTER_HOME_V1=/home/$USERNAME/.porter/
ARG PORTER_VERSION=v1.0.15
ARG PORTER_TERRAFORM_MIXIN_VERSION=v1.0.2
ARG PORTER_AZ_MIXIN_VERSION=v1.0.1
ARG PORTER_AZURE_PLUGIN_VERSION=v1.2.0
ARG PORTER_VERSION=v1.2.0
ARG PORTER_TERRAFORM_MIXIN_VERSION=v1.0.5
ARG PORTER_AZ_MIXIN_VERSION=v1.0.4
ARG PORTER_AZURE_PLUGIN_VERSION=v1.2.3
COPY .devcontainer/scripts/porter-v1.sh /tmp/
RUN export PORTER_VERSION=${PORTER_VERSION} \
PORTER_TERRAFORM_MIXIN_VERSION=${PORTER_TERRAFORM_MIXIN_VERSION} \
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ENHANCEMENTS:

BUG FIXES:
- Update KeyVault references in API to use the version so Terraform cascades the update ([#4112](https://github.com/microsoft/AzureTRE/pull/4112))
- Template images are showing CVEs ([#4153](https://github.com/microsoft/AzureTRE/issues/4153)
- Fix Dockerfile 'as' casting ([#4170](https://github.com/microsoft/AzureTRE/pull/4170))

COMPONENTS:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/admin-vm/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/admin-vm/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-admin-vm
version: 0.4.7
version: 0.4.8
description: "An admin vm shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down Expand Up @@ -47,7 +47,7 @@ parameters:

mixins:
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/airlock_notifier/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
6 changes: 3 additions & 3 deletions templates/shared_services/airlock_notifier/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-airlock-notifier
version: 1.0.6
version: 1.0.7
description: "A shared service notifying on Airlock Operations"
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -74,9 +74,9 @@ parameters:
mixins:
- exec
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0
- terraform:
clientVersion: 1.4.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/certs/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 python:3.8-slim-bullseye
FROM --platform=linux/amd64 python:3.13-slim-bookworm

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/certs/porter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ parameters:
mixins:
- exec
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/cyclecloud/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/cyclecloud/porter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ outputs:
mixins:
- exec
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/databricks-auth/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/databricks-auth/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-databricks-private-auth
version: 0.1.9
version: 0.1.10
description: "An Azure TRE shared service for Azure Databricks authentication."
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -52,7 +52,7 @@ outputs:

mixins:
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/firewall/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/firewall/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-firewall
version: 1.2.6
version: 1.2.7
description: "An Azure TRE Firewall shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down Expand Up @@ -57,7 +57,7 @@ parameters:

mixins:
- terraform:
clientVersion: 1.4.5
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/gitea/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/gitea/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-gitea
version: 1.1.0
version: 1.1.1
description: "A Gitea shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down Expand Up @@ -57,7 +57,7 @@ parameters:

mixins:
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

outputs:
- name: gitea_allowed_fqdns_list
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/shared_services/sonatype-nexus-vm/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-sonatype-nexus
version: 3.1.0
version: 3.1.1
description: "A Sonatype Nexus shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down Expand Up @@ -76,7 +76,7 @@ outputs:
mixins:
- exec
- terraform:
clientVersion: 1.4.5
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/azureml/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
6 changes: 3 additions & 3 deletions templates/workspace_services/azureml/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-azureml
version: 0.8.15
version: 0.8.16
description: "An Azure TRE service for Azure Machine Learning"
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -118,9 +118,9 @@ outputs:

mixins:
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0

install:
- terraform:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ parameters:
mixins:
- exec
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/azuresql/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/workspace_services/azuresql/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-workspace-service-azuresql
version: 1.0.13
version: 1.0.14
description: "An Azure SQL workspace service"
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -58,7 +58,7 @@ parameters:
mixins:
- exec
- terraform:
clientVersion: 1.9.2
clientVersion: 1.9.8

outputs:
- name: azuresql_fqdn
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/databricks/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
4 changes: 2 additions & 2 deletions templates/workspace_services/databricks/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-databricks
version: 1.0.8
version: 1.0.9
description: "An Azure TRE service for Azure Databricks."
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -103,7 +103,7 @@ outputs:

mixins:
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/gitea/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/gitea/porter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ parameters:
mixins:
- exec
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8

outputs:
- name: connection_uri
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/guacamole/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/guacamole/porter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ outputs:

mixins:
- terraform:
clientVersion: 1.4.6
clientVersion: 1.9.8

install:
- terraform:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ outputs:
mixins:
- exec
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0

install:
- terraform:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ outputs:
mixins:
- exec
- terraform:
clientVersion: 1.3.6
clientVersion: 1.9.8
- az:
clientVersion: 2.37.0
clientVersion: 2.67.0

install:
- terraform:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 debian:bullseye-slim
FROM --platform=linux/amd64 debian:bookworm-slim

# PORTER_INIT

Expand Down
Loading

0 comments on commit b6cbef9

Please sign in to comment.