mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-12-04 21:08:11 +00:00
minor cosmetic changes and prepare next release
This commit is contained in:
parent
0f441b26d1
commit
3f67ba1895
7 changed files with 21 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
|
|||
|
||||
GOFMT ?= gofmt -s
|
||||
|
||||
VERSION = 0.7.4
|
||||
VERSION = 0.8.0
|
||||
|
||||
test: fmt-check
|
||||
go test -i $(TEST) || exit 1
|
||||
|
|
|
@ -17,7 +17,7 @@ terraform {
|
|||
required_providers {
|
||||
gitea = {
|
||||
source = "Lerentis/gitea"
|
||||
version = "0.7.4"
|
||||
version = "0.8.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ terraform {
|
|||
required_providers {
|
||||
gitea = {
|
||||
source = "Lerentis/gitea"
|
||||
version = "0.7.4"
|
||||
version = "0.8.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ terraform {
|
|||
required_providers {
|
||||
gitea = {
|
||||
source = "terraform.local/lerentis/gitea"
|
||||
version = "0.7.4"
|
||||
version = "0.8.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ terraform {
|
|||
required_providers {
|
||||
gitea = {
|
||||
source = "Lerentis/gitea"
|
||||
version = "0.7.4"
|
||||
version = "0.8.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
15
examples/resources/gitea_git_hook/resource.tf
Normal file
15
examples/resources/gitea_git_hook/resource.tf
Normal file
|
@ -0,0 +1,15 @@
|
|||
resource "gitea_org" "test_org" {
|
||||
name = "test-org"
|
||||
}
|
||||
|
||||
resource "gitea_repository" "org_repo" {
|
||||
username = gitea_org.test_org.name
|
||||
name = "org-test-repo"
|
||||
}
|
||||
|
||||
resource "gitea_git_hook" "org_repo_post-receive" {
|
||||
name = "post-receive"
|
||||
user = gitea_org.test_org.name
|
||||
repo = gitea_repository.org_repo.name
|
||||
content = file("${path.module}/post-receive.sh")
|
||||
}
|
|
@ -6,7 +6,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: gitea/gitea:1.16.8
|
||||
image: gitea/gitea:1.17.1
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
|
Loading…
Reference in a new issue