Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install: Resupport Ubuntu 22.04.
Anders Kaseorge95264101344
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex a5e8d44de02..864b75b372e 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -106,13 +106,17 @@ jobs:strategy:fail-fast: falsematrix:+ extra_args: [""]include:# Docker images are built from 'tools/ci/Dockerfile'; the comments at# the top explain how to build and upload these images.- docker_image: zulip/ci:focalname: Ubuntu 20.04 production installos: focal- extra_args: ""++ - docker_image: zulip/ci:jammy+ name: Ubuntu 22.04 production install+ os: jammy- docker_image: zulip/ci:bullseyename: Debian 11 production install with custom db name and userdiff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 57f4bec501a..46227a495e8 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -15,6 +15,8 @@ jobs:strategy:fail-fast: falsematrix:+ include_documentation_tests: [false]+ include_frontend_tests: [false]include:# Base images are built using `tools/ci/Dockerfile.prod.template`.# The comments at the top explain how to build and upload these images.@@ -23,13 +25,15 @@ jobs:name: Ubuntu 20.04 (Python 3.8, backend + frontend)os: focalinclude_frontend_tests: true- include_documentation_tests: false# Debian 11 ships with Python 3.9.2.- docker_image: zulip/ci:bullseyename: Debian 11 (Python 3.9, backend + documentation)os: bullseyeinclude_documentation_tests: true- include_frontend_tests: false+ # Ubuntu 22.04 ships with Python 3.10.4.+ - docker_image: zulip/ci:jammy+ name: Ubuntu 22.04 (Python 3.10, backend)+ os: jammyruns-on: ubuntu-latestname: ${{ matrix.name }}diff --git a/docs/development/setup-advanced.md b/docs/development/setup-advanced.mdindex dc018a88ce5..b400ecf0b55 100644--- a/docs/development/setup-advanced.md+++ b/docs/development/setup-advanced.md@@ -12,7 +12,7 @@ Contents:If you'd like to install a Zulip development environment on a computerthat's running one of:-- Ubuntu 20.04+- Ubuntu 20.04, 22.04- Debian 11- CentOS 7 (beta)- Fedora 33 and 34 (beta)diff --git a/docs/development/setup-vagrant.md b/docs/development/setup-vagrant.mdindex 55e82cad480..17d6c115012 100644--- a/docs/development/setup-vagrant.md+++ b/docs/development/setup-vagrant.md@@ -49,7 +49,7 @@ a proxy to access the internet.)- **All**: 2GB available RAM, Active broadband internet connection, [GitHub account][set-up-git].- **macOS**: macOS (10.11 El Capitan or newer recommended)-- **Ubuntu LTS**: 20.04+- **Ubuntu LTS**: 20.04 or 22.04- **Debian**: 11- **Windows**: Windows 64-bit (Win 10 recommended), hardwarevirtualization enabled (VT-x or AMD-V), administrator access.diff --git a/docs/production/requirements.md b/docs/production/requirements.mdindex bd96f550c68..ba37e6ae6ca 100644--- a/docs/production/requirements.md+++ b/docs/production/requirements.md@@ -5,6 +5,7 @@ To run a Zulip server, you will need:- A dedicated machine or VM- A supported OS:- Ubuntu 20.04+ - Ubuntu 22.04- Debian 11- At least 2 GB RAM, and 10 GB disk space- If you expect 100+ users: 4 GB RAM, and 2 CPUs@@ -32,7 +33,7 @@ on issues you'll encounter](install-existing-server.md).#### Operating system-Ubuntu 20.04 and Debian 11+Ubuntu 20.04, Ubuntu 22.04, and Debian 11are supported for running Zulip in production. You can alsorun Zulip on other platforms that support Docker using[docker-zulip][docker-zulip-homepage].diff --git a/scripts/lib/install b/scripts/lib/installindex 328de863fb6..814336191a5 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -212,7 +212,7 @@ if [ -f /etc/os-release ]; thenficase "$os_id $os_version_id" in- 'debian 11' | 'ubuntu 20.04') ;;+ 'debian 11' | 'ubuntu 20.04' | 'ubuntu 22.04') ;;*)set +xcat <<EOF@@ -222,6 +222,7 @@ Unsupported OS release: $os_id $os_version_idZulip in production is supported only on:- Debian 11- Ubuntu 20.04 LTS+ - Ubuntu 22.04 LTSFor more information, see:https://zulip.readthedocs.io/en/latest/production/requirements.htmldiff --git a/scripts/setup/apt-repos/zulip/jammy.list b/scripts/setup/apt-repos/zulip/jammy.listindex 68b9bb3fd16..3c32ad3445a 100644--- a/scripts/setup/apt-repos/zulip/jammy.list+++ b/scripts/setup/apt-repos/zulip/jammy.list@@ -4,3 +4,9 @@ deb-src http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main# Old versions for https://github.com/pgroonga/pgroonga/issues/203 were not built for jammydeb http://apt-archive.postgresql.org/pub/repos/apt/ impish-pgdg-archive maindeb-src http://apt-archive.postgresql.org/pub/repos/apt/ impish-pgdg-archive main+deb http://archive.ubuntu.com/ubuntu impish main+deb http://archive.ubuntu.com/ubuntu impish-updates main+deb http://archive.ubuntu.com/ubuntu impish-security main++deb http://ppa.launchpad.net/groonga/ppa/ubuntu jammy main+deb-src http://ppa.launchpad.net/groonga/ppa/ubuntu jammy maindiff --git a/tools/lib/provision.py b/tools/lib/provision.pyindex 5455172cadd..258d9f8de46 100755--- a/tools/lib/provision.py+++ b/tools/lib/provision.py@@ -163,7 +163,7 @@ COMMON_YUM_DEPENDENCIES = []BUILD_PGROONGA_FROM_SOURCE = False-if vendor == "debian" and os_version in [] or vendor == "ubuntu" and os_version in ["22.04"]:+if vendor == "debian" and os_version in [] or vendor == "ubuntu" and os_version in []:# For platforms without a PGroonga release, we need to build it# from source.BUILD_PGROONGA_FROM_SOURCE = True