Commit Graph

3 Commits

Author SHA1 Message Date
e26c78e2c2 Switch release workflow and GoReleaser to Gitea-native
Some checks failed
Endpoint Sync Check / check-drift (push) Successful in 21s
CI / build (push) Successful in 34s
Release / release (push) Failing after 31s
- .goreleaser.yml: replace release.github with release.gitea, add
  gitea_urls pointing to git.ezscale.cloud
- release.yaml: use GITEA_TOKEN (via secrets.RELEASE_TOKEN) instead of
  GITHUB_TOKEN, remove manual curl-based Gitea release step (GoReleaser
  handles it natively now)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 02:26:13 -04:00
6b7430b67b Overhaul VirtFusion provider: 20 resources, 30 data sources, multipage pagination
Complete rewrite of the VirtFusion Terraform provider with full API coverage:

- 20 managed resources (server, build, SSH key, user, firewall, IP blocks, etc.)
- 30 data sources (hypervisors, packages, servers, IP blocks, self-service, etc.)
- New HTTP client with proper error handling, query parameter support, and
  automatic multipage pagination via GetAllPages (fetches all pages from
  Laravel-style paginated endpoints and merges into a single response)
- Fixed type mismatches against live API: ServerData.Suspended (int→bool),
  IPBlockData.Type (string→int), PackageData json tags (primaryStorage, etc.),
  ServerData nested CPU/Settings/Resources structure, HypervisorGroupResources
  array response
- Configurable results-per-page (default 300) on all list data sources
- Migrated CI from GitHub Actions to Gitea Actions
- Updated goreleaser config, go.mod dependencies, and examples

Verified against live VirtFusion instance at cp.vps.ezscale.tech:
all data sources return correct data with full pagination support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 02:01:16 -04:00
Prophet731
5d5621266f Initial commit 2023-08-19 20:55:01 -04:00