17 Commits

Author SHA1 Message Date
Renovate Bot
2c1b4fdc0d chore(deps): update actions/checkout action to v4 (#19)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v4`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400)

[Compare Source](https://github.com/actions/checkout/compare/v3...v4)

-   [Support fetching without the --progress option](https://github.com/actions/checkout/pull/1067)
-   [Update to node20](https://github.com/actions/checkout/pull/1436)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/19
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-07 21:50:19 +00:00
Tobias Trabelsi
9aabc45e0b readding install command (#14)
I see that you removed it explicitly in the PR, but i would kindly ask to get it back. helped me a lot with local testing

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/14
Co-authored-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
Co-committed-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
2023-09-07 21:47:00 +00:00
Renovate Bot
39b6dc1a2e fix(deps): update module code.gitea.io/sdk/gitea to v0.16.0 (#16)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| code.gitea.io/sdk/gitea | require | minor | `v0.15.1` -> `v0.16.0` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/16
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-07 21:44:43 +00:00
Renovate Bot
f947033ba4 Configure Renovate (#15)
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `.github/workflows/release.yml` (github-actions)
 * `go.mod` (gomod)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Enable Renovate Dependency Dashboard creation.
  - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use.
  - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.
  - Pin Docker digests.

🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the `renovate.json5` in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.

---

### What to Expect

With your current configuration, Renovate will create 3 Pull Requests:

<details>
<summary>fix(deps): update module code.gitea.io/sdk/gitea to v0.16.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/code.gitea.io-sdk-gitea-0.x`
  - Merge into: `main`
  - Upgrade code.gitea.io/sdk/gitea to `v0.16.0`

</details>

<details>
<summary>fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.29.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x`
  - Merge into: `main`
  - Upgrade [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) to `v2.29.0`

</details>

<details>
<summary>chore(deps): update actions/checkout action to v4</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-checkout-4.x`
  - Merge into: `main`
  - Upgrade [actions/checkout](https://github.com/actions/checkout) to `v4`

</details>

<br />

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details.

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

<!--renovate-config-hash:b0e8c3aba9246cf9ec209c46e593f123f2daeea739622a97656e285413290a78-->

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/15
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-07 21:40:26 +00:00
techknowlogick
c8ee538674 fix gh action v0.2.1 2023-09-05 21:54:45 -04:00
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