Anders Kaseorg
e08a24e47f
ruff: Fix UP006 Use `list` instead of `List` for type annotation.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-07-13 22:28:22 -07:00
Anders Kaseorg
9080d583df
oneclickapps: Upgrade DigitalOcean 1-Click App to Ubuntu 22.04.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-03-25 13:19:09 -07:00
Anders Kaseorg
a13e42f18a
docs: Add missing spaces around code spans.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-14 00:05:44 -08:00
Anders Kaseorg
041dcdfbad
tools: Use subprocess.check_call where appropriate.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-17 17:05:34 -07:00
Mateusz Mandera
51ed2442fa
oneclick: Wait in a loop until the image build droplet gets an IP.
...
The script will fail if we process with a droplet object with no
.ip_address, which can sometimes happen if we just droplet.load().
Sometimes that gives droplet.ip_address set to None. If we wait in a
loop, we eventuall get the .ip_address set.
2022-11-18 12:45:08 -08:00
Alex Vandiver
c93024cd5b
oneclick: Fail if the fab command fails.
2022-05-17 13:41:12 -07:00
Alex Vandiver
ff647dff03
oneclick: Do not use a stale Zulip client.
...
Initializing the Zulip client opens a long-lived TCP connection due to
connection pooling in urllib3. In Github Actions, the network kills
such requests after ~270s, making the later `send_message` call fail.
Use a singular call to `zulip.Client()` early on to verify the
credentials, and do not cache the resulting client object. Instead,
re-create it during the final step when it is needed, so we do not run
afoul of bad TCP connection state.
This would ideally be fixed via connection keepalive or retry at the
level of the Zulip module.
2022-05-17 13:41:12 -07:00
Anders Kaseorg
ee71650908
python: Replace requests.packages.urllib3 alias with urllib3.
...
requests stopped vendoring urllib3 in 2.16.0 (2017-05-26).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-01-23 22:14:17 -08:00
Anders Kaseorg
a4dbc1edd4
docs: Format Markdown with Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Anders Kaseorg
915884bff7
docs: Apply bullet style changes from Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Alex Vandiver
7d7d727865
tools: Switch to download.zulip.com from www.zulip.org.
2021-08-26 17:21:31 -07:00
Vishnu KS
5c8d1b7ca3
oneclick: Upgrade the base image to ubuntu-20-04-x64.
2021-08-20 22:53:39 -07:00
Vishnu KS
bf1f7e4571
oneclick: Create subdomain on oneclick.zulip.dev for test droplets.
2021-08-20 22:53:39 -07:00
Mateusz Mandera
01818c1825
docs: Add additional missing detail to the oneclick app release doc.
2021-06-03 09:35:34 -07:00
Mateusz Mandera
1fdf09cfac
docs: Update link to image check script in digitalocean tools repo.
...
The old link doesn't work, the script was moved to
https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/99-img-check.sh
2021-06-03 09:35:34 -07:00
Anders Kaseorg
6060d0d364
docs: Add missing space to compound verbs “log in”, “set up”, etc.
...
Noun: backup, checkout, cleanup, login, logout, setup, shutdown, signup,
timeout.
Verb: back up, check out, clean up, log in, log out, set up, shut
down, sign up, time out.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-26 09:31:08 -07:00
Vishnu KS
f00c13d303
actions: Improve the secrets of one click release action.
2021-04-05 14:40:45 -07:00
Vishnu KS
79586cc466
github: Create action for generating DigitalOcean one click app image.
2021-03-26 16:01:18 -07:00