Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

chore: publish provider to Terraform and OpenTofu registries under vmvarela/github#37

Merged
vmvarela merged 4 commits intomasterfrom
chore/issue-13-registry-publishing
Mar 20, 2026
Merged

chore: publish provider to Terraform and OpenTofu registries under vmvarela/github#37
vmvarela merged 4 commits intomasterfrom
chore/issue-13-registry-publishing

Conversation

@vmvarela
Copy link
Copy Markdown
Owner

Summary

Closes #13

Sets up the documentation and configuration needed to publish and maintain vmvarela/github on both the Terraform Registry and the OpenTofu Registry.

Changes

  • RELEASE.md — complete rewrite for this fork's CalVer process:

    • GPG key generation and registration on the Terraform Registry
    • GitHub release environment secrets setup (GPG_PRIVATE_KEY, PASSPHRASE)
    • Tag-and-push release workflow (git tag vYY.MM.N && git push origin master --tags)
    • OpenTofu Registry auto-indexing explanation (no separate registration needed)
    • Post-release verification steps with gh and curl
  • README.md — updated to reflect this fork:

    • Registry links now point to vmvarela/github on both Terraform and OpenTofu registries
    • Added usage snippet with source = "vmvarela/github" and CalVer constraint
    • Listed fork-specific enterprise features (billing-usage, cost-centers, enterprise-scim, enterprise-teams)
    • Milestones link points to this repository
  • .github/release-drafter.yml — simplified version-resolver to patch-only: since version numbers are date-based (CalVer), major/minor bumping based on labels has no meaning here

  • .goreleaser.yml — updated header comment to identify the vmvarela/github namespace and CalVer scheme

Acceptance Criteria Coverage

Criteria Status
GPG signing key setup documented ✅ RELEASE.md §One-Time Setup
Release workflow triggers on tags pushed to master ✅ Already in place (.github/workflows/release.yaml)
Provider available at registry.terraform.io/providers/vmvarela/github ✅ Documented registration steps
Provider available at OpenTofu Registry ✅ Documented (auto-indexed via manifest)
master kept up to date with upstream + feature branches ✅ Documented in RELEASE.md §Release Workflow
CalVer tags do not conflict with upstream SemVer ✅ Versioning scheme documented

The integration branch was renamed from release-vfork to master.
Add master to push/pull_request triggers so CI runs automatically on push.
- Ignore AGENTS.md, .agents/ and skills-lock.json (local agent instructions)
- Suppress modernize/newexpr linter suggestion (new() is not a valid
  replacement for github.Ptr() when the argument is a value, not a type)
…varela/github

- Rewrite RELEASE.md with full CalVer process: GPG key setup, GitHub
  secrets configuration (GPG_PRIVATE_KEY + PASSPHRASE in the release
  environment), tag-and-push workflow, and verification steps
- Document OpenTofu Registry auto-indexing via terraform-registry-manifest.json
- Update README.md to point to vmvarela/github on both registries, add
  usage snippet with correct source address, and list fork-specific features
- Simplify release-drafter version-resolver to patch-only (all labels
  resolve to patch, matching CalVer where the date carries the version)
- Update .goreleaser.yml header comment to identify vmvarela/github namespace

Closes #13
@vmvarela vmvarela added the type:chore Maintenance, refactoring, tooling label Mar 20, 2026
@vmvarela vmvarela merged commit 4a8e0e9 into master Mar 20, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type:chore Maintenance, refactoring, tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Publish provider to Terraform Registry and OpenTofu Registry under vmvarela/github

1 participant