Commit graph

28 commits

Author SHA1 Message Date
Alex Park
e57c6d4a7f
Update PR template (#2251)
* Update PR template

Updated the pull request template to improve clarity and structure.

* Revise website content section in PR template

Updated the pull request template to clarify website content description.
2025-11-29 14:18:08 -05:00
Zach Latta
e5b57cf0d8 Try getting our test GitHub Action running on PRs 2025-09-07 13:12:07 -04:00
Zach Latta
d88219cb39 Add DNSimple provider and API key to test workflow
- Added octodns-dnsimple to pip install
- Added DNSIMPLE_API_KEY environment variable
- Now supports both Cloudflare and DNSimple for full testing
2025-09-06 18:25:27 -04:00
Zach Latta
621689c37f Add Cloudflare token to test workflow environment
Now includes both DNS provider tokens:
- DNSIMPLE_ACCOUNT_NUMBER for DNSimple zones
- CLOUDFLARE_TOKEN for Cloudflare zones (hackclub.com)
2025-09-06 18:25:27 -04:00
Zach Latta
83fc2625bb Update OctoDNS to modern version while keeping original workflow
- Updated pip install to 'octodns>=1.5.0' octodns-cloudflare
- Kept original dry-run command and DNSimple env vars
2025-09-06 18:25:27 -04:00
Zach Latta
42d1fe7697 Revert test workflow to original DNSimple configuration
Reverts GitHub Actions test workflow back to:
- octodns==0.9.10 (from >=1.5.0 + octodns-cloudflare)
- ./bin/dry-run (from ./bin/test-dry-run)
- DNSIMPLE_ACCOUNT_NUMBER env var (from CLOUDFLARE_TOKEN)

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-7261c51a-91c4-4ae5-a25b-3cc95a85e6ee
2025-09-06 18:25:27 -04:00
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
Zach Latta
fb6666c509 fix: update GitHub Actions workflows for Cloudflare migration
- Update test.yml to use octodns>=1.5.0 with octodns-dnsimple and octodns-cloudflare packages
- Add CLOUDFLARE_TOKEN environment variable to test workflow
- Remove migration comment from production config
- Enable Cloudflare proxy for highway.hackclub.com and shipwrecked.hackclub.com

This fixes the 'ModuleNotFoundError: No module named octodns_dnsimple' error

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
Zach Latta
865aba0cff feat: migrate DNS from DNSimple to Cloudflare
- Migrate 1,154 DNS records to Cloudflare Pro
- Update OctoDNS 0.9.10 → 1.13.0
- Optimize SPF record: 13→7 lookups (fix Cloudflare warning)
- Convert 14 ALIAS records to CNAME for compatibility
- Fix 18 CNAME conflicts
- Lower TTLs to 300s for faster propagation
- Enable Cloudflare proxy for ai.hackclub.com
- Update GitHub Actions for new providers

 Zero downtime migration completed successfully
 All services verified working
 Nameservers switched to Cloudflare

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-ebb62134-a378-4e66-a6df-47ad37058ec1
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
Max Wofford
339cbf8211
Update deps for deploy action (#1153) 2024-04-29 22:17:29 -04:00
Max Wofford
997d2ad6f5
Update deps for CI test (#1152) 2024-04-30 02:14:26 +00:00
Max Wofford
8d6c885fdc
Update deps for validation GH action (#1151) 2024-04-29 22:11:39 -04:00
Reese Armstrong
fa1bcebc49
Adding pull request template (#1107) 2024-03-18 09:00:33 -05:00
graham
d38f7578cc
Update CODEOWNERS (#1044)
Add dns-friends as a codeowner of whole repo
2024-01-11 10:18:12 -05:00
Alex
49f5a514bb
Create CODEOWNERS (#1027)
* Create CODEOWNERS

* Update CODEOWNERS

---------

Co-authored-by: graham <graham@hackclub.com>
2023-12-20 14:58:06 -05:00
Max Wofford
04848c1c10
Make deploy CI triggerable (#1005) 2023-11-13 11:11:56 -05:00
Gaurav Pandey
2cb3900b97
added github action to validate yaml files (#1000)
Co-authored-by: graham <graham@hackclub.com>
2023-11-08 12:34:43 -05:00
Caleb Denio
bba65f8e49
Revert back to old octoDNS version 2023-05-18 11:44:00 -04:00
Caleb Denio
fe9733935a
Upgrade octoDNS 2023-05-18 11:04:00 -04:00
Caleb Denio
c181e1055d
Add hcb.gg 2023-05-18 11:00:57 -04:00
Zach Latta
eb360f62ce Attempt to use Python 3 2021-02-15 18:07:45 -05:00
Matthew Stanciu
afc92f028d
version lock octodns (#411) 2020-11-06 13:28:25 -05:00
Lachlan Campbell
5b5694bc3e
Switch to main branch, closes #430 2020-10-15 09:51:09 -04:00
Matthew Gleich
0fa045a71c
🚑 Fix secrets
Signed-off-by: Matthew Gleich <matthewgleich@gmail.com>
2020-07-08 13:33:02 -04:00
Matthew Gleich
5adc5fdd9f Add secrets to env
Signed-off-by: Matthew Gleich <matthewgleich@gmail.com>
2020-07-08 12:56:33 -04:00
Matthew Gleich
b5e269d87a 🐛 Fix deploy.yml
Signed-off-by: Matthew Gleich <matthewgleich@gmail.com>
2020-07-08 12:56:33 -04:00
Matthew Gleich
e463b90647 👷 Add test job
Signed-off-by: Matthew Gleich <matthewgleich@gmail.com>
2020-07-08 12:56:33 -04:00
Matthew Gleich
5a35bab00f 👷 Add deploy action
Signed-off-by: Matthew Gleich <matthewgleich@gmail.com>
2020-07-08 12:56:33 -04:00