Commit Graph

170 Commits

Author SHA1 Message Date
Aman Agrawal
5b1cd3a899 Revert "ci: Drop upgrade tests for 6.0 and 7.0."
This reverts commit 0dee941566.

We will drop them when dropping support for the OSes.
2026-05-26 17:41:33 +08:00
Aman Agrawal
11d375bc32 ci: Drop upgrade tests for 6.0 and 7.0.
Bouncer data shows ~0 usage of Zulip below 8.0 in the last 6
months, and those releases are EOL.  We already removed their
ReadTheDocs documentation on the same basis.  Dropping these
upgrade jobs saves GitHub Actions compute.
2026-05-21 23:53:37 +08:00
Aman Agrawal
2ceaaaeaf2 ci: Test upgrades from 12.0. 2026-05-21 23:53:37 +08:00
Anders Kaseorg
e7b6ea9bb6 workflows: Remove ignores for check-capitalization, check-frontend-i18n.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2026-04-27 15:24:22 -07:00
Anders Kaseorg
2028724c10 workflows: Unset PYTHONWARNINGS for uv lock --check.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2026-04-27 15:24:22 -07:00
Anders Kaseorg
34ed22a117 install: Support Ubuntu 26.04.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2026-04-22 22:00:04 -07:00
Tim Abbott
ef923da9e6 ci: Add a couple more files to production suite triggers.
These files are both low-churn and encode substantial behavior that
can vary between production and development.
2026-04-18 08:33:23 -07:00
Anders Kaseorg
784291654d Revert "docker: Fix failing CI."
This reverts commit 220d3320e1.
2026-04-01 15:11:17 -07:00
Aman Agrawal
220d3320e1 docker: Fix failing CI.
Added this layer on top of zulip/ci:noble:

/bin/sh -c sudo apt-get update && sudo apt-get -y install --no-install-recommends software-properties-common && sudo add-apt-repository -y ppa:lvoytek/rabbitmq-server-fixes
2026-03-27 15:25:12 +05:30
Anders Kaseorg
4f92d32638 workflows: Add job to check all required jobs.
Some checks failed
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
Code scanning / CodeQL (push) Has been cancelled
Zulip production suite / Ubuntu 22.04 production build (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:trixie, false, false, Debian 13 (Python 3.13, backend), trixie) (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie, , Debian 13 production install, trixie) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-10.0, 10.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie-11.0, 11.0 Version Upgrade, trixie) (push) Has been cancelled
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
This should let us configure branch protection in a simpler and more
robust way.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2026-02-15 03:03:37 -08:00
Anders Kaseorg
1da03c2322 workflows: Run trivial jobs on ubuntu-slim.
https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2026-02-14 17:58:49 -08:00
sagar
3d32223c1b issues: auto-add parent area labels for sub-area labels.
Automatically add the parent area label when a sub-area label like
"area: compose (uploads)" is applied, limited to an explicit allowlist
to avoid errors for labels without parents.

Fixes #29739.
2026-01-14 15:56:33 -08:00
Alex Vandiver
e91ea45e19 workflows: Run zulip-cloud-deploy message-sending serially. 2025-12-15 16:39:06 -08:00
Alex Vandiver
2feeebdf2d workflows: Bump from 5k characters per zulip-cloud-deploy batch to 8k. 2025-12-15 10:29:05 -08:00
Anders Kaseorg
1632206544 workflows: Remove unnecessary explicit token for actions/checkout.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-12-09 15:48:59 -08:00
Anders Kaseorg
636d514e23 workflows: Fix injection bugs in zulip-cloud-deploy workflow.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-12-09 15:48:59 -08:00
Anders Kaseorg
e15efbda20 workflows: Fix if syntax in zulip-cloud-deploy workflow.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-12-09 15:48:59 -08:00
Anders Kaseorg
55f510addb workflows: Upgrade GitHub actions.
Some checks failed
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
Code scanning / CodeQL (push) Has been cancelled
Zulip production suite / Ubuntu 22.04 production build (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:trixie, false, false, Debian 13 (Python 3.13, backend), trixie) (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie, , Debian 13 production install, trixie) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-10.0, 10.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie-11.0, 11.0 Version Upgrade, trixie) (push) Has been cancelled
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-12-06 09:50:18 -08:00
Alex Vandiver
7b0d73e220 github: Set missing job-level output for closed-by-commits. 2025-12-02 09:49:24 -05:00
Alex Vandiver
a8e4579f9c github: Properly fail the action if closed-by-comits fails. 2025-11-20 20:48:45 -08:00
Alex Vandiver
0d52c5d374 github: Fix manual triggering of closed-by-commits. 2025-11-20 20:48:45 -08:00
Alex Vandiver
f713039526 github: Chunk closed-by-commits output across multiple messages. 2025-11-20 23:13:46 -05:00
Alex Vandiver
fb261ee27e github: Allow triggering zulip-cloud-deploy by hand. 2025-11-20 23:13:46 -05:00
Alex Vandiver
1f92d9332e github_actions: Send a message after Zulip Cloud deploys. 2025-11-06 11:17:24 -08:00
Vector73
2dca184fd3 github_action: Fix "notify-if-api-docs-changed" tool.
Fix `notify-if-api-docs-changed` tool to send the notification only
when "changelog.md" is changed in the PR.
2025-10-23 14:23:25 -07:00
Vector73
a5d25826bd github_action: Mention PR where the endpoints were added.
Updates "API Documentation Update Check" tool to  add PR
information in the message to chat.zulip.org when the
new endpoints are added.
2025-10-09 11:39:54 -07:00
Anders Kaseorg
57e8c44e81 starlight_help: Use ‘astro check’ for development only.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Shubham Padia
a766c092fc help: Restore broken link checks for help center documentation.
We add a step to build help center and then test the broken links as we
used to before removing the test temporarily.

This commit focuses on just adding back the broken link checks for the
help center. We skip the fragment check since that is in-built in
starlight and starlight tests account for that already. For the image
check we can add it back in a followup issue.
2025-09-03 09:28:15 -07:00
Vector73
4f65c99a6b github_actions: Add a GitHub action for notifying if API docs changed. 2025-08-28 09:57:24 -07:00
Alex Vandiver
fd4104f365 ci: Test upgrades from 11.0. 2025-08-19 23:35:09 -07:00
Anders Kaseorg
ff15d746c3 install: Support Debian 13.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Vector73
f9d52189fc github_actions: Check if feature levels are updated in API docs.
In the past, some API documentation changes were merged with
unresolved placeholders like "ZF-..." instead of actual feature level numbers.
This commit introduces a GitHub Action that scans the API docs for
any occurrence of "ZF-". If found, it will fail the CI check and block the
commit from being merged into main.

This ensures that all feature level references are properly updated before merging.
2025-07-09 09:33:55 -07:00
Alex Vandiver
bd8764f0f6 actions: Add test upgrade from 10.0. 2025-04-03 11:37:42 -07:00
Anders Kaseorg
d7556b4060 requirements: Migrate to uv.
https://docs.astral.sh/uv/

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-02-24 22:29:24 -08:00
Tim Abbott
d8cf3ff2e9 ci: Run production suite when changing storage.py. 2024-10-25 10:59:57 -07:00
Anders Kaseorg
6a4c4195f5 ci: Enable Python warnings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-10-23 10:55:55 -07:00
Alex Vandiver
b87b26d0f2 ci: Test upgrades from Noble and 9.0. 2024-07-26 14:25:49 -07:00
Anders Kaseorg
bfd68d5e69 ci: Upgrade github/codeql-action.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-07-17 19:37:28 -07:00
Alex Vandiver
b3115fd7c3 Revert "ci: Temporarily upgrade postgresql-client-common before upgrading."
This reverts commit 2ec288a983.
Debian fixed this in
7df2322ef5,
and it was released as version 257:
https://metadata.ftp-master.debian.org/changelogs//main/p/postgresql-common/postgresql-common_257_changelog
2024-05-15 15:25:51 -07:00
Anders Kaseorg
70914b0475 Remove support for Ubuntu 20.04 and Debian 11.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-01 13:27:39 -07:00
Anders Kaseorg
ce075fec6c ci: Move specialized tests away from Ubuntu 20.04 and Debian 11.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-01 13:27:39 -07:00
Tim Abbott
d6c91cb7f9 Revert "ci: Disable 8.0 upgrade suite to unbreak CI."
This reverts commit 51773d55ed.

Supposedly https://github.com/apache/arrow/issues/40744 is fixed.
2024-03-25 10:47:41 -07:00
Tim Abbott
51773d55ed ci: Disable 8.0 upgrade suite to unbreak CI.
As noted in the comment, hopefully we get to revert this tomorrow, but
it still seems worth doing so that PRs can pass CI again.
2024-03-24 21:19:16 -07:00
Anders Kaseorg
066ea3ebf9 install: Support Ubuntu 24.04.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-01 17:38:08 -08:00
Anders Kaseorg
0347e07a96 ci: Upgrade external GitHub actions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-21 17:17:36 -08:00
Anders Kaseorg
4f27381ebc ci: Disable coverage on Debian 12.
This is probably a more effective workaround for
https://github.com/python/cpython/issues/106092.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-05 19:57:21 -05:00
Alex Vandiver
f9834d4e6d ci: Switch 6.0 production to be on Ubuntu 22.04.
This causes us to cover all of our supported operating systems, and
Ubuntu 22.04 support was originally added in Zulip Server 6.0.
2024-01-05 13:19:07 -08:00
Alex Vandiver
9f12e1437a ci: Test upgrades from Zulip Server 8.0. 2024-01-05 13:19:07 -08:00
Alex Vandiver
3cba6c4303 ci: Add a test for upgrading from 7.0.
We build this image on bookworm, for diversity.
2023-11-29 13:57:33 -08:00
Alex Vandiver
2ec288a983 ci: Temporarily upgrade postgresql-client-common before upgrading.
This works around a failure in the current postgresql-client-common
and postgresql-client-15 packages; it exists primarily to improve
the signal on our CI builds, as the failure is a real failure caused
by the package upgrade process.
2023-09-15 07:50:17 -07:00