2022-06-04 15:17:08 +00:00
|
|
|
resource "gitea_repository" "test" {
|
|
|
|
username = "lerentis"
|
|
|
|
name = "test"
|
|
|
|
private = true
|
|
|
|
issue_labels = "Default"
|
|
|
|
license = "MIT"
|
|
|
|
gitignores = "Go"
|
|
|
|
}
|
2022-06-04 20:43:23 +00:00
|
|
|
|
|
|
|
resource "gitea_repository" "mirror" {
|
|
|
|
username = "lerentis"
|
|
|
|
name = "terraform-provider-gitea-mirror"
|
|
|
|
description = "Mirror of Terraform Provider"
|
|
|
|
mirror = true
|
|
|
|
migration_clone_addresse = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git"
|
|
|
|
migration_service = "gitea"
|
|
|
|
migration_service_auth_token = var.gitea_mirror_token
|
|
|
|
}
|
2022-06-12 13:34:17 +00:00
|
|
|
|
|
|
|
resource "gitea_org" "test_org" {
|
|
|
|
name = "test-org"
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "gitea_repository" "org_repo" {
|
|
|
|
username = gitea_org.test_org.name
|
|
|
|
name = "org-test-repo"
|
|
|
|
}
|