From 92448d53e308c12ef3037f9fc32af1ae5c16e2f0 Mon Sep 17 00:00:00 2001 From: Facundo Tuesca Date: Mon, 14 Sep 2026 13:10:33 +0200 Subject: [PATCH 1/2] Update deprecated ubuntu image Signed-off-by: Facundo Tuesca --- dropkit/api.py | 2 +- dropkit/config.py | 2 +- tests/e2e/test_lifecycle.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dropkit/api.py b/dropkit/api.py index 47e09b3..dbcbe32 100644 --- a/dropkit/api.py +++ b/dropkit/api.py @@ -329,7 +329,7 @@ def create_droplet( name: Droplet name region: Region slug (e.g., 'nyc3') size: Size slug (e.g., 's-2vcpu-4gb') - image: Image slug (e.g., 'ubuntu-25-10-x64') + image: Image slug (e.g., 'ubuntu-26-04-x64') user_data: Cloud-init user data tags: List of tags to apply ssh_keys: List of SSH key IDs for root access (optional) diff --git a/dropkit/config.py b/dropkit/config.py index a9857c8..e002375 100644 --- a/dropkit/config.py +++ b/dropkit/config.py @@ -12,7 +12,7 @@ # Default slugs for droplet creation DEFAULT_REGION = "nyc3" DEFAULT_SIZE = "s-2vcpu-4gb" -DEFAULT_IMAGE = "ubuntu-25-10-x64" +DEFAULT_IMAGE = "ubuntu-26-04-x64" class DigitalOceanConfig(BaseModel): diff --git a/tests/e2e/test_lifecycle.sh b/tests/e2e/test_lifecycle.sh index de1ed9a..e2358c2 100755 --- a/tests/e2e/test_lifecycle.sh +++ b/tests/e2e/test_lifecycle.sh @@ -12,7 +12,7 @@ # DROPLET_NAME — Name for the test droplet (default: e2e-) # DROPLET_REGION — Region slug (default: random from nyc3, sfo3, lon1) # DROPLET_SIZE — Size slug (default: random from s-1vcpu-1gb, s-2vcpu-4gb) -# DROPLET_IMAGE — Image slug (default: random from ubuntu-24-04-x64, ubuntu-25-04-x64, ubuntu-25-10-x64) +# DROPLET_IMAGE — Image slug (default: random from ubuntu-24-04-x64, ubuntu-26-04-x64) # E2E_SSH_TIMEOUT — SSH connect timeout in seconds (default: 10) set -euo pipefail @@ -30,7 +30,7 @@ SSH_OPTS="-o StrictHostKeyChecking=accept-new -o ConnectTimeout=${SSH_TIMEOUT} - # Randomized defaults — avoid hidden dependencies on specific slugs _REGIONS=(nyc3 sfo3 lon1) _SIZES=(s-1vcpu-1gb s-2vcpu-4gb) -_IMAGES=(ubuntu-24-04-x64 ubuntu-25-04-x64 ubuntu-25-10-x64) +_IMAGES=(ubuntu-24-04-x64 ubuntu-26-04-x64) _pick() { local -n arr=$1 From a8207aa51273262784a32791a3cbb68e2d3a3639 Mon Sep 17 00:00:00 2001 From: Facundo Tuesca Date: Mon, 14 Sep 2026 13:10:57 +0200 Subject: [PATCH 2/2] Fix README wording Signed-off-by: Facundo Tuesca --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68b7c68..8b4b2dc 100644 --- a/README.md +++ b/README.md @@ -239,8 +239,9 @@ prek run --stage manual # Run via prek ``` Requires a valid dropkit config (`~/.config/dropkit/config.yaml`) with a -DigitalOcean API token. The test uses hardcoded defaults (nyc3, s-1vcpu-1gb, -ubuntu-24-04-x64) so user config defaults don't affect test behavior. +DigitalOcean API token. The test randomly selects hardcoded defaults for its +region, size, and image (currently Ubuntu 24.04 or 26.04 LTS), so user config +defaults don't affect test behavior. Optional environment variable overrides: `DROPLET_NAME`, `DROPLET_REGION`, `DROPLET_SIZE`, `DROPLET_IMAGE`, `E2E_SSH_TIMEOUT`.