fixed minor bug in resourceForkDelete
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2022-10-05 21:36:06 +02:00
parent 6d0bd5906a
commit 6d5439a00a
3 changed files with 43 additions and 2 deletions

View File

@ -71,3 +71,27 @@ resource "gitea_git_hook" "org_repo_pre_receive" {
repo = gitea_repository.org_repo.name
content = file("${path.module}/pre-receive.sh")
}
resource "gitea_org" "org1" {
name = "org1"
}
resource "gitea_org" "org2" {
name = "org2"
}
resource "gitea_repository" "repo1_in_org1" {
username = gitea_org.org1.name
name = "repo1-in-org1"
}
resource "gitea_fork" "user_fork_of_repo1_in_org1" {
owner = gitea_org.org1.name
repo = gitea_repository.repo1_in_org1.name
}
resource "gitea_fork" "org2_fork_of_repo1_in_org1" {
owner = gitea_org.org1.name
repo = gitea_repository.repo1_in_org1.name
organization = gitea_org.org2.name
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
gitea = {
source = "terraform.local/lerentis/gitea"
version = "0.8.0"
version = "0.9.0"
}
}
}