The Problem with CI Artifact Storage
Modern CI/CD pipelines (GitHub Actions, GitLab CI, CircleCI, Jenkins) frequently generate temporary artifacts during test runs: screenshot diffs from failed Playwright/Cypress runs, core dumps, bundle size analyzer reports, and diagnostic logs. Storing these artifacts in standard cloud storage or native CI artifact storage creates two major problems:
- Permanent Cost & Storage Quotas: Storage buckets accumulate thousands of gigabytes of old test runs that nobody will ever inspect again.
- Friction for Engineers: Downloading an artifact from GitHub Actions requires navigating through the GitHub web UI, authenticating, and downloading an entire multi-megabyte ZIP archive just to read a single error log.
Drop the artifact to tdrop with a 24-hour expiration. Print the direct link directly into the CI build log or post it as a pull request comment. The artifact auto-deletes when you're done debugging.
GitHub Actions Workflow Example
Here is a complete, production-ready GitHub Actions step to upload Playwright test failure videos and screenshots directly to tdrop:
name: End-to-End Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run Test Suite
run: npm test
# Drop failure artifacts only when tests fail
- name: Share Test Artifacts via tdrop
if: failure()
run: |
tar -czf failure-logs.tar.gz ./logs ./coverage
DROP_URL=$(npx tdrop failure-logs.tar.gz --ttl 24h --quiet)
echo "::error title=Debug Artifacts::Inspect failure logs at: $DROP_URL"
GitLab CI Pipeline Example
Use cURL inside lightweight Docker runners in GitLab CI:
test_suite:
stage: test
image: alpine:latest
script:
- ./run-tests.sh
after_script:
- apk add --no-cache curl tar
- tar -czf crash-dump.tar.gz ./crash.log
- DROP_RESPONSE=$(curl -sF "file=@crash-dump.tar.gz" -F "ttl=1h" https://tdrop.link/upload)
- echo "Ephemeral crash dump: $(echo $DROP_RESPONSE | grep -o 'https://tdrop.link/[^"]*')"
Slack / Discord Webhook Notifications
Combine tdrop with incoming webhooks to send instant download links directly to your engineering team's channel:
$ RES=$(npx tdrop release-preview.apk --ttl 24h --json)
$ URL=$(echo "$RES" | jq -r '.url')
$ curl -X POST -H 'Content-type: application/json' \
--data "{"text":"New preview build uploaded: $URL (expires in 24h)"}" \
$SLACK_WEBHOOK_URL