minor cosmetic changes and prepare next release
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0f441b26d1
commit
3f67ba1895
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
|
|||||||
|
|
||||||
GOFMT ?= gofmt -s
|
GOFMT ?= gofmt -s
|
||||||
|
|
||||||
VERSION = 0.7.4
|
VERSION = 0.8.0
|
||||||
|
|
||||||
test: fmt-check
|
test: fmt-check
|
||||||
go test -i $(TEST) || exit 1
|
go test -i $(TEST) || exit 1
|
||||||
|
@ -17,7 +17,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
gitea = {
|
gitea = {
|
||||||
source = "Lerentis/gitea"
|
source = "Lerentis/gitea"
|
||||||
version = "0.7.4"
|
version = "0.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
gitea = {
|
gitea = {
|
||||||
source = "Lerentis/gitea"
|
source = "Lerentis/gitea"
|
||||||
version = "0.7.4"
|
version = "0.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
gitea = {
|
gitea = {
|
||||||
source = "terraform.local/lerentis/gitea"
|
source = "terraform.local/lerentis/gitea"
|
||||||
version = "0.7.4"
|
version = "0.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
gitea = {
|
gitea = {
|
||||||
source = "Lerentis/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:
|
services:
|
||||||
server:
|
server:
|
||||||
image: gitea/gitea:1.16.8
|
image: gitea/gitea:1.17.1
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
|
Loading…
Reference in New Issue
Block a user