From 51c8ed3343bef97685ef7bd8cfc2046276ce747c Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Wed, 26 Jun 2024 18:05:31 +0530 Subject: [PATCH] announcement: Add move to Docker 25 banner Co-authored-by: Mathieu Tortuyaux Co-authored-by: Thilo Fromm Signed-off-by: Sayan Chowdhury --- content/releases/_index.md | 19 ++++++++++++++++++ .../layouts/partials/announcement_banner.html | 20 +++++++++++++++++++ themes/flatcar/layouts/section/releases.html | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 themes/flatcar/layouts/partials/announcement_banner.html diff --git a/content/releases/_index.md b/content/releases/_index.md index 67a9abca..48b16c11 100644 --- a/content/releases/_index.md +++ b/content/releases/_index.md @@ -2,6 +2,25 @@ title: "Releases" date: 2018-04-17T17:32:59+02:00 draft: false +announcement: true +announcement_bg: "#12172b" +announcement_text_class: "text-light" +announcement_title: "Move to Docker 25" +announcement_message: " +We will begin moving to **Docker 25 (or newer)** in the near future. Among other changes, Docker 25 and above **remove the devicemapper** storage driver. While new provisionings should not be affected by the change, long-lived nodes which use this back-end will break after the update. + +* We plan to introduce Docker 25 (or a newer release) in the **Alpha release late July 2024**. + +* We expect the Docker upgrade to **hit Stable in October 2024 the earliest**. + + +Any nodes using the devicemapper storage driver will lose access to all docker state (local container images and stopped containers) after this update. Please *participate in Beta testing and run Beta canaries* if you suspect you might be affected. +If you are reading this after Docker 25 hits stable in late 2024 and want to keep using Docker 24 while still updating to the latest OS release, please consider masking Docker 25 altogether and using the Docker 24 sysext from our [sysext-bakery](https://github.com/flatcar/sysext-bakery?tab=readme-ov-file#systemd-sysext). +Please find a full, up-to-date list of deprecated and removed features across Docker versions here: [https://github.com/docker/cli/blob/master/docs/deprecated.md](https://github.com/docker/cli/blob/master/docs/deprecated.md) + + +We will also discuss the docker upgrade and provide status updates in our [Office Hours](https://github.com/flatcar/Flatcar/discussions/categories/flatcar-office-hours?discussions_q=category%3A%22Flatcar+Office+Hours%22+is%3Aopen) and [Developer Sync](https://github.com/flatcar/Flatcar/discussions/categories/flatcar-developer-sync%22+is%3Aopen) calls. +" channels: - name: stable title: Stable diff --git a/themes/flatcar/layouts/partials/announcement_banner.html b/themes/flatcar/layouts/partials/announcement_banner.html new file mode 100644 index 00000000..6efe7248 --- /dev/null +++ b/themes/flatcar/layouts/partials/announcement_banner.html @@ -0,0 +1,20 @@ +{{ if .Page.Param "announcement" }} +
+
+
+ + + + +
+
+
+

+ {{ .Page.Param "announcement_title" | markdownify }} +

+

{{ .Page.Param "announcement_message" | markdownify }}

+
+
+
+
+{{ end }} diff --git a/themes/flatcar/layouts/section/releases.html b/themes/flatcar/layouts/section/releases.html index bdcb2885..41d40618 100644 --- a/themes/flatcar/layouts/section/releases.html +++ b/themes/flatcar/layouts/section/releases.html @@ -70,6 +70,9 @@

Release Notes

+
+ {{ partial "announcement_banner.html" . }} +