diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e9fa351..b3f0b4e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -33,6 +33,7 @@ terraform-scripts/quarkus-eddi.tf @quarkiverse/qua terraform-scripts/quarkus-embedded-postgresql.tf @quarkiverse/quarkiverse-embedded-postgresql terraform-scripts/quarkus-file-vault.tf @quarkiverse/quarkiverse-file-vault terraform-scripts/quarkus-freemarker.tf @quarkiverse/quarkiverse-freemarker +terraform-scripts/quarkus-fury.tf @quarkiverse/quarkiverse-fury terraform-scripts/quarkus-fx.tf @quarkiverse/quarkiverse-fx terraform-scripts/quarkus-github-api.tf @quarkiverse/quarkiverse-github-api terraform-scripts/quarkus-github-action.tf @quarkiverse/quarkiverse-github-action diff --git a/terraform-scripts/quarkus-fury.tf b/terraform-scripts/quarkus-fury.tf new file mode 100644 index 0000000..9cb2437 --- /dev/null +++ b/terraform-scripts/quarkus-fury.tf @@ -0,0 +1,36 @@ +# Create repository +resource "github_repository" "quarkus_fury" { + name = "quarkus-fury" + description = "A blazingly fast multi-language serialization framework powered by JIT and zero-copy." + homepage_url = "https://docs.quarkiverse.io/quarkus-fury/dev" + allow_update_branch = true + archive_on_destroy = true + delete_branch_on_merge = true + has_issues = true + vulnerability_alerts = true + topics = ["quarkus-extension", "fury", "serialization"] +} + +# Create team +resource "github_team" "quarkus_fury" { + name = "quarkiverse-fury" + description = "fury team" + create_default_maintainer = false + privacy = "closed" + parent_team_id = data.github_team.quarkiverse_members.id +} + +# Add team to repository +resource "github_team_repository" "quarkus_fury" { + team_id = github_team.quarkus_fury.id + repository = github_repository.quarkus_fury.name + permission = "maintain" +} + +# Add users to the team +resource "github_team_membership" "quarkus_fury" { + for_each = { for tm in ["chaokunyang", "zhfeng"] : tm => tm } + team_id = github_team.quarkus_fury.id + username = each.value + role = "maintainer" +}