Commit Graph

761 Commits

Author SHA1 Message Date
Alex Vandiver
0d72546a4c entrypoint: Remove unnecessary use of an extended glob. 2024-03-15 13:59:15 -04:00
Anders Kaseorg
624b474df0 Update to Zulip Server 8.2.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
8.2-0
2024-02-16 15:41:08 -08:00
Anders Kaseorg
1110d95139 Update to Zulip Server 8.1.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
8.1-0
2024-01-24 18:25:26 -08:00
Anders Kaseorg
70f9457a39 Correct helm chart changelog.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-24 18:24:59 -08:00
Anders Kaseorg
8e716c245f Update to Zulip Server 8.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
8.0-0
2023-12-15 11:33:49 -08:00
Alex Vandiver
d5334ddca5 Update to Zulip Server 7.5. 7.5-0 2023-11-17 08:24:52 -05:00
Alex Vandiver
4a5261a7df Update to Zulip Server 7.4. 7.4-0 2023-09-15 21:00:13 -04:00
Alex Vandiver
98d48a0f6c Update to Zulip Server 7.3. 7.3-0 2023-08-25 14:48:23 -04:00
Rink
f71de70507 Include AUTH_LDAP_ADVANCED_REALM_ACCESS_CONTROL as dictionary environment variable 2023-07-12 15:54:28 -04:00
Alex Vandiver
14839b99b6 Update to Zulip Server 7.2. 7.2-0 2023-07-05 16:26:33 -04:00
Alex Vandiver
52d89c5c40 readme: Improve load balancer docs.
See #403.
2023-07-05 16:08:01 -04:00
Alex Vandiver
6883afbd3b Support SOCIAL_AUTH_SAML_ORG_INFO setting as a dict. 2023-06-20 16:22:56 -04:00
Mursith
cb6b6ce2c2 Consider SOCIAL_AUTH_SAML_ENABLED_IDPS as array in entrypoint.sh 2023-06-20 14:20:04 -04:00
Alex Vandiver
e818755a47 Update to Zulip Server 7.1. 7.1-0 2023-06-13 14:22:52 -04:00
Tim Abbott
72828ae076 Update to Zulip Server 7.0. 7.0-0 2023-05-31 09:04:32 -07:00
Alex Vandiver
58fd28d0b5 Update to Zulip Server 6.2. 6.2-0 2023-05-19 16:20:26 -04:00
Alex Vandiver
ff07aa7093 upgrade-postgresql: Fix ${} vs $() typo.
This caused a "Command not found" and no effective check on the
version of docker-compose.
2023-03-03 17:05:21 -08:00
Alex Vandiver
d9bc5bbe9b UPGRADING: Note that upgrade-postgresql requires docker-compose 2.1.1.
docker-compose 2.1.1 is still relatively recent, so users should be
appraised of this requirement early.
2023-02-27 12:04:55 -05:00
Alex Vandiver
f5ce8b21d0 UPGRADING: Note when upgrade-postgresql should be run w/r/t volumes. 2023-02-27 12:04:55 -05:00
Alex Vandiver
8823d783a4 upgrade-postgresql: Swap order of cleanup steps in trap.
We need to remove the container before removing the volume, otherwise
the cleanup will fail because the volume is in use.
2023-02-21 10:17:36 -08:00
Alex Vandiver
accea238ba upgrade-postgresql: Check the version of docker-compose first.
We use `docker-compose up --wait` which was introduced in
docker-compose version 2.1.1; check the version first.
2023-02-21 10:17:36 -08:00
Alex Vandiver
ba2ae48cc1 Update to Zulip Server 6.1. 6.1-0 2023-01-23 13:26:41 -05:00
i-ky
e28311fab2 Fix broken link 2022-12-20 17:58:59 -08:00
maltokyo
0f0488a9d8 Update to Zulip Server 6.0. 6.0-0 2022-12-07 11:21:44 -05:00
Alex Vandiver
53de96eca2 UPGRADING: Document managed-volume and PostgreSQL upgrades.
This returns the manual steps for upgrading PostgreSQL which were
removed in cd348fb093, and documents the steps required to move a
docker-compose deploy to using Docker-managed volumes.
2022-12-07 00:41:31 -05:00
Alex Vandiver
86f0556240 UPGRADING: Re-level and reword headings. 2022-12-07 00:41:31 -05:00
Alex Vandiver
e065ed603c UPGRADING: Re-wrap. 2022-12-07 00:41:31 -05:00
Alex Vandiver
bb9ff6734e UPGRADING: Split out command to run into a code block. 2022-12-07 00:41:31 -05:00
Alex Vandiver
07518e4cca UPGRADING: Refer to PostgreSQL consistently. 2022-12-07 00:41:31 -05:00
Alex Vandiver
d17d4d8be0 UPGRADING: Indent and set langauges on code blocks. 2022-12-07 00:41:31 -05:00
Alex Vandiver
16ed3459ff UPGRADING: Split out of README.md. 2022-12-07 00:41:31 -05:00
Alex Vandiver
3ec2386919 README.md: Run prettier. 2022-12-07 00:41:31 -05:00
Matt Keller
e894ab95c8 postgresql: Update the default PostgreSQL version to 14. 2022-11-28 23:17:53 -05:00
Alex Vandiver
cd348fb093 postgresql: Add a script to upgrade PostgreSQL data.
This scripts the steps given in the upgrade documentation, altered for
supporting Docker managed volumes.
2022-11-28 23:17:05 -05:00
Adarsh PK
74aea021ce docker-compose: Switch to docker managed volumes.
Docker-managed volumes[^1] are more cross-platform compatible than
hard-coded paths, and will work even if the Docker user cannot write
to the arbitrary path of `/opt/docker/zulip` on the Docker host.

[^1]: https://docs.docker.com/storage/volumes/

Co-authored-by: Alex Vandiver <alexmv@zulip.com>
2022-11-28 21:27:00 -05:00
AUX
24678b6e5b Use ISO 8601 date format for backup filenames
With previous `%D` format preventable errors like

```
tar (child): /data/backups/backup-09/05/22-03-22-03.tar.gz: Cannot open: No such file or directory
```

will occur. Let's use a more sane[^1] date format where possible.

The -I flag to date(1) was added in roughly 1999[^2] and is portable across
GNU coreutils and BusyBox. Piping to tr(1) to remove colons in filenames
is largely a Windows-compatibility concern, as Win32 does not allow for
that character in filenames[^3], and it's possible that the backups target
directory could be a volume mount to a Windows host (for example on
Docker Desktop For Windows).

[^1]: https://xkcd.com/1179/
[^2]: https://unix.stackexchange.com/a/164834
[^3]: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions

Co-Authored-By: Josh Klar <josh@zulip.com>
2022-11-28 15:09:15 -05:00
AUX
33edaf380b Consolidate backup timestamp expressions 2022-11-28 15:09:15 -05:00
Lorenzo Milesi
576a71e1b8 docker-compose: Default all services to restart unless-stopped.
`restart:` was previously inconsistently provided to service definitions
(only memcached and rabbitmq) and at that, the restart policy was
`always`. `always` can lead to surprising behavior where restarts of the
docker daemon will resurrect explicitly-stopped containers, whereas
`unless-stopped` will leave explicitly-stopped containers stopped.

Set all services in the docker-compose file to `restart:
unless-stopped`.

Further reading: https://linuxhandbook.com/docker-restart-policy/
2022-11-22 17:13:17 -08:00
Alex Vandiver
65f33b502f helm: Regenerate with helm-docs. 2022-11-16 15:14:55 -05:00
Alex Vandiver
6d3b6fb64a Update Helm chart to 0.4.0 with Zulip Server 5.7. 2022-11-16 10:52:32 -05:00
Alex Vandiver
22f90023e9 Update versions for Zulip Server 5.7. 5.7-0 2022-11-16 10:52:06 -05:00
Matt Keller
6fe46d19e1 Add a section on updating postgresql to 14.
Tweaked and confirmed version of the galexrt section below it.
2022-11-04 11:19:16 -07:00
Anders Kaseorg
b1661d1a49 Update versions for Zulip Server 5.6.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
5.6-0
2022-08-24 16:40:10 -07:00
Anders Kaseorg
6b1464b62f Update versions for Zulip Server 5.5.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
5.5-0
2022-07-21 18:13:41 -07:00
Alex Vandiver
d2cd253b38 Update versions for Zulip Server 5.4. 5.4-0 2022-07-11 23:57:59 -07:00
Alex Vandiver
4bdfa82456 Update versions for Zulip Server 5.3. 5.3-0 2022-06-21 14:15:49 -07:00
Alex Vandiver
ba94d52905 k8s: Run prettier over CHANGELOG.md. 2022-06-21 13:36:54 -07:00
Kevin Köllmann
b824d13093 Fix missing BACKUP_FILE variable missing in basename command 2022-06-02 12:23:02 -07:00
Kevin Köllmann
454193ced5 Fix usage of date command 2022-06-02 12:23:02 -07:00
Kevin Köllmann
be5ee98004 Fix path to entrypoint script in mail command 2022-06-02 12:23:02 -07:00