dns/config/test.yaml
Zach Latta 9df5972b91 fix: GitHub Actions test workflow for Cloudflare-only testing
- Create config/test.yaml for Cloudflare-only testing
- Add bin/test-dry-run script for test workflow
- Update test.yml to use Cloudflare-only config (no DNSimple credentials needed)
- Remove octodns-dnsimple from test dependencies since only testing hackclub.com

This fixes the GitHub Actions failure by testing only the migrated domain (hackclub.com)
rather than trying to test all domains which still require DNSimple credentials.

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-ebb62134-a378-4e66-a6df-47ad37058ec1
2025-09-06 18:25:27 -04:00

26 lines
614 B
YAML

---
# Test configuration - Cloudflare only
# Used by GitHub Actions test workflow to avoid DNSimple credential requirement
providers:
config:
class: octodns.provider.yaml.YamlProvider
directory: ./
enforce_order: False
cloudflare:
class: octodns_cloudflare.CloudflareProvider
token: env/CLOUDFLARE_TOKEN
plan_type: pro
pagerules: true
min_ttl: 120
retry_count: 5
retry_period: 600
zones_per_page: 50
records_per_page: 100
zones:
hackclub.com.:
sources:
- config
targets:
- cloudflare # Only test Cloudflare since that's what we migrated