mirror of
https://github.com/System-End/dns.git
synced 2026-04-19 16:28:20 +00:00
- 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
26 lines
614 B
YAML
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
|