diff --git a/content/download/releases/v7-2-14.md b/content/download/releases/v7-2-14.md index 180654e4..8102e31a 100644 --- a/content/download/releases/v7-2-14.md +++ b/content/download/releases/v7-2-14.md @@ -15,6 +15,26 @@ extra: - "7.2.14-trixie" - "7.2.14-alpine" - "7.2.14-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-7.2" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v7-2-15.md b/content/download/releases/v7-2-15.md index 1f0361a6..b17047db 100644 --- a/content/download/releases/v7-2-15.md +++ b/content/download/releases/v7-2-15.md @@ -15,6 +15,28 @@ extra: - "7.2.15-trixie" - "7.2.15-alpine" - "7.2.15-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-7.2" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v7-2-16.md b/content/download/releases/v7-2-16.md index b478e1bf..45b5c5d7 100644 --- a/content/download/releases/v7-2-16.md +++ b/content/download/releases/v7-2-16.md @@ -15,6 +15,28 @@ extra: - "7.2.16-trixie" - "7.2.16-alpine" - "7.2.16-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-7.2" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-0-10.md b/content/download/releases/v8-0-10.md index 3b39d2bb..08ede75f 100644 --- a/content/download/releases/v8-0-10.md +++ b/content/download/releases/v8-0-10.md @@ -15,6 +15,26 @@ extra: - "8.0.10-trixie" - "8.0.10-alpine" - "8.0.10-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-0-11.md b/content/download/releases/v8-0-11.md index 435aee19..42bd0737 100644 --- a/content/download/releases/v8-0-11.md +++ b/content/download/releases/v8-0-11.md @@ -15,6 +15,26 @@ extra: - "8.0.11-trixie" - "8.0.11-alpine" - "8.0.11-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-0-12.md b/content/download/releases/v8-0-12.md index 1e399c31..543515cf 100644 --- a/content/download/releases/v8-0-12.md +++ b/content/download/releases/v8-0-12.md @@ -15,6 +15,28 @@ extra: - "8.0.12-trixie" - "8.0.12-alpine" - "8.0.12-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-0-13.md b/content/download/releases/v8-0-13.md index 57a7420e..a2a94d8e 100644 --- a/content/download/releases/v8-0-13.md +++ b/content/download/releases/v8-0-13.md @@ -15,6 +15,28 @@ extra: - "8.0.13-trixie" - "8.0.13-alpine" - "8.0.13-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-1-10.md b/content/download/releases/v8-1-10.md index adc012df..fb088d67 100644 --- a/content/download/releases/v8-1-10.md +++ b/content/download/releases/v8-1-10.md @@ -15,6 +15,26 @@ extra: - "8.1.10-trixie" - "8.1.10-alpine" - "8.1.10-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-1-11.md b/content/download/releases/v8-1-11.md index 92171db9..d2b67933 100644 --- a/content/download/releases/v8-1-11.md +++ b/content/download/releases/v8-1-11.md @@ -15,6 +15,28 @@ extra: - "8.1.11-trixie" - "8.1.11-alpine" - "8.1.11-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-1-12.md b/content/download/releases/v8-1-12.md index ef206a8a..a6feec63 100644 --- a/content/download/releases/v8-1-12.md +++ b/content/download/releases/v8-1-12.md @@ -15,6 +15,28 @@ extra: - "8.1.12-trixie" - "8.1.12-alpine" - "8.1.12-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v8-1-9.md b/content/download/releases/v8-1-9.md index c5705696..f1d48e2b 100644 --- a/content/download/releases/v8-1-9.md +++ b/content/download/releases/v8-1-9.md @@ -15,6 +15,26 @@ extra: - "8.1.9-trixie" - "8.1.9-alpine" - "8.1.9-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-8.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-0-3.md b/content/download/releases/v9-0-3.md index 1d741445..02f23b55 100644 --- a/content/download/releases/v9-0-3.md +++ b/content/download/releases/v9-0-3.md @@ -15,6 +15,26 @@ extra: - "9.0.3-trixie" - "9.0.3-alpine" - "9.0.3-alpine3.23" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-0-5.md b/content/download/releases/v9-0-5.md index 8bb290b5..71b8c18e 100644 --- a/content/download/releases/v9-0-5.md +++ b/content/download/releases/v9-0-5.md @@ -15,6 +15,26 @@ extra: - "9.0.5-trixie" - "9.0.5-alpine" - "9.0.5-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-0-6.md b/content/download/releases/v9-0-6.md index 1411f90e..13084a59 100644 --- a/content/download/releases/v9-0-6.md +++ b/content/download/releases/v9-0-6.md @@ -15,6 +15,26 @@ extra: - "9.0.6-trixie" - "9.0.6-alpine" - "9.0.6-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-0-7.md b/content/download/releases/v9-0-7.md index ed5a9ced..2d26100a 100644 --- a/content/download/releases/v9-0-7.md +++ b/content/download/releases/v9-0-7.md @@ -15,6 +15,28 @@ extra: - "9.0.7-trixie" - "9.0.7-alpine" - "9.0.7-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-0-8.md b/content/download/releases/v9-0-8.md index 54f70ae0..e233f137 100644 --- a/content/download/releases/v9-0-8.md +++ b/content/download/releases/v9-0-8.md @@ -15,6 +15,28 @@ extra: - "9.0.8-trixie" - "9.0.8-alpine" - "9.0.8-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.0" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-1-0.md b/content/download/releases/v9-1-0.md index e5941da2..30b2482b 100644 --- a/content/download/releases/v9-1-0.md +++ b/content/download/releases/v9-1-0.md @@ -15,6 +15,26 @@ extra: - "9.1.0-trixie" - "9.1.0-alpine" - "9.1.0-alpine3.23" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-1-1.md b/content/download/releases/v9-1-1.md index bf891da9..2082ef5a 100644 --- a/content/download/releases/v9-1-1.md +++ b/content/download/releases/v9-1-1.md @@ -15,6 +15,26 @@ extra: - "9.1.1-trixie" - "9.1.1-alpine" - "9.1.1-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-1-2.md b/content/download/releases/v9-1-2.md index ef7e8b98..407e92c7 100644 --- a/content/download/releases/v9-1-2.md +++ b/content/download/releases/v9-1-2.md @@ -15,6 +15,26 @@ extra: - "9.1.2-trixie" - "9.1.2-alpine" - "9.1.2-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-1-3.md b/content/download/releases/v9-1-3.md index 1337dad2..c9b11bae 100644 --- a/content/download/releases/v9-1-3.md +++ b/content/download/releases/v9-1-3.md @@ -15,6 +15,28 @@ extra: - "9.1.3-trixie" - "9.1.3-alpine" - "9.1.3-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-1-4.md b/content/download/releases/v9-1-4.md index a8027f9c..3b74767b 100644 --- a/content/download/releases/v9-1-4.md +++ b/content/download/releases/v9-1-4.md @@ -15,6 +15,28 @@ extra: - "9.1.4-trixie" - "9.1.4-alpine" - "9.1.4-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.1" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-2-0.md b/content/download/releases/v9-2-0.md index 89895d5f..58a3c16b 100644 --- a/content/download/releases/v9-2-0.md +++ b/content/download/releases/v9-2-0.md @@ -15,6 +15,28 @@ extra: - "9.2.0-trixie" - "9.2.0-alpine" - "9.2.0-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.2" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/content/download/releases/v9-2-1.md b/content/download/releases/v9-2-1.md index f1cb01fa..09500560 100644 --- a/content/download/releases/v9-2-1.md +++ b/content/download/releases/v9-2-1.md @@ -15,6 +15,28 @@ extra: - "9.2.1-trixie" - "9.2.1-alpine" - "9.2.1-alpine3.24" + linux_packages: + repo: "https://download.valkey.io/packaging/valkey-9.2" + gpg_key: "https://download.valkey.io/packaging/GPG-KEY-valkey.asc" + distros: + - { id: "opensuse-15.5", name: "openSUSE Leap 15.5", type: "suse" } + - { id: "opensuse-15.6", name: "openSUSE Leap 15.6", type: "suse" } + - { id: "el8", name: "Oracle Linux 8 / RHEL 8", type: "rpm" } + - { id: "el9", name: "Oracle Linux 9 / RHEL 9", type: "rpm" } + - { id: "el10", name: "Oracle Linux 10 / RHEL 10", type: "rpm" } + - { id: "rocky8", name: "Rocky Linux 8", type: "rpm" } + - { id: "rocky9", name: "Rocky Linux 9", type: "rpm" } + - { id: "rocky10", name: "Rocky Linux 10", type: "rpm" } + - { id: "alma8", name: "AlmaLinux 8", type: "rpm" } + - { id: "alma9", name: "AlmaLinux 9", type: "rpm" } + - { id: "alma10", name: "AlmaLinux 10", type: "rpm" } + - { id: "amzn2023", name: "Amazon Linux 2023", type: "rpm" } + - { id: "fedora43", name: "Fedora 43", type: "rpm" } + - { id: "fedora44", name: "Fedora 44", type: "rpm" } + - { id: "debian12", name: "Debian 12 (Bookworm)", type: "deb" } + - { id: "debian13", name: "Debian 13 (Trixie)", type: "deb" } + - { id: "ubuntu2204", name: "Ubuntu 22.04 (Jammy)", type: "deb" } + - { id: "ubuntu2404", name: "Ubuntu 24.04 (Noble)", type: "deb" } packages: [] artifacts: diff --git a/sass/_valkey.scss b/sass/_valkey.scss index 9f03eae6..cab97052 100644 --- a/sass/_valkey.scss +++ b/sass/_valkey.scss @@ -2035,6 +2035,33 @@ html.banner-hidden .banner { height: 1.6rem; } +// The Packages section of a release page (release_info in +// templates/macros/release.html, filled by linux-packages.js). +.linux-packages { + label { + display: block; + margin-bottom: 0.4rem; + } + + select { + max-width: 100%; + margin-bottom: 1.6rem; + font-size: 1.4rem; + } + + .copy-code { + margin-bottom: 1.2rem; + } +} + +.linux-packages-list { + padding-left: 2rem; + + p { + margin: 0 0 0.6rem; + } +} + // "#" after each docs heading (heading_links in templates/macros/docs.html). // Shown while the heading is hovered or the link has focus, and always on // touch screens, which can't hover. diff --git a/static/assets/js/linux-packages.js b/static/assets/js/linux-packages.js new file mode 100644 index 00000000..0844f658 --- /dev/null +++ b/static/assets/js/linux-packages.js @@ -0,0 +1,101 @@ +// The Packages section of a release page: choosing an operating system shows +// the commands that add the Valkey repository for it and install Valkey. +// copy-code.js handles the copy buttons, so the blocks only need its markup. +(function() { + // Each step is [description, command]. repo is the release line's + // repository, e.g. https://download.valkey.io/packaging/valkey-9.2. + function rpmSteps(repo, key, line, os, name) { + return [ + ['Import the GPG key:', 'sudo rpm --import ' + key], + ['Add the repository:', + "sudo tee /etc/yum.repos.d/valkey.repo << 'EOF'\n" + + '[valkey]\n' + + 'name=Valkey ' + line + ' Packages for ' + name + '\n' + + 'baseurl=' + repo + '/rpm/' + os + '/$basearch/\n' + + 'enabled=1\n' + + 'gpgcheck=1\n' + + 'gpgkey=' + key + '\n' + + 'EOF'], + ['Install Valkey:', 'sudo dnf makecache\nsudo dnf install valkey'], + ['Start Valkey:', 'sudo systemctl enable --now valkey'] + ]; + } + + function suseSteps(repo, key, line, os) { + return [ + ['Import the GPG key:', 'sudo rpm --import ' + key], + // zypper refuses an alias that already exists, so a repository + // left from another release line is removed first. When there is + // none, the error is harmless. + ['Add the repository:', + 'sudo zypper removerepo valkey 2>/dev/null\n' + + 'sudo zypper addrepo --gpgcheck --refresh \\\n' + + ' ' + repo + '/rpm/' + os + '/\\$basearch/ \\\n' + + ' valkey'], + ['Install Valkey:', 'sudo zypper refresh\nsudo zypper install valkey'], + ['Start Valkey:', 'sudo systemctl enable --now valkey'] + ]; + } + + function debSteps(repo, key, line, os) { + return [ + ['Install the tools to fetch the key:', + 'sudo apt-get update\nsudo apt-get install -y curl gpg'], + // --yes: the keyring is already there when the steps run again, + // or for another release line, and gpg won't overwrite it unasked. + ['Import the GPG key:', + 'curl -fsSL ' + key + ' \\\n' + + ' | sudo gpg --dearmor --yes -o /usr/share/keyrings/valkey-archive-keyring.gpg'], + ['Add the repository:', + 'ARCH=$(dpkg --print-architecture)\n' + + 'echo "deb [signed-by=/usr/share/keyrings/valkey-archive-keyring.gpg] ' + + repo + '/deb/' + os + '/ ${ARCH}/" \\\n' + + ' | sudo tee /etc/apt/sources.list.d/valkey.list'], + ['Install Valkey:', 'sudo apt-get update\nsudo apt-get install -y valkey-server'], + ['Start Valkey:', 'sudo systemctl enable --now valkey-server'] + ]; + } + + const STEPS = { rpm: rpmSteps, suse: suseSteps, deb: debSteps }; + + function render(section, select) { + const steps = section.querySelector('.linux-packages-steps'); + const list = section.querySelector('.linux-packages-list'); + const option = select.selectedOptions[0]; + const build = option && STEPS[option.dataset.type]; + list.replaceChildren(); + if (!select.value || !build) { + steps.hidden = true; + return; + } + + const block = section.querySelector('.linux-packages-block'); + const commands = build(section.dataset.repo, section.dataset.gpgKey, + section.dataset.line, select.value, option.textContent); + for (const [text, command] of commands) { + const item = document.createElement('li'); + const label = document.createElement('p'); + label.textContent = text; + const copy = block.content.cloneNode(true); + copy.querySelector('code').textContent = command; + item.append(label, copy); + list.append(item); + } + steps.hidden = false; + } + + function init() { + for (const section of document.querySelectorAll('.linux-packages')) { + const select = section.querySelector('.linux-packages-os'); + select.addEventListener('change', function() { render(section, select); }); + // A browser that restores the form on back/forward keeps the choice. + render(section, select); + } + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', init); + } else { + init(); + } +})(); diff --git a/templates/macros/release.html b/templates/macros/release.html index a25f0fd6..7040a8ba 100644 --- a/templates/macros/release.html +++ b/templates/macros/release.html @@ -40,6 +40,60 @@

{{registry.name}} ({{registry.id}})
{% endfor %} +{% if release.linux_packages %} +{#- The RPM and DEB repositories. There is one repository per release line, + and it keeps every release of the line, so a release page lists the + distributions whose repository holds that release. The commands install + the newest release in the repository. -#} +{% set lp = release.linux_packages %} +{% set line = (release.tag | split(pat="."))[:2] | join(sep=".") %} +
+

Packages

+

Install Valkey on your Linux distribution using official RPM and DEB packages.

+ + + + + {#- One copy-to-clipboard block, cloned for each step. -#} + +
+ +
+{% endif %} {% if release.packages %}

Package Managers

{% for package_manager in release.packages %} diff --git a/templates/valkey-website-template.md b/templates/valkey-website-template.md index 928ff776..46e62ed7 100644 --- a/templates/valkey-website-template.md +++ b/templates/valkey-website-template.md @@ -12,6 +12,7 @@ extra: id: "valkey/valkey" tags: {tags} +{linux_packages} packages: [] artifacts: