12 Commits

Author SHA1 Message Date
techknowlogick
cc8760c9fd lerentis's changes (#12)
Changes from lerentis's fork.

Co-authored-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/12
v0.2.0
2023-09-06 01:44:01 +00:00
techknowlogick
107e741625 github action to publish binaries to release (#10)
when tags are synch'd to github, this'll run and build the binaries and attach them to the release for use by terraform registry

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/10
Co-authored-by: techknowlogick <hello@techknowlogick.com>
Co-committed-by: techknowlogick <hello@techknowlogick.com>
2023-09-05 19:52:14 +00:00
petar.nikolovski
acf6b121c9 Fetch correct value for name variable in gitea_repo data source (#9)
Hi all,

I've noticed that data source for `gitea_repo` is not working. Instead of trying to fetch data from `/api/v1/repos/<username>/<name>` it sends a reques as `/api/v1/repos/<username>/<username>`. I've updated the code to fix this.

Signed-off-by: petar.nikolovski <petar.nikolovski@united.cloud>

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/9
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: petar.nikolovski <petar.nikolovski@noreply.gitea.com>
Co-committed-by: petar.nikolovski <petar.nikolovski@noreply.gitea.com>
2023-09-05 14:31:48 +00:00
Lunny Xiao
019f8a6446 Add ci (#8)
Fix #1

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/8
2023-04-19 14:35:42 +08:00
Pim Kunis
91172351d7 update provider example (#5)
Needed to change this to make the provider work

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/5
Co-authored-by: Pim Kunis <pim@kunis.nl>
Co-committed-by: Pim Kunis <pim@kunis.nl>
2023-04-19 00:15:45 +08:00
techknowlogick
d71bce3232 add goreleaser 2023-03-31 14:09:43 -04:00
techknowlogick
d799926c60 Add 'terraform-registry-manifest.json'
Signed-off-by: techknowlogick <techknowlogick@noreply.gitea.io>
v0.1.0
2023-03-31 03:57:18 +08:00
lerentis
7ba385d44a propose features upstream (#2)
Hi @techknowlogick 👋

as discussed on twitter the changes i made on my fork 😃

not sure if you are aware of this but currently hashicorp only allows publishing via github, so if you want to publish this provider to the terraform registry as well, feel free to also take a look at my goreleaser config and drone/github actions usage her: https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea

Co-authored-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/2
Co-authored-by: lerentis <lerentis@noreply.gitea.io>
Co-committed-by: lerentis <lerentis@noreply.gitea.io>
2022-08-22 23:54:13 +08:00
techknowlogick
6879c07e9f get repo as datasource 2022-04-01 00:23:50 -04:00
techknowlogick
35c4b897fb correct typo 2022-03-31 20:15:25 -04:00
techknowlogick
75efa3bc7c update to latest sdk 2022-03-31 19:19:14 -04:00
techknowlogick
4fbedb01b5 Initial commit 2022-03-31 17:24:00 -04:00