Remove TTL expiry verification from smoke test

Reaper runs on interval, so TTL expiry timing is non-deterministic.
Keep just the push/pull validation for now.

Signed-off-by: Marc Campbell <marc.e.campbell@gmail.com>
This commit is contained in:
Marc Campbell
2026-02-03 12:24:03 +00:00
parent d32aa3f76e
commit 9aae843dcb

View File

@@ -90,7 +90,7 @@ jobs:
playbooks/site.yml
smoke-test:
name: Smoke Test (Push/Pull/TTL)
name: Smoke Test
runs-on: ubuntu-latest
needs: deploy
steps:
@@ -113,24 +113,3 @@ jobs:
docker pull "$IMAGE"
echo "✅ Push/pull test passed!"
- name: Wait for TTL expiry
run: |
echo "⏳ Waiting 7 minutes for 5m TTL to expire..."
sleep 420
- name: Verify image expired
run: |
IMAGE="ttl.sh/smoke-${{ github.sha }}:5m"
echo "🔍 Verifying image has expired..."
# Remove local copy if cached
docker rmi "$IMAGE" 2>/dev/null || true
# Try to pull - should fail
if docker pull "$IMAGE" 2>&1; then
echo "❌ ERROR: Image still exists after TTL expiry!"
exit 1
else
echo "✅ Image correctly expired and unavailable!"
fi