unkinben
3d776f9e0f
feat: add pre-commit to build jobs
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ensure pre-commit is run by woodpecker in ci
2026-06-21 22:31:28 +10:00
unkinben
d2da94cb52
fix: pul_request tests only
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
- update tests to run on pull request only
2026-06-21 22:16:59 +10:00
unkinben
6446997a12
fix: strip v prefix from version in make install path
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Terraform plugin directory expects bare version numbers (e.g. 0.0.2)
but git tags use v-prefixed versions (e.g. v0.0.2).
2026-06-21 22:07:47 +10:00
benvin
0ec5b80682
Merge pull request 'feat: add tag bumping features' ( #2 ) from benvin/tag_bumping into main
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #2
v0.0.2
2026-06-21 18:58:12 +10:00
unkinben
40aa86bc68
feat: add tag bumping features
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
enable the use of make minor, major and patch to automatically bump
tagged releases
2026-06-21 18:55:30 +10:00
benvin
a626d29aff
Merge pull request 'fix: preserve empty list vs null for optional list attributes' ( #1 ) from benvin/fix-empty-list-null-inconsistency into main
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #1
2026-06-21 18:51:31 +10:00
unkinben
d9d8cc7b6d
fix: preserve empty list vs null distinction for optional list attributes
...
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
The API returns null for empty arrays, but OpenTofu requires that the
state match the plan exactly — an empty list [] in the plan must remain
[] in the state, not become null. This caused "inconsistent result after
apply" errors on every resource with empty optional list fields like
mutable_patterns and ban_tags.
2026-06-21 18:42:14 +10:00
unkinben
7c94f06be6
docs: add README, per-resource examples, unit tests, CI, and pre-commit
...
- Add README.md with provider docs, resource/data-source reference, and
development instructions
- Reorganize examples into per-resource-type subdirectories following
Terraform provider conventions, add missing pypi/npm/puppet examples
- Add unit tests for helpers, HTTP client, model conversions, and
provider registration
- Add Woodpecker CI pipelines for lint, test, and build
- Add pre-commit config with standard and Go-specific hooks
2026-06-07 18:55:48 +10:00
unkinben
31057182aa
fix: include all optional fields in schema for all resource types
2026-06-07 16:47:03 +10:00
unkinben
1405675e8f
docs: update example to use per-type resources
2026-06-07 16:42:31 +10:00
unkinben
e1336c0c87
refactor: per-type resources + simplified classification model
...
Resources renamed from artifactapi_remote to per-type:
- artifactapi_remote_generic
- artifactapi_remote_docker (with ban_tags)
- artifactapi_remote_helm
- artifactapi_remote_pypi
- artifactapi_remote_npm
- artifactapi_remote_rpm
- artifactapi_remote_alpine
- artifactapi_remote_puppet
- artifactapi_remote_terraform (with releases_remote)
- artifactapi_remote_goproxy
Classification simplified:
- patterns: paths to proxy (empty = all, acts as allowlist)
- blocklist: paths to deny (checked first)
- mutable_patterns: override provider auto-classification
- immutable_patterns: override provider auto-classification
- Provider handles mutability automatically per package type
2026-06-07 16:12:11 +10:00
unkinben
ad50a06b33
feat: initial terraform provider for artifactapi v0.0.1
...
Resources:
- artifactapi_remote: CRUD for remote proxy repositories
- artifactapi_virtual: CRUD for virtual (merged) repositories
Data sources:
- data.artifactapi_remote: read remote config
- data.artifactapi_virtual: read virtual config
Supports all 10 package types (generic, docker, helm, pypi, npm,
rpm, alpine, puppet, terraform, goproxy), allowlist/blocklist,
tag banning, quarantine, and terraform import.
2026-06-07 14:30:20 +10:00