Add artifactapi_remote_github_deb resource #15

Merged
benvin merged 1 commits from benvin/deb-github-metadataonly into main 2026-08-11 23:52:46 +10:00
Member

Adds the metadata-only Debian/apt analog of artifactapi_remote_github_rpm so a GitHub repo's release .deb assets can be consumed as an apt repository (index synthesized from release metadata, package bytes 302-redirected to a backing releases_remote). This stacks on the deb local+remote work (#14).

  • Registers newRemoteResource("github_deb") in the provider and adds a NewRemoteGitHubDeb convenience constructor mirroring github_rpm
  • Bumps the hard-coded provider resource count 19 -> 20 and adds artifactapi_remote_github_deb to the expected type-name list
  • Adds modelToAPI, metadata, and constructor test coverage for github_deb
  • Documents github_deb in the README (types list, releases_remote note, dedicated notes section)
  • Adds examples/resources/artifactapi_remote_github_deb/main.tf (a backing artifactapi_remote_generic github.com remote + a github_deb remote for goodtune/ghp)
Adds the metadata-only Debian/apt analog of `artifactapi_remote_github_rpm` so a GitHub repo's release `.deb` assets can be consumed as an apt repository (index synthesized from release metadata, package bytes 302-redirected to a backing `releases_remote`). This stacks on the deb local+remote work (#14). - Registers `newRemoteResource("github_deb")` in the provider and adds a `NewRemoteGitHubDeb` convenience constructor mirroring `github_rpm` - Bumps the hard-coded provider resource count 19 -> 20 and adds `artifactapi_remote_github_deb` to the expected type-name list - Adds `modelToAPI`, metadata, and constructor test coverage for `github_deb` - Documents `github_deb` in the README (types list, releases_remote note, dedicated notes section) - Adds `examples/resources/artifactapi_remote_github_deb/main.tf` (a backing `artifactapi_remote_generic` github.com remote + a `github_deb` remote for `goodtune/ghp`)
benvin changed target branch from benvin/deb-local-remote to main 2026-08-11 23:41:34 +10:00
unkin-agent added 1 commit 2026-08-11 23:43:34 +10:00
Add artifactapi_remote_github_deb resource
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
25b72fd1ac
Add the metadata-only Debian/apt analog of artifactapi_remote_github_rpm,
exposing a GitHub repo's release .deb assets as a synthesized apt repository
with downloads redirected to a backing releases_remote.

- Register newRemoteResource("github_deb") and add NewRemoteGitHubDeb ctor
- Bump provider resource count 19 -> 20 and add the type name to test lists
- Add modelToAPI/metadata/constructor test coverage for github_deb
- Document github_deb in README and add an examples/ main.tf (goodtune/ghp)
unkin-agent force-pushed benvin/deb-github-metadataonly from 45f133f76e to 25b72fd1ac 2026-08-11 23:43:34 +10:00 Compare
benvin merged commit b8c18690ef into main 2026-08-11 23:52:46 +10:00
benvin deleted branch benvin/deb-github-metadataonly 2026-08-11 23:52:46 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-provider-artifactapi#15